自然之码
出自FlashWiki
(原文:The Nature of Code)
首先非常感谢原作者提供了这么好的一系列文章,这些文章都是站在非常基础的角度上教我们如何使用程序来描绘自然界的美妙之处!是学习算法非常好的入门教材。原文提供的代码都是运行在Processing上的,所以这篇译文我可能会将部分代码重写成AS3版本(所以了解flash下的Frocessing也是必须的),并且重新整理部分内容,方便大家学习。
目录
- 随机数 - Numbers
- 矢量 - Vectors
- 力 - Forces
- 振荡 - Oscillations
- 碰撞 - Collisions (未完成)
- 粒子系统 - Particle Systems
- 推进行为 - Steering Behaviors
- 分形与生长 - Fractals and Cellular Automata
- 遗传算法 - Genetic Algorithms
- 神经网络 - Neural Networks
编者按
你觉得我们能用程序来描述变化多端、丰富多彩的大自然吗?你觉得我们能用从真实世界懂得的数学公式来描绘一个数字世界吗?这些文章将会告诉你如何通过程序算法和技术来模拟真实世界。我们将从最基本的数学公式、物理运动慢慢过度到复杂的内容。比如力、三角学、分形、生长、自我组织、遗传算法。
推荐阅读
- The Computational Beauty of Nature: Computer Explorations of Fractals, Chaos, Complex Systems, and Adaptation
- Mathematics and Physics for Programmers (Game Development Series)
- The Algorithmic Beauty of Plants (The Virtual Laboratory)
- Turtles, Termites, and Traffic Jams: Explorations in Massively Parallel Microworlds (Complex Adaptive Systems)
- Creative Code: Aesthetics + Computation
- Just about any book by Ian Stewart
这些文章使用的编程环境都在Processing之下。如果你对Processing不熟悉的话,请访问 http://www.processing.org
对于一个初学者想要更好的了解Processing 的话,欢迎访问作者的网站 http://www.learningprocessing.com







