The Nature of Code - Daniel Shiffman

The Nature of Code

Daniel Shiffman

出版时间

2012-12-13

ISBN

9780985930806

评分

★★★★★
书籍介绍
How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital worlds? This book focuses on a range of programming strategies and techniques behind computer simulations of natural systems, from elementary concepts in mathematics and physics to more advanced algorithms that enable sophisticated visual results. Readers will progress from building a basic physics engine to creating intelligent moving objects and complex systems, setting the foundation for further experiments in generative design. Subjects covered include forces, trigonometry, fractals, cellular automata, self-organization, and genetic algorithms. The book's examples are written in Processing, an open-source language and development environment built on top of the Java programming language. On the book's website (http://www.natureofcode.com), the examples run in the browser via Processing's JavaScript mode.
精彩摘录
  • "perlin噪声算法可用于生成各种自然特效,包括云层、地形和大理石的纹理。 perlin噪声算法表现了一定的自然性,因为它能生成符合自然排序(“平滑”)的伪随机数的效果。 Processing内置了perlin噪声算法的实现:noise()函数。该函数返回的是0-1之间的数值,可以用map()函数来映射需要范围的数值。 新值=map(当前值,0,1,目标范围最小值,目标范围最大值)"
作者简介
of arts in mathematics and philosophy from Yale University and his master's degree from ITP. He develops tutorials, examples, and libraries for Processing, the open-source programming language and environment created by Casey Reas and Ben Fry. He is also the author of Learning Processing: A Beginner’s Guide to Programming Images, Animation, and Interaction (2008).
用户评论
好多processing栗子啊!
YouTube上最有活力的老师!
够硬,youtube上作者的视频很棒,简单的个体行为构成复杂难以预测的群体,联想到 《失控》
processing入门=橙+粉+蓝
Shiffman! Shiffman!
YouTube上最有活力的老师! @2020-09-29 03:39:35
nice for art programming
兴趣的入门书,永不过时
然后还是觉得程序艺术只在很窄的范围内才“艺术”
收藏