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 December on 5C4

December on 5C4 by Adam Strassberg,

Magical realism meets the magic of Christmas in this mix of Jewish, New Testament, and Santa stories–all reenacted in an urban psychiatric hospital!

On locked ward 5C4, Josh, a patient with many similarities to Jesus, is hospitalized concurrently with Nick, a patient with many similarities to Santa. The two argue…

Want books like The Nature of Code?

Our community of 13,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 2026!

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

177

readers submitted
so far, will you?

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

Book cover of Sexy Selfie Nation: Standing Up for Yourself in Today's Toxic, Sexist Culture

Sexy Selfie Nation by Leora Tanenbaum,

The problem is not with the actions young women take but with the toxic, sexist conditions they are responding to.

Tanenbaum found, based on six years of interviews with young people ages 14-30, that young women are navigating a culture littered with gendered dress codes, revenge porn, and sexually explicit…

Book cover of In This Together: Connecting with Your Community to Combat the Climate Crisis

In This Together by Marianne E. Krasny,

In This Together explores how we can harness our social networks to make a real impact fighting the climate crisis. Against notions of the lone environmental crusader, Marianne E. Krasny shows us the power of "network climate action"—the idea that our own ordinary acts can influence and inspire those close…

5 book lists we think you will like!