Langton's ant: Difference between revisions
m
→{{header|Uiua}}: Upscaled image
(Added Uiua solution) |
m (→{{header|Uiua}}: Upscaled image) |
||
Line 8,933:
=={{header|Uiua}}==
[https://www.uiua.org/pad?src=0_12_0-
<syntaxhighlight lang="Uiua">
# Draw Langton's Ant.
Line 8,941:
[¯1 0] [50 50] ↯N_N 1
# Run until out of bounds
⍢(
⊙(⟜(⍜⊡(-:1)))
⟨⍜(⊡1|¯)⇌|⇌⍜(⊡1|¯)⟩:⊙(⊡,,)
Line 8,947:
| ≥0⋅/↧
)
# Scale up
▽⟜≡▽4◌◌
</syntaxhighlight>
{{out}}
[[File:Uiua Langton's Ant Upscaled.png|thumb|center]]
=={{header|VBA}}==
|