"Single Rotation" cellular automaton demonstration with Lanczos smoothing.
See also 3D version! Also you can see demonstration video.
Single Rotation is a very simple yet rich reversible cellular automaton. Unlike the famous Game of Life, it preserves total number of alive cells. This allows to track the trajectory of each cell as it moves through the field during its evolution.
This program demonstrates these trajectories, using HTML5 Canvas for GUI and JavaScript for computations.
The code is written in CoffeeScript, and uses browserify and minify tools. To compile, type:
$ make
Open the HTML file in the browser.
Thr program uses following features:
- Canvas
- Typed arrays
- Animation with requestAnimationFrame
All these features should be supported in the most desktop and many mobile browsers.