Skip to content

"Single Rotation" cellular automaton demonstration with Lanczos smoothing

License

Notifications You must be signed in to change notification settings

dmishin/singlerot-smooth

Repository files navigation

singlerot-smooth

"Single Rotation" cellular automaton demonstration with Lanczos smoothing.

Sample picture

See it live

See also 3D version! Sample 3D screenshot 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.

Compilation

The code is written in CoffeeScript, and uses browserify and minify tools. To compile, type:

$ make

Running

Open the HTML file in the browser.

Browser support

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.

About

"Single Rotation" cellular automaton demonstration with Lanczos smoothing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published