: Exploring cellular automata, fractals, and self-organization.

is a seminal book and educational project by Daniel Shiffman , an Assistant Arts Professor at NYU’s ITP. It explores the intersection of computer programming and the natural world, teaching readers how to create digital simulations of complex phenomena like physics, evolution, and emergence. Core Concepts and Subjects

: Using vectors, trigonometry, and oscillations to create lifelike movement.

: Modeling flocking birds, steering behaviors, and pathfinding.

The book bridges the gap between creative expression and scientific simulation. Key topics include:

The project has evolved across different programming environments: Nature of Code

: Simulating forces such as gravity, wind, and friction.

: Implementing genetic algorithms and basic neural networks to create learning digital entities. Versions and Platforms

en_USEnglish