about summary refs log blame commit diff stats
path: root/uiua/life.ua
blob: 70273016be645b8c485fe1c65e2bee3d11c00b17 (plain) (tree)
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