A hobby project for interactive math and physics simulations, built with React, TypeScript, and PixiJS/Canvas. Just for fun.
The project is deployed to simulaatiot.pomeranssi.fi.
- Langton's Ant — A cellular automaton where an ant moves on an infinite grid, flipping tile colors and turning. Simple rules produce surprisingly complex emergent patterns.
- Conway's Game of Life — The classic zero-player game where cells live, die, or are born based on their neighbors.
- Mandelbrot Set — Interactive fractal explorer with progressive rendering, adjustable resolution, and customizable color palettes.
- Julia Set — Explore Julia sets for any point — navigate to one from the Mandelbrot view to see its corresponding Julia fractal.
All simulations support pan (drag) and zoom (scroll/pinch), including touch on mobile.
yarn dev # Start dev server
yarn build # Production build (outputs to dist/)
yarn test # Run tests (Vitest)
yarn build:dist # Rebuild the committed site/ bundleThe site/ directory holds a prebuilt, committed copy of the production SPA so the project can be served directly from the repository without a build step. Run yarn build:dist to refresh it after changes.
- React 19 + TypeScript 5
- Vite for building
- PixiJS 8 for tile-based rendering (Langton's Ant, Game of Life)
- Canvas 2D for pixel-based rendering (fractals)
- MobX 6 for reactive state management
- Vitest for testing
See CREDITS.md for icon credits.