A Quil sketch designed to visualise boids behavior.
Sublime + Sublime REPL (sublime repl usage, quil dynamic workflow):
- Open clojure repl when focus is in project.clj. This will startup the applet.
- To reload dynamic.clj run
(use :reload 'clojure-boids.dynamic)
in the repl.
Note that changes to the setup
function won't be picked up since setup
only runs once during ... setup.
- KD - trees - Also checkout algorithms 4th (sedgewick) BST (Binary Search Tree)
- clj-kd-trees
- Sedgewick sheets on geometric search (including boids)