
The Nature of Code
Daniel Shiffman · 2012
Programming and computer science › Game and graphics programming
#440 most recommended
Hacker News
111
mentions by 82 people · top 3% of 15,732 books
Open Library
—
No ratings yet
12 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
I've been trying to learn how to make games in my spare time on-and-off for 20 years (wow time does fly). Here's my postmortem to serve as a warning for…
The Planiverse: Computer contact with a two-dimensional world - by A.K. Dewdney > A mind-bending, paradigm shifting visit with Yedred, a denizen of the 2…
What Open Library readers say
No Open Library reader has rated it yet.
- 12 want to read
- 2 reading
- 1 have read
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
- Ask HN: What book changed your life in 2014?
- Ask HN: Which books do you consider real gems in your field of work/study?
- Ask HN: I'm looking for a good book on the fundamentals of CS
- Ask HN: What books should I read to improve as a software engineer?
- Ask HN: 12 year old tech savvy girl – books, programs, events, advice?
- Ask HN: Looking for a Book on Cellular Automata
- Ask HN: What are some fantastic books in other topics that use programming?
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
Read next: its neighbours on the mosaic
Learning ProcessingDaniel Shiffman · 2008 · recommended by 6 people · 3 people recommended both
The Book of Shadersrecommended by 39 people · 2 people recommended both
Game Programming PatternsRobert Nystrom · 2011 · recommended by 120 people · 4 people recommended both
Programming challengesSteven S. Skiena · 2003 · recommended by 7 people · similar by subject and what people say about it
Ray Tracer ChallengeJamis Buck · 2019 · recommended by 21 people · 2 people recommended both
The Computational Beauty of NatureGary William Flake · 1998 · recommended by 19 people · named together in 2 comments
Computer systemsRandal Bryant · 2002 · recommended by 67 people · 2 people recommended both
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · 3 people recommended both
The Little SchemerDaniel P. Friedman · 1995 · recommended by 288 people · 3 people recommended both
Vehicles, experiments in synthetic psychologyValentino Braitenberg · 1984 · recommended by 10 people · 2 people recommended both
On intelligenceJeff Hawkins · 2004 · recommended by 114 people · 2 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 3 people recommended both
Computer Graphics from ScratchGabriel Gambetta · 2020 · recommended by 12 people · similar by subject and what people say about it
A new kind of scienceStephen Wolfram · 2002 · recommended by 44 people · 2 people recommended both
Mazes for programmersJamis Buck · 2015 · recommended by 19 people · similar by subject and what people say about it
Data science from scratchJoel Grus · 2015 · recommended by 22 people · 2 people recommended both
Understanding Machine LearningShai Shalev-Shwartz · 2014 · recommended by 12 people · similar by subject and what people say about it
Introduction to the theory of computationMichael Sipser · 1997 · recommended by 66 people · 2 people recommended both
Effective JavaJoshua Bloch · 2001 · recommended by 172 people · 2 people recommended both
Neural Networks and Deep LearningCharu C. Aggarwal · 2018 · recommended by 72 people · similar by subject and what people say about it
Realm of RacketForrest Bice · 2013 · recommended by 37 people · similar by subject and what people say about it
Turtle geometryHarold Abelson · 1981 · recommended by 15 people · similar by subject and what people say about it
Visualizing DataBen Fry · 2008 · recommended by 7 people · similar by subject and what people say about it
The art of doing science and engineeringRichard Hamming · 1996 · recommended by 56 people · 2 people recommended both