AlgoMIDI โ A Mathematical 'Music Studio'
Published on: 2025-07-05 08:40:14
AlgoMIDI ๐น
A musical studio to create music through cellular automata and graph traversal algorithms. Built as a spiritual successor to Cellular Minimata - now instead of simply visualising the automata, each "living" cell triggers a musical note.
Tech stack: Vue 3, Vite, TypeScript, Web Audio API (via Tone.js), p5.js, Cytoscape.js. The piano sampler came from this.
AlgoMIDI lets you create music through:
๐ฒ Conway's Game of Life (and other cellular automata rules)
๐ธ๏ธ Graph traversal algorithms (BFS/DFS)
A virtual piano represents the notes generated by both the cellular automata and the graph traversal algorithms.
Features
Cellular Automata
Classic Game of Life rules (B3/S23) and other presets
Custom rule input (format: B3/S2,3)
Adjustable playback speed (60-240 BPM)
Click cells to create initial patterns
Graph Traversal
Visual representation of notes as nodes
BFS and DFS algorithms to create melodic sequences
Drag-and-drop edge creation
Multiple layout options (circle
... Read full article.