The Nature of Code

Simulating Natural Systems with JavaScript


Edition: US - Paperback / softback
Price:
Sale priceHK$262.00 Regular priceHK$400.00
Stock:
Re-stocking soon
Product Info
English
640 pages 18.57 x 23.98 x 3.45 cm
Approx. weight: 1.5 kg
Publication date: 03 Sep,2024
Barcode: 9781718503700 No Starch Press

More books in English for Age -

Description

By: Daniel Shiffman     
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.

You may also like

熱銷中 Top Trending

View all
The Anxious Generation
The Anxious Generation
Sale priceFrom HK$92.00 Regular priceHK$140.00
In stock
Press Start! #16 Super Rabbit Boy vs. the Gigabot!(Branches)-Children’s / Teenage fiction: Action and adventure stories-買書書 BuyBookBook
Press Start! #16 Super Rabbit Boy vs. the Gigabot!(Branches)
Sale priceHK$48.00 Regular priceHK$98.00
In stock
The Wild Robot on the Island-Children’s picture books-買書書 BuyBookBook
The Wild Robot on the Island
Sale priceHK$69.00 Regular priceHK$182.00
In stock
Who Was Galileo? (Who | What | Where Series) PRHUS
Who Was Galileo?
Sale priceHK$38.00 Regular priceHK$50.00
In stock
Who Was Isaac Newton?-Children’s / Teenage general interest: Biography and autobiography-買書書 BuyBookBook
Who Was Isaac Newton?
Sale priceHK$45.00 Regular priceHK$70.00
In stock
Sunrise on the Reaping (The Hunger Games)
Sunrise on the Reaping (The Hunger Games)
Sale priceHK$159.00 Regular priceHK$280.00
In stock
Guinness World Records 2025-Nonfiction: 參考百科 Reference & Encyclopedia-買書書 BuyBookBook
Guinness World Records 2025
Sale priceHK$195.00 Regular priceHK$286.00
In stock
Who Was Wolfgang Amadeus Mozart?
Who Was Wolfgang Amadeus Mozart?
Sale priceHK$46.00 Regular priceHK$70.00
In stock
A Curse for True Love
A Curse for True Love
Sale priceFrom HK$75.00 Regular priceHK$120.00
In stock
鬥嘴一班 (34) 華服嘉年華-Children’s / Teenage fiction: School stories-買書書 BuyBookBook
鬥嘴一班 (34) 華服嘉年華
Sale priceHK$57.00 Regular priceHK$65.00
In stock
如果歷史是一群喵(15):大清風雲篇
如果歷史是一群喵(15):大清風雲篇
Sale priceHK$103.00 Regular priceHK$163.00
In stock
Billy and the Mini Monsters: Monsters Go Back to School-Children’s Educational: Language/ literature/ literacy-買書書 BuyBookBook
Billy and the Mini Monsters #17 Monsters Go Back to School
Sale priceHK$55.00 Regular priceHK$98.00
In stock
Business for beginners Usborne
Business for beginners
Sale priceHK$85.00 Regular priceHK$120.00
In stock
Usborne Little wipe-clean alphabet Usborne
Usborne Little wipe-clean alphabet
Sale priceHK$45.00 Regular priceHK$60.00
In stock
Who Was Nikola Tesla?-Children’s / Teenage general interest: Biography and autobiography-買書書 BuyBookBook
Who Was Nikola Tesla?
Sale priceHK$46.00 Regular priceHK$70.00
In stock
Cat & Cat Adventures #03 Journey into Unibear City (Susie Yi)-Fiction: 歷險科幻 Adventure & Science Fiction-買書書 BuyBookBook
Cat & Cat Adventures #03 Journey into Unibear City (Susie Yi)
Sale priceHK$59.00 Regular priceHK$90.00
In stock
The Invisible Life of Addie LaRue
The Invisible Life of Addie LaRue
Sale priceFrom HK$75.00 Regular priceHK$120.00
In stock
Little Prince, The Picture Book (Hardback) Harpercollins (UK)
Little Prince, The Picture Book (Hardback)
Sale priceHK$49.00 Regular priceHK$182.00
In stock
成語漫畫笑學堂2-非故事: 語文學習 Language Learning-買書書 BuyBookBook
成語漫畫笑學堂2
Sale priceHK$67.00 Regular priceHK$97.00
In stock
Surrounded by Idiots-Self-help/ personal development/ practical advice-買書書 BuyBookBook
Surrounded by Idiots
Sale priceFrom HK$85.00 Regular priceHK$130.00
In stock

Recently viewed