Config
Help
Overview

Single-file canvas boids with alignment, cohesion, separation; optional quadtree neighbor queries and flow field. Use the gear to tweak parameters; URL updates live so you can bookmark/share states.

URL Params

hue, header, subheader, count, vision, sep, maxSpeed, minSpeed, maxForce, alignW, cohesionW, separationW, lineWidth, trailAlpha, wrap, bgGradient, bgHueShift1/2/3, qt, qtCap, flow, flowAmp, flowScale, flowSpeed, blend, shape, spawn

Interactions
  • Click/press: emit shockwave (pushes boids)
  • Toggle quadtree: see spatial partition overlay
  • Flow field: drift influenced by noise vectors
About

Generated by the Go dual-mode generator in this repo. No external libs. Works on desktop and mobile.