← Blog
Creative Coding
Mathematical simulations, nature visualization, and generative art in the browser
creative codingCanvas simulationgenerative artphysics visualizationbrowser graphics
Comparison guides for this topic
Comparison guides repeatedly referenced across this topic, collected as the next practical step.
Best Algorithm Books Compared 2026 — Find the Perfect Book from Beginner to Advanced
A thorough comparison of 5 classic algorithm books including CLRS, the Ant Book, and more using our 2026 scoring system. Find your best pick based on weighted averages of depth and code examples.Books · Referenced by 9 articlesBest TypeScript Books Compared 2026 — Find the Perfect Book from Beginner to Pro
A thorough comparison of 5 top TypeScript books including Effective TypeScript and Survival TypeScript using our 2026 scoring system. Find the best pick by weighted averages of depth, practicality, and beginner friendliness.Books · Referenced by 5 articles
13 articles
Game of Life Rules and Demo — B3/S23, Steps, and Periodic Boundaries
Try Game of Life in your browser: learn B3/S23, single-generation steps, and periodic boundaries. Explore Play, Random, and Clear, then compare WFC and SandFall.12 minA Browser Fluid Simulation Without Pressure Projection — Diffusion and Advection on a 100x60 Grid
This demo computes diffusion and semi-Lagrangian advection on a 100 by 60 grid and leaves out pressure projection. See what it computes, and what it skips, in the current code.14 minMandelbrot Browser Demo: Zoom, Pan, and Black Pixels
Zoom, pan, and reset the Mandelbrot browser demo. See what black pixels mean with a 100-iteration limit and how its coordinates and colors work.10 minGenerating Natural Terrain with Perlin Noise — Why Randomness Can Be Beautiful
Step-by-step implementation of natural terrain generation with Perlin noise, from the mathematics of gradient noise to octave composition and 3D mesh rendering on Canvas.9 minWave Visualization: 2D Waves, Interference and Chladni Patterns
Try browser demos for 2D waves, interference and Chladni patterns. Learn the source, phase and boundary controls, the calculations behind them, and their limits.13 minThe N-Body Problem in the Browser — Implementing Gravitational Simulation
Implementation details of gravitational calculations, vector operations, integration methods, and orbit rendering used in the NBody, SolarSystem, and GravityWell components.10 minGray–Scott Reaction-Diffusion: Feed, Kill, and Demo Controls
Try four Gray–Scott reaction-diffusion presets, place seeds, and reset the grid. Learn what feed and kill mean and how the demo limits its numerical time step.15 minSandpile Model and Self-Organized Criticality — Running the BTW Model in the Browser
Visualizing self-organized criticality in the browser through an implementation of the Bak-Tang-Wiesenfeld sandpile model. Measuring power-law avalanche distributions and the formation of fractal patterns.15 minVisualizing Double Pendulum Chaos — RK4 Integration and Sensitivity to Initial Conditions
Implementing a double pendulum simulation covering Lagrangian mechanics equation derivation, RK4 integration stability, NaN prevention, and visualization of sensitivity to initial conditions.26 minFourier Series Demo: Harmonics and Waveforms
Explore a browser Fourier series demo: compare three waveforms, adjust Terms, Speed, and Circles, and understand signed coefficients and display scaling. No synthesized audio is played.10 minAnt Colony Simulation — Emergent Swarm Intelligence Through Pheromones
Implementing pheromone-based pathfinding with an agent-based model to reproduce ant swarm intelligence in the browser. Explores how evaporation and diffusion parameters affect emergent patterns.14 min60fps Particles with Canvas API — Smooth Animation Design for 200+ Particles
Design techniques for running 200+ particles at 60fps using Canvas API with requestAnimationFrame, fixed timestep, DPI scaling, and spatial partitioning.8 minFast and Slow in Jev Village: Do Council-Given Traits Change AI Villagers’ Impulses?
Thirty AI villagers run on Jev impulses and a Claude council that reflects on them. With the situation fixed and only the trait changed, a starving villager’s chance of stealing ranged from 7% to 51%.9 min