
The Nature of Code
Simulating Natural Systems With Javascript
No Starch Press · Print & ebook · September 3, 2024
All aboard The Coding Train!
We earn from qualifying purchases.
- Who it’s for
- Explore natural systems through JavaScript, where programming meets visual creativity.
- Themes
- Creative coding and artistic expression, Simulating natural systems, Programming fundamentals
- Genres
- JavaScript Development, Algorithms, Computer Graphics
Nearest books
Matched by what the books are about, then ordered by what their readers also loved.
The Big Book of Small Python ProjectsAl Sweigart57% match
Clojure for the Brave and TrueDaniel Higginbotham52% match
C# in DepthJon Skeet52% match
Javascript: the Definitive GuideDavid Flanagan57% matchShares JavaScript Development
CodeCharles Petzold60% match
Head First JavaKathy Sierra, Bert Bates55% match
Growing Object-oriented Software, Guided by TestsSteve Freeman, Nat Pryce53% match
Javascript for KidsNick Morgan67% matchShares JavaScript Development
For younger readers: Coding Projects in Scratch, Scratch 3 Programming Playground, Python for Kids
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Start with this bookAbout this book
All aboard The Coding Train! This beginner-friendly creative coding tutorial is designed to grow your skills in a fun, hands-on way as you build simulations of real-world phenomena with “The Coding Train” YouTube star Daniel Shiffman. What if you could re-create the awe-inspiring flocking patterns of birds or the hypnotic dance of fireflies—with code?
Continue reading
For over a decade, The Nature of Code has empowered countless readers to do just that, bridging the gap between creative expression and programming. This innovative guide by Daniel Shiffman, creator of the beloved Coding Train, welcomes budding and seasoned programmers alike into a world where code meets playful creativity. This JavaScript-based edition of Shiffman’s groundbreaking work gently unfolds the mysteries of the natural world, turning complex topics like genetic algorithms, physics-based simulations, and neural networks into accessible and visually stunning creations. Embark on this extraordinary adventure with projects involving: - A physics engine: Simulate the push and pull of gravitational attraction. - Flocking birds: Choreograph the mesmerizing dance of a flock. - Branching trees: Grow lifelike and organic tree structures. - Neural networks: Craft intelligent systems that learn and adapt. - Cellular automata: Uncover the magic of self-organizing patterns. - Evolutionary algorithms: Play witness to natural selection in your code. Shiffman’s work has transformed thousands of curious minds into creators, breaking down barriers between science, art, and technology, and inviting readers to see code not just as a tool for tasks but as a canvas for boundless creativity. Whether you’re deciphering the elegant patterns of natural phenomena or crafting your own digital ecosystems, Shiffman’s guidance is sure to inform and inspire. The Nature of Code is not just about coding; it’s about looking at the natural world in a new way and letting its wonders inspire your next creation. Dive in and discover the joy of turning code into art—all while mastering coding fundamentals along the way. NOTE: All examples are written with p5.js, a JavaScript library for creative coding, and are available on the book's website.
Patterns in Code
Explore natural systems through JavaScript, where programming meets visual creativity.
Come here for
- Flocking birds, gravity, and branching trees made with code
- A meeting point for algorithms, science, and creative expression
Expect
- Hands-on projects using p5.js
- Accessible introductions to simulations, neural networks, and cellular automata
Where it sits
| JavaScript Development | 70% |
|---|---|
| Computer Graphics | 53% |
| Algorithms | 51% |
Percentages are BookFrontier’s reading of the book.
Publisher categories
- Computer Graphics
- JavaScript Development
- Open Source Development
- Authors
- Daniel Shiffman
- Publisher
- No Starch Press
- Published
- September 3, 2024
- Format
- Print & ebook
- Theme
- Creative coding and artistic expression · Simulating natural systems · Programming fundamentals
- Reading lane
- Computer Graphics