The Nature of Code: Simulating Natural Systems with Processing
Daniel Shiffman · book · The Nature of Code (self-published), 2012
A widely-used, freely-available introduction to programming simulations of natural systems — forces and physics, particle systems, autonomous steering agents, cellular automata, fractals, genetic algorithms, and neural networks. Originally written with Processing (2012); a JavaScript/p5.js edition followed from No Starch Press in 2024.
About
Last updated 2026-07-16