The Nature of Code: Simulating Natural Systems with JavaScript

Shiffman, Daniel

  • 出版商: No Starch Press
  • 出版日期: 2024-09-03
  • 售價: $1,640
  • 貴賓價: 9.5$1,558
  • 語言: 英文
  • 頁數: 640
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1718503709
  • ISBN-13: 9781718503700
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

所有人都上車《編碼列車》!這本適合初學者的創意編程教程旨在以有趣且實作的方式提升你的技能,讓你與《編碼列車》YouTube明星丹尼爾·希夫曼一起構建現實世界現象的模擬。

如果你能用程式碼重現令人驚嘆的鳥群聚集模式或螢火蟲的催眠舞蹈,會怎樣呢?十多年來,《程式的本質》讓無數讀者能夠做到這一點,架起創意表達與編程之間的橋樑。這本由丹尼爾·希夫曼創作的創新指南,歡迎新手和資深程序員進入一個程式碼與玩樂創意相遇的世界。

這本基於JavaScript的希夫曼開創性作品的版本,輕鬆揭示自然界的奧秘,將基因演算法、基於物理的模擬和神經網絡等複雜主題轉化為易於理解且視覺上驚豔的創作。

開始這段非凡的冒險,參與以下項目:
- 一個物理引擎:模擬重力吸引的推拉。
- 鳥群聚集:編排一群鳥的迷人舞蹈。
- 分支樹:生長出栩栩如生的有機樹結構。
- 神經網絡:打造能學習和適應的智能系統。
- 細胞自動機:揭示自我組織模式的魔力。
- 演化演算法:在你的程式碼中見證自然選擇。

希夫曼的作品將數千個好奇的心靈轉變為創作者,打破科學、藝術和技術之間的障礙,邀請讀者將程式碼視為不僅僅是任務的工具,而是無限創意的畫布。

無論你是在解讀自然現象的優雅模式,還是在創造自己的數位生態系統,希夫曼的指導必定會啟發和激勵你。《程式的本質》不僅僅是關於編程;它是以全新的方式看待自然世界,並讓其奇觀激發你的下一個創作。深入探索,發現將程式碼轉化為藝術的樂趣,同時掌握編程的基本原則。

注意:所有範例均使用p5.js編寫,這是一個用於創意編程的JavaScript庫,並可在本書網站上獲得。

作者簡介

Daniel Shiffman, creator of the YouTube channel The Coding Train (www.youtube.com/c/TheCodingTrain), spends much of his free time teaching nearly 2 million subscribers how to code through a blend of step-by-step tutorials and project videos. An associate arts professor at the NYU Tisch School of the Arts and co-founder of the Processing Foundation, Shiffman is on a mission to empower curious learners and humans everywhere to express themselves through code.

作者簡介(中文翻譯)

丹尼爾·希夫曼(Daniel Shiffman),YouTube 頻道 The Coding Train 的創建者(www.youtube.com/c/TheCodingTrain),在空閒時間裡花費大量精力教導近 200 萬訂閱者如何編程,透過逐步教學和專案影片的結合。他是紐約大學提許藝術學院的副教授,也是 Processing Foundation 的共同創辦人,希夫曼的使命是讓好奇的學習者和全世界的人們能夠透過程式碼表達自己。