CELLS

CELLS is an unfinished project I made in 2020. Inspired by the game Viridi, I wanted to create a virtual pet/plant/Petri dish that would live autonomously on your phone, with minimal interaction. You can try it here.

The source code is available on GitHub.

How it works

The program runs a primitive physics simulation, where several particles can move around while being repeled by each other. Each particle has a mass that increases with time, which affects the way it moves and how strongly it pushes other particles away.

On each frame a Voronoi graph is drawn on the screen, with each cell encasing a single particle. The color and size of the cell depend on the particle's attributes. At any given time, a cell might "split", creating two new cells with slighltly different hues.

The user can "pop" a cell by touching it.