- A physics engine Simulate the push and pull of gravitational attraction.
- Flocking birds Choreograph the mesmerizing dance of a flock.
- Branching trees Grow lifelike and organic tree structures.
- Neural networks Craft intelligent systems that learn and adapt.
- Cellular automata Uncover the magic of self-organizing patterns.
- Evolutionary algorithms Play witness to natural selection in your code.
Shiffman's work has transformed thousands of curious minds into creators, breaking down barriers between science, art, and technology, and inviting readers to see code not just as a tool for tasks but as a canvas for boundless creativity. Whether you're deciphering the elegant patterns of natural phenomena or crafting your own digital ecosystems, Shiffman's guidance is sure to inform and inspire. The Nature of Code is not just about coding; it's about looking at the natural world in a new way and letting its wonders inspire your next creation. Dive in and discover the joy of turning code into art--all while mastering coding fundamentals along the way. NOTE: All examples are written with p5.js, a JavaScript library for creative coding, and are available on the book's website.