
Managing Sprites and Frames
In this tutorial we'll create a class to manage sprites and frames and convert our existing sprites to make use of it.
In this tutorial we'll create a class to manage sprites and frames and convert our existing sprites to make use of it.
A very simple example of Cellular Automata showing Rock, Paper, Scissors interactions. Written in Javascript and using a Canvas for rendering.
Extending the Rock, Paper, Scissors scenario to include 7 circularly predatorial cell types. Helps to demonstrate the failings of over-simplified systems.
An example to help visualize random distribution in Javascript using the Math.random() method and displayed on a canvas.
Another simple cellular automata setup, this time showing interactions between cells with random mouth and body colours to represent type and prey type.
A classical Predator, Prey implementation to look at interactions between cells.
Programatically plotting regular polygons on a canvas or other drawing surface is surprisingly simple. Learn how to write a short function to generate Polygons in this tutorial.
Plotting regular stars is just as simple as plotting regular polygons, and in this tutorial we'll create a function to do so.