ducklet

An ant colony

Ants find food by scent alone, stepped in one SQL query

An ant colony, as it opens in ducklet

about

A hundred and twenty ants leave their nest, wander, and lay scent as they go. Whoever finds food carries a crumb home along the trail it came by, and the trails that work get stronger while the rest evaporate. The whole colony is one recursive SQL query in a dbt project: change a number in dbt_project.yml and it is stepped again. A second dashboard runs it nine times to find how fast a trail should fade, and a third is the colony's life in an ant farm: a queen laying eggs, larvae and pupae growing up, workers that forage, dig the nest and carry the soil out, and die.

data
Made up: a model of foraging ants, stepped in the tab
shows
scene ยท time ยท line ยท bar ยท kpi
topics
science ยท 3d

It runs entirely in your browser: DuckDB, compiled to WebAssembly, reads the data in the tab. There is nothing to install and no account, and every query, dashboard and file it opens on is a plain file you can read and change.

every app โ€บ