]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/chipmunk/demo/demo.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / chipmunk / demo / demo.factor
index 7f5222342a95e7ae1b3eaf523e9e82f2f2ff681a..132229b1bc4140711a4f870d20d0dfb17d246c58 100644 (file)
@@ -107,8 +107,8 @@ M:: chipmunk-world begin-game-world ( world -- )
     space 2.0 10000 cpSpaceResizeActiveHash
     space 1 >>iterations drop
 
-    image-height iota [| y |
-        image-width iota [| x |
+    image-height <iota> [| y |
+        image-width <iota> [| x |
             x y get-pixel [
                 x image-width 2 / - 0.05 random-unit * + 2 *
                 image-height 2 / y - 0.05 random-unit * + 2 *