Skip to content
Ho Chun-Hsi

Lab / The Nature of Code

The Nature of Code exercises

Studies written while following The Nature of Code 2 by Daniel Shiffman, numbered by episode.

  1. 0.3Perlin noise
  2. 0.4Perlin noise
  3. 0.52D Perlin noise
  4. 0.6Simplex noise
  5. 0.7Random walker
  6. 1.1Vector random walker
  7. 1.2Vector math: add
  8. 1.3Vector math: random vector
  9. 1.5Vector math: unit vector (normalize)
  10. 1.6Vector math: acceleration vector
  11. 1.7Vector math: random walker with vectors and Lévy flight
  12. 2.1Forces: gravity and wind
  13. 2.2Forces: mass and acceleration
  14. 2.3Forces: friction
  15. 2.4Forces: drag