Browse Source

GTE is too smart and make diagonals changing direction every 50 steps...

Yann Weber 6 years ago
parent
commit
767230c099
2 changed files with 7 additions and 1 deletions
  1. 6
    0
      WOOT.result
  2. 1
    1
      gte/world.py

+ 6
- 0
WOOT.result View File

@@ -52,3 +52,9 @@ python3 -m gte generate -o /tmp/gte.png -T 5 --steps 15000 -P '0xD | R MEM_SZ ^'
52 52
 
53 53
 WOOT 2
54 54
 python3 -m gte generate -o /tmp/gte.png -T 35 --steps 5000 -P 'B 0xEECD Y G << X ^ |'
55
+
56
+python3 -m gte generate -o /tmp/gte.png -T 5 --steps 5000 -P '* JMP 0x5E DUP R X' -A /tmp/anim/
57
+# ffmpeg -r 25 -i "GTE_ANIM_%d.png" foo.mp4
58
+
59
+# Change dir every 50 steps....
60
+"* JMP 0x5E 0x12 X B X"

+ 1
- 1
gte/world.py View File

@@ -202,7 +202,7 @@ class LivingTurmit(Turmit):
202 202
         self._prev_abs = (0, 0)
203 203
         self._dirvar = 0
204 204
         self._prev_dirvar = None
205
-        self._dirvar_res = 50
205
+        self._dirvar_res = 64
206 206
         self._steps = 1
207 207
         
208 208
 

Loading…
Cancel
Save