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,366

readers submitted
so far, will you?

📚 If you like The Nature of Code, you might also like...

Book cover of Marriage and Fatherhood in the Nazi SS

Marriage and Fatherhood in the Nazi SS by Amy Carney,

When I was writing this book, several of my friends jokingly called it the Nazi baby book, with one insisting it would make a great title. Nazi Babies – admittedly, that is a catchy title, but that’s not exactly what my book is about. SS babies would be slightly more…

Book cover of A Forgivable Indecision

A Forgivable Indecision by Shawn Jennings,

In 1913, a 15-year-old pregnant girl was found dead of apparent suicide. Dr. James Wilson, a new graduate and the first doctor ever to start a practice in this rural town, feels guilty over her death because of his delayed intervention.

He knows Bessie was raped by one of her…

5 book lists we think you will like!