Lattice Library

A Library by Pablo Miranda Carranza for the Processing programming environment.
Last update, 07/06/2017.

This library makes easy to write cellular automata (CA) by encapsulating most boiler-plate code.
The library uses generics and reflection so classes can be extended with all the code specific to the CA. These classes implement access different neighbourhoods,and the management of the buffers of cells with their states at different time steps and their update. In order to do this, the package incorporates some slightly esoteric syntax, when compared with regular code in Processing. Much of the inspiration comes from projects such as StarLogo.

Contributed Libraries are developed, documented, and maintained by members of the Processing community. Further directions are included with each Library. For feedback and support, please post to the Discourse. We strongly encourage all Libraries to be open source, but not all of them are.

Download

Download Lattice Library version 1.0.0 (1) in .zip format.

Installation

Unzip and put the extracted latticelib folder into the libraries folder of your Processing sketches. Reference and examples are included in the latticelib folder.

Keywords. Simulation, Animation, Math, 3D

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of Lattice Library is available at GitHub, and its repository can be browsed here.

Examples

Find a list of examples in the current distribution of Lattice Library, or have a look at them by following the links below.

Tested

Platform osx
Processing 3.3
Dependencies ?