what-is-an-algorithm

← ~/visualizations

what-is-an-algorithm #

Visualizes an algorithm as a finite, ordered procedure that transforms INPUT -> OUTPUT. A data token moves through the pipeline while the procedure box highlights steps (READ, PROCESS, WRITE) to show sequencing and transformation.

canvasclick to interact

⏮◀◀▶▶STEP0.25x1xZOOM

t=0s

practical uses #

technical notes #

Pure Canvas2D draw function with time-based loop (~3.6s). Uses responsive scaling, grid snapping for a blocky aesthetic, staged animation (input, procedure, output), and step highlighting synced to token movement. Colors use GREEN/GREEN_DIM on black.

← maximum-likelihood-estimationconvex-functions →