about summary refs log tree commit diff stats
path: root/uiua/life.ua
blob: 70273016be645b8c485fe1c65e2bee3d11c00b17 (plain) (blame)
1
2
3
4
5
# lifted from the uiua docs
Life ← ↥⊙↧∩=3,2-,/+≡↻☇1-1⇡3_3¤.
⁅×0.6∵⋅⚂↯⊟.30 0       # Init
⇌;⍥(⊃∘⊂Life)100⊃∘(↯1) # Run
≡(▽↯⧻,:⍉▽↯⧻,,:5)      # Upscale