Book: Nature of Code by Daniel Shiffman
WebGL / Three.js
The code of nature in 3D 2017
Study of autonomous agents by recreating Daniel Shiffman's Nature of Code examples in 3D (the originals are in 2D).

Demos
Source code
Follow path
Flocking
Alignment and separation
Flow field