Examples / Techniques / Motion

cellular-rule90

Elementary cellular automaton (Wolfram rule 90) drives an evolving hat line. A single seed cell evolves over 4 generations; each row becomes one cycle, so the rhythm reorganises itself every bar.

Demos/Techniques/Motion/cellular-rule90.strudel · 120 BPM

Play in Cycletron Opens it in the app in your browser, with the visualizers. Desktop browsers only.

// Elementary cellular automaton (Wolfram rule 90) drives an evolving
// hat line. A single seed cell evolves over 4 generations; each row
// becomes one cycle, so the rhythm reorganises itself every bar.
setbpm(120);

stack(
  s("bd*4"),
  s("<[~ ~ ~ ~ hh ~ ~ ~] [~ ~ ~ hh ~ hh ~ ~] [~ ~ hh ~ ~ ~ hh ~] [~ hh ~ hh ~ hh ~ hh]>").gain(0.5)
)