about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--uiua/life.ua5
1 files changed, 5 insertions, 0 deletions
diff --git a/uiua/life.ua b/uiua/life.ua
new file mode 100644
index 0000000..7027301
--- /dev/null
+++ b/uiua/life.ua
@@ -0,0 +1,5 @@
+# lifted from the uiua docs
+Life ← ↥⊙↧∩=3,2-,/+≡↻☇1-1⇡3_3¤.
+⁅×0.6∵⋅⚂↯⊟.30 0       # Init
+⇌;⍥(⊃∘⊂Life)100⊃∘(↯1) # Run
+≡(▽↯⧻,:⍉▽↯⧻,,:5)      # Upscale