DeepRead
Cover of The Nature of Code

The Nature of Code

Daniel Shiffman · 2012

Programming and computer science › Game and graphics programming

#440 most recommended

About the book

The Nature of Code is a programming book about simulating natural systems on a computer. It starts with vectors and Newtonian forces and moves through oscillation, particle systems, autonomous agents, cellular automata, fractals and L-systems, genetic algorithms, and neural networks. Its examples are written in Processing, a Java-based environment for visual coding, and the author's online materials also include a JavaScript version. The book's central claim is that many natural phenomena, such as motion under forces, flocking, branching growth, and evolution, can be modelled by simple rules that a program can run step by step, and that the resulting behaviour is often emergent rather than designed. It presents randomness and noise as tools for producing organic-looking variation rather than as nuisances. It also argues that a reader can build intuition about physics, mathematics, and complex systems by writing and altering small visual programs, with the code and the rendered output serving as the means of understanding.

Written by Claude from what it knows of this book.

What Hacker News says 89% recommend · 1% critical

0102020122015202020262022 peak · 16
This bookAverage book in Game and graphics programming

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 12 want to read
  • 2 reading
  • 1 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2012
ISBN
9780985930806
Editions known
4 at Open Library
Open Library
OL20389247W

003.3 s555nComputer programmingComputer scienceComputer simulationComputergrafikComputersimulationDatorsimuleringProcessingProgrammeringQa76.9.c65 s385 2012

Explore in the mosaic

Read next: its neighbours on the mosaic