The Nature of Code

Simulating Natural Systems with Processing

paperback, 520 pages

Published Dec. 13, 2012 by The Nature of Code.

ISBN:
978-0-9859308-0-6
Copied ISBN!
Goodreads:
16123828

View on OpenLibrary

5 stars (1 review)

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 (www.natureofcode.com), the examples run in the browser via Processing's JavaScript mode.

2 editions

Subjects

  • nonfiction
  • art
  • computer science