Skip to content

Rule Cascade

Elementary cellular automata growing generation by generation and scrolling upward, switching between rules 30, 90, 110 and 45 under a lookup-table legend, the newest generation glowing.

Theme an embed without editing the bit: put data-variable-values on the data-composition-src element, or bake new defaults into the installed copy with --set.

IdTypeDefaultLabel
rulesstring"30,90,110,45"Rules, comma separated
backgroundcolor#100f0fBackground
foregroundcolor#f2f0e5Cells
accentcolor#ec8b49Newest cells
<div data-composition-src="compositions/rule-cascade.html" data-variable-values='{"rules":"30,90,110,45","background":"#100f0f","foreground":"#f2f0e5","accent":"#ec8b49"}'></div>
Terminal window
npx @av/hyperbits add rule-cascade --into compositions/ --set "background=#0b1020"