Nature of Code
natureofcode.com
Daniel Shiffman's free online book and companion videos teaching creative coding through simulations of natural systems — physics, agents, neural networks, and evolution.
Why it is useful
Makes complex algorithmic concepts tangible by implementing them as visual, interactive simulations — you understand particle physics and genetic algorithms by building them, not by reading equations. The coding approach (p5.js) is accessible enough for beginners while the mathematical depth is substantial. The companion Coding Train YouTube videos make the written content even more approachable.
More in Learning Resources
Other learning resources you might not have heard of.
- JavaScript.infoA comprehensive and modern JavaScript tutorial covering the language from fundamentals to advanced topics — prototypes, async/await, closures, generators, and the DOM — with interactive exercises throughout.
- Bartosz CiechanowskiInteractive long-form articles explaining GPS, mechanical watches, naval architecture, and physics — built with hand-coded simulations you can manipulate in real time.
- OpenStaxFree, peer-reviewed college textbooks covering math, science, business, and humanities — funded by Rice University and philanthropic grants.
- CSS BattleA coding game where you recreate a target image using as little CSS as possible, with daily battles, practice targets and leaderboards.
- 3Blue1BrownVisual mathematics videos and interactive lessons that build genuine intuition for complex topics.
- PGExercisesA free PostgreSQL practice site with 80+ exercises covering joins, aggregation, subqueries, window functions, recursive queries, and date operations — running against a realistic club membership dataset.