The Nature of Code

Simulating Natural Systems with JavaScript

(Author) Daniel Shiffman
Format: Paperback
£37.99 Price: £34.38 (10% off)
Generally dispatched in 1 to 2 days

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? 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.

Information
Publisher:
No Starch Press,US
Format:
Paperback
Number of pages:
642
Language:
en
ISBN:
9781718503700
Publish year:
2024
Publish date:
Sept. 3, 2024

Daniel Shiffman

Daniel Shiffman is a renowned computer scientist, educator, and author known for his work in the field of creative coding. He is the author of the popular book "The Nature of Code," which explores the principles of natural systems and how they can be applied to programming and digital art. Shiffman is also the creator of the widely-used programming language Processing and has been instrumental in making coding accessible and engaging for artists, designers, and educators. His clear and engaging writing style has made complex concepts in computer science and programming more approachable, and his work has had a significant impact on the intersection of technology and the arts.

Reviews

Leave a review

Please login to leave a review.

Be the first to review this product

Other related

Love Machines

Love Machines

How Artificial Intelligence is Transforming Our Relationships

James Muldoon
Paperback
Published: 2026
Nexus

Nexus

A Brief History of Information Networks from the Stone Age to AI

Yuval Noah Harari
Paperback
Published: 2025
The Immortalists

The Immortalists

The Death of Death and the Race for Eternal Life

Aleks Krotoski, Krotoski Aleks
Hardcover
Published: 2025
If Anyone Builds It, Everyone Dies

If Anyone Builds It, Everyone Dies

The Case Against Superintelligent AI

Eliezer Yudkowsky
Hardcover
Published: 2025
Automate the Boring Stuff with Python, 3rd Edition

Automate the Boring Stuff with Python, 3rd Edition

Al Sweigart
Paperback
Published: 2025
The Official Raspberry Pi Handbook 2026

The Official Raspberry Pi Handbook 2026

Astounding Projects with Raspberry Pi Computers

The Makers of Raspberry Pi Official Magazine
Paperback
Published: 2025