Book cover of The Nature of Code

Book description

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…

When you buy books, we may earn a commission that helps keep our lights on (or join the rebellion as a member).

Why read it?

1 author picked The Nature of Code as one of their favorite books. Why do they recommend it?

If you want your interactive graphics to feel like they are real objects—real things moving around on the screen—then you have to learn how to mimic the natural world. For an object to feel like it has weight, you have to mimic gravity. For a flock of birds to feel real, you have to mimic how real birds swarm in the sky. Yes, this does involve little math. But fortunately, Dan is a superstar teacher, and he will gently walk you through (a) the math and (b) how to translate that math into code.

Speaking of code, this book uses…

If you love The Nature of Code...

Book cover of These Blue Mountains

These Blue Mountains by Sarah Loudin Thomas,

A moving story of love, betrayal, and the enduring power of hope in the face of darkness.

German pianist Hedda Schlagel's world collapsed when her fiancĆ©, Fritz, vanished after being sent to an enemy alien camp in the United States during the Great War. Fifteen years later, in 1932, Hedda…

Want books like The Nature of Code?

Our community of 12,000+ authors has personally recommended 58 books like The Nature of Code.

Browse books like The Nature of Code

Book cover of Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing
Book cover of Aesthetic Programming: A Handbook of Software Studies
Book cover of Processing: A Programming Handbook for Visual Designers and Artists

Share your top 3 reads of 2025!

And get a beautiful page showing off your 3 favorite reads.

1,340

readers submitted
so far, will you?

šŸ“š If you like The Nature of Code, you might also like...

Book cover of Foxfire in the Snow

Foxfire in the Snow by J.S. Fields,

It's a time of change, between magic and alchemy.

Born the heir of a master woodcutter in a queendom defined by guilds and matrilineal inheritance, nonbinary Sorin can’t quite seem to find their place. At seventeen, an opportunity to attend an alchemical guild fair and secure an apprenticeship with the…

Book cover of The Main Gate

The Main Gate by Yvonne Kjorlien,

Dr. Elise Marquette has spent years burying the past—until the past refuses to stay buried.

Hired to join Earth’s first interstellar contact team, she hopes the vastness of space will finally offer distance from the ghosts of war and the wounds left by a mother who never let her be…

5 book lists we think you will like!