
The Nature of Code
by Daniel Shiffman
498 pages· ISBN 9780985930806
About
How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital worlds? This book focuses on a range of programming strategies and techniques behind computer simulations of natural systems, from elementary concepts in mathematics and physics to more advanced algorithms that enable sophisticated visual results. Readers will progress from building a basic physics engine to creating intelligent moving objects and complex systems, setting the foundation for further experiments in generative design. Subjects covered include forces, trigonometry, fractals, cellular automata, self-organization, and genetic algorithms. The book's examples are written in Processing, an open-source language and development environment built on top of the Java programming language. On the book's website (http: //www.natureofcode.com), the examples run in the browser via Processing's JavaScript mode.
Discuss The Nature of Code with other readers
Join or start a book club for The Nature of Code on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.
Frequently asked questions
How do I join a book club for The Nature of Code?
Sign up free on Readfeed, then browse public clubs or start your own club with The Nature of Code as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.
Can I discuss The Nature of Code with other readers online?
Yes. Readfeed book clubs let you chat live, share progress, and join discussions about The Nature of Code with readers worldwide — whether your club is virtual, in-person, or hybrid.
Is Readfeed free?
Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.