Coding study

AutoMata

A grid of randomly initialized colors gradually organizes itself as each cell responds to its neighbors in RGB space.

Add your name

Your name starts in a seven-color gradient, then evolves with the field.

Add an image or photo

The image stays in this browser and fills the canvas with centered cropping.

No file selected

How it moves

Flocking behavior in RGB space

Each cell starts with a random RGB color. On every frame, it compares its color and color velocity with its immediate neighbors, then combines separation, alignment, and cohesion-like forces. The result is a field of colors that slowly gathers, separates, and changes direction together.