The Nature of Code

The Nature of Code : Simulating Natural Systems with Processing

By (author) Daniel Shiffman


Free delivery worldwide

Dispatched in 4 business days

When will my order arrive?

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: //, the examples run in the browser via Processing's JavaScript mode.

show more
  • Paperback | 520 pages
  • 190.5 x 233.68 x 35.56mm | 1,043.26g
  • 13 Dec 2012
  • Nature of Code
  • English
  • black & white illustrations
  • 0985930802
  • 9780985930806
  • 97,371

Other books in this category

Other people who viewed this bought:

Author Information

Daniel Shiffman is an assistant professor in the Interactive Telecommunications Program (ITP) at NYU's Tisch School of the Arts. Originally from Baltimore, Daniel received a bachelor of arts in mathematics and philosophy from Yale University and his master's degree from ITP. He develops tutorials, examples, and libraries for Processing, the open-source programming language and environment created by Casey Reas and Ben Fry. He is also the author of Learning Processing: A Beginner's Guide to Programming Images, Animation, and Interaction (2008).

show more

Review text

How can we capture the unpredictable evolutionary and emergent properties of nature in software?...

show more