Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-07-25 20:38:57 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-07-25 20:38:57 (GMT)
commite61c255baf370611b61af3f8aed76dabd3c5f15b (patch)
treee399d066289f6567d5edef33bb26c9980b7b8dda
parent7fcbc8b6e7ccc07776d92c0535edc5bd5681e005 (diff)
update samples
-rw-r--r--samples/basic-intro-1.ta239
-rw-r--r--samples/card-09.tb3
-rw-r--r--samples/card-17.tb3
-rw-r--r--samples/game-spiralaterals.ta132
-rw-r--r--samples/graphics-csquiral.ta3
-rw-r--r--samples/graphics-redwisp.ta3
-rw-r--r--samples/math-dice.ta234
-rw-r--r--samples/sensors-psuedo-color.ta2
-rw-r--r--samples/sensors-soundpaint.ta30
-rw-r--r--samples/sensors-valentine.ta3
10 files changed, 282 insertions, 370 deletions
diff --git a/samples/basic-intro-1.ta b/samples/basic-intro-1.ta
index 73b6dae..17cff6a 100644
--- a/samples/basic-intro-1.ta
+++ b/samples/basic-intro-1.ta
@@ -1,167 +1,72 @@
-[[0, ["start", 2.0], 30, 550, [null, 164]],
-[1, ["setxy2", 20], 1317, 731, [83, 5, 166, 6]],
-[2, ["number", 20], 1429, 773, [5, null]],
-[3, "xcor", 1429, 731, [5, null]],
-[4, "ycor", 1429, 813, [166, null]],
-[5, ["plus2", 0], 1375, 731, [1, 3, 2]],
-[6, ["vspace", 0], 1317, 855, [1, 89]],
-[7, "penup", 1317, 521, [156, 19]],
-[8, "pendown", 1317, 1317, [25, 158]],
-[9, ["number", 60], 1429, 855, [166, null]],
-[10, "hat", 33, 869, [null, 11, 70]],
-[11, ["string", "next"], 91, 881, [10, null]],
-[12, "stack", 30, 638, [164, 13, null]],
-[13, ["string", "next"], 88, 638, [12, null]],
-[14, "clean", 33, 1007, [75, 37]],
-[15, "hat", 1334, 415, [null, 36, 72]],
-[16, "stack", 33, 1217, [73, 35, 31]],
-[17, "show", 1317, 1191, [30, 18, 25]],
-[18, ["string", "The repeat block lets you repeat an action."], 1375, 1191, [17, null]],
-[19, ["setxy2", 0], 1317, 563, [7, 20, 21, 83]],
-[20, ["number", -300], 1375, 563, [19, null]],
-[21, ["number", 100], 1375, 605, [19, null]],
-[22, ["setxy2", 0], 1317, 1065, [87, 23, 29, 30]],
-[23, ["number", -300], 1375, 1065, [22, null]],
-[24, ["number", 80], 1453, 1149, [29, null]],
-[25, ["setxy2", 0], 1317, 1233, [17, 26, 27, 8]],
-[26, ["number", 0], 1375, 1233, [25, null]],
-[27, ["number", 0], 1375, 1275, [25, null]],
-[28, "ycor", 1429, 1107, [29, null]],
-[29, ["minus2", 0], 1375, 1107, [22, 28, 24]],
-[30, ["vspace", 0], 1317, 1149, [22, 17]],
-[31, "storeinbox1", 33, 1259, [16, 34, null]],
-[32, ["number", 1], 205, 1301, [34, null]],
-[33, "box1", 205, 1259, [34, null]],
-[34, ["plus2", 0], 151, 1259, [31, 33, 32]],
-[35, "box1", 91, 1217, [16, null]],
-[36, ["number", 3], 1392, 427, [15, null]],
-[37, ["if", 0], 33, 1049, [14, 41, 38, 73]],
-[38, "storeinbox1", 51, 1115, [37, 39, null]],
-[39, ["number", 0], 169, 1115, [38, null]],
-[40, "box1", 135, 1015, [41, null]],
-[41, ["greater2", 0], 89, 1015, [37, 40, 42, null]],
-[42, ["number", 3], 159, 1057, [41, null]],
-[43, ["number", 1], 1384, 194, [69, null]],
-[44, "penup", 1344, 270, [71, 45]],
-[45, ["setxy2", 0], 1344, 312, [44, 46, 47, 85]],
-[46, ["number", -300], 1402, 312, [45, null]],
-[47, ["number", 100], 1402, 354, [45, null]],
-[48, ["setxy2", 0], 1344, 984, [77, 49, 50, 53]],
-[49, ["number", -300], 1402, 984, [48, null]],
-[50, ["minus2", 0], 1402, 1026, [48, 51, 52]],
-[51, "ycor", 1456, 1026, [50, null]],
-[52, ["number", 40.0], 1480, 1068, [50, null]],
-[53, ["vspace", 0], 1344, 1068, [48, 54]],
-[54, "show", 1344, 1110, [53, 55, 56]],
-[55, ["string", "The turtle can go forward, back, left, and right."], 1402, 1110, [54, null]],
-[56, ["setxy2", 0], 1344, 1152, [54, 57, 58, 59]],
-[57, ["number", 0], 1402, 1152, [56, null]],
-[58, ["number", 0], 1402, 1194, [56, null]],
-[59, "pendown", 1344, 1236, [56, null]],
-[60, ["setxy2", 0], 1344, 480, [85, 61, 62, 81]],
-[61, ["number", -300], 1402, 480, [60, null]],
-[62, ["number", 25.0], 1402, 522, [60, null]],
-[63, ["setxy2", 0], 1344, 648, [81, 64, 65, 79]],
-[64, ["number", -300], 1402, 648, [63, null]],
-[65, ["number", -50.0], 1402, 690, [63, null]],
-[66, ["setxy2", 0], 1344, 816, [79, 67, 68, 77]],
-[67, ["number", -300], 1402, 816, [66, null]],
-[68, ["number", -125], 1402, 858, [66, null]],
-[69, "hat", 1326, 182, [null, 43, 71]],
-[70, "showblocks", 33, 923, [10, 75]],
-[71, "sandwichclampcollapsed", 1326, 236, [69, 44, null]],
-[72, "sandwichclampcollapsed", 1334, 469, [15, 156, null]],
-[73, ["loadblock", 0], 33, 1175, [37, 74, 16]],
-[74, ["string", "delete"], 91, 1175, [73, null]],
-[75, "loadpalette", 33, 965, [70, 76, 14]],
-[76, ["string", "turtle"], 94, 965, [75, null]],
-[77, ["loadblock2arg", 0], 1344, 900, [66, 78, 97, 48]],
-[78, ["string", "right"], 1402, 900, [77, null]],
-[79, ["loadblock2arg", 0], 1344, 732, [63, 80, 96, 66]],
-[80, ["string", "left"], 1402, 732, [79, null]],
-[81, ["loadblock2arg", 0], 1344, 564, [60, 82, 95, 63]],
-[82, ["string", "back"], 1402, 564, [81, null]],
-[83, ["loadblock2arg", 0], 1317, 647, [19, 84, 91, 1]],
-[84, ["string", "repeat"], 1375, 647, [83, null]],
-[85, ["loadblock2arg", 0], 1344, 396, [45, 86, 94, 60]],
-[86, ["string", "forward"], 1402, 396, [85, null]],
-[87, ["loadblock2arg", 0], 1317, 981, [89, 88, 93, 22]],
-[88, ["string", "right"], 1375, 981, [87, null]],
-[89, ["loadblock2arg", 0], 1317, 897, [6, 90, 92, 87]],
-[90, ["string", "forward"], 1375, 897, [89, null]],
-[91, ["number", 4], 1375, 689, [83, null]],
-[92, ["number", 100], 1375, 939, [89, null]],
-[93, ["number", 90], 1375, 1023, [87, null]],
-[94, ["number", 100], 1402, 438, [85, null]],
-[95, ["number", 100], 1402, 606, [81, null]],
-[96, ["number", 90], 1402, 774, [79, null]],
-[97, ["number", 90], 1402, 942, [77, null]],
-[98, "hat", 1327, 69, [null, 99, 100]],
-[99, ["number", 0], 1385, 81, [98, null]],
-[100, "sandwichclampcollapsed", 1327, 123, [98, 101, null]],
-[101, "penup", 1310, 133, [100, 102]],
-[102, ["setxy2", 0], 1310, 175, [101, 103, 104, 105]],
-[103, ["number", -300], 1368, 175, [102, null]],
-[104, ["number", -75], 1368, 217, [102, null]],
-[105, ["loadblock2arg", 0], 1310, 259, [102, 106, 107, 108]],
-[106, ["string", "forward"], 1368, 259, [105, null]],
-[107, ["number", 100], 1368, 301, [105, null]],
-[108, ["setxy2", 0], 1310, 343, [105, 109, 110, 113]],
-[109, ["number", -300], 1368, 343, [108, null]],
-[110, ["minus2", 0], 1368, 385, [108, 111, 112]],
-[111, "ycor", 1422, 385, [110, null]],
-[112, ["number", 75], 1446, 427, [110, null]],
-[113, ["vspace", 0], 1310, 427, [108, 114]],
-[114, "show", 1310, 469, [113, 115, 116]],
-[115, ["string", "The turtle goes forward 100 steps."], 1368, 469, [114, null]],
-[116, ["setxy2", 0], 1310, 511, [114, 117, 118, 119]],
-[117, ["number", 0], 1368, 511, [116, null]],
-[118, ["number", 0], 1368, 553, [116, null]],
-[119, "pendown", 1310, 595, [116, 120]],
-[120, "forward", 1310, 637, [119, 121, null]],
-[121, ["number", 100], 1381, 637, [120, null]],
-[122, "hat", 1329, 296, [null, 123, 124]],
-[123, ["number", 2], 1387, 308, [122, null]],
-[124, "sandwichclampcollapsed", 1329, 350, [122, 125, null]],
-[125, "penup", 1312, 360, [124, 126]],
-[126, ["setxy2", 0], 1312, 402, [125, 127, 128, 129]],
-[127, ["number", -300], 1370, 402, [126, null]],
-[128, ["number", 100], 1370, 444, [126, null]],
-[129, ["loadblock2arg", 0], 1312, 486, [126, 130, 131, 132]],
-[130, ["string", "forward"], 1370, 486, [129, null]],
-[131, ["number", 100], 1370, 528, [129, null]],
-[132, ["loadblock2arg", 0], 1312, 570, [129, 136, 133, 134]],
-[133, ["number", 45], 1370, 612, [132, null]],
-[134, ["loadblock2arg", 0], 1312, 654, [132, 149, 135, 137]],
-[135, ["number", 100], 1370, 696, [134, null]],
-[136, ["string", "right"], 1370, 570, [132, null]],
-[137, ["setxy2", 0], 1312, 738, [134, 138, 139, 142]],
-[138, ["number", -300], 1370, 738, [137, null]],
-[139, ["minus2", 0], 1370, 780, [137, 140, 141]],
-[140, "ycor", 1424, 780, [139, null]],
-[141, ["number", 200], 1448, 822, [139, null]],
-[142, ["vspace", 0], 1312, 822, [137, 143]],
-[143, "show", 1312, 864, [142, 144, 145]],
-[144, ["string", "The turtle will run each command in a stack of blocks\nstarting from the top."], 1370, 864, [143, null]],
-[145, ["setxy2", 0], 1312, 906, [143, 146, 147, 148]],
-[146, ["number", 0], 1370, 906, [145, null]],
-[147, ["number", 0], 1370, 948, [145, null]],
-[148, "pendown", 1312, 990, [145, 150]],
-[149, ["string", "forward"], 1370, 654, [134, null]],
-[150, "forward", 1312, 1032, [148, 151, 152]],
-[151, ["number", 100], 1383, 1032, [150, null]],
-[152, "right", 1312, 1074, [150, 153, 154]],
-[153, ["number", 45], 1370, 1074, [152, null]],
-[154, "forward", 1312, 1116, [152, 155, null]],
-[155, ["number", 100], 1383, 1116, [154, null]],
-[156, "loadpalette", 1317, 479, [72, 157, 7]],
-[157, ["string", "flow"], 1378, 479, [156, null]],
-[158, ["repeat", 21], 1317, 1359, [8, 159, 160, null]],
-[159, ["number", 4], 1376, 1359, [158, null]],
-[160, "forward", 1335, 1401, [158, 161, 162]],
-[161, ["number", 100], 1406, 1401, [160, null]],
-[162, "right", 1335, 1443, [160, 163, null]],
-[163, ["number", 90], 1393, 1443, [162, null]],
-[164, "comment", 30, 596, [0, 165, 12]],
-[165, ["string", "click start"], 113, 596, [164, null]],
-[166, ["plus2", 0], 1375, 813, [1, 4, 9]]]
+[[0, ["start", 2.0], 788, 178, [null, 67]],
+[1, "forward", 437, 523, [6, 2, 3]],
+[2, ["number", 100], 508, 523, [1, null]],
+[3, "right", 437, 565, [1, 5, null]],
+[4, ["number", 360], 565, 565, [5, null]],
+[5, ["division2", 0], 495, 565, [3, 4, 58]],
+[6, ["repeat", 21], 419, 481, [26, 56, 1, null]],
+[7, ["repeat", 168], 29, 324, [39, 8, 16, null]],
+[8, ["number", 10], 88, 324, [7, null]],
+[9, "startfill", 47, 450, [11, 28]],
+[10, "stopfill", 47, 534, [28, 17]],
+[11, "setgray", 47, 408, [16, 13, 9]],
+[12, ["number", 300], 190, 408, [13, null]],
+[13, ["division2", 0], 120, 408, [11, 12, 48]],
+[14, ["number", 1], 212, 744, [15, null]],
+[15, ["minus2", 0], 115, 702, [46, 50, 14]],
+[16, "setcolor", 47, 366, [7, 66, 11]],
+[17, "setcolor", 47, 576, [10, 71, 30]],
+[18, ["repeat", 21], 418, 240, [24, 52, 19, null]],
+[19, "forward", 436, 282, [18, 20, 23]],
+[20, ["number", 100], 507, 282, [19, null]],
+[21, ["division2", 0], 494, 324, [23, 22, 54]],
+[22, ["number", 360], 564, 324, [21, null]],
+[23, "left", 436, 324, [19, 21, null]],
+[24, "hat", 418, 186, [null, 25, 18]],
+[25, ["number", 2], 476, 198, [24, null]],
+[26, "hat", 419, 427, [null, 27, 6]],
+[27, ["number", 1], 477, 439, [26, null]],
+[28, "stack", 47, 492, [9, 60, 10]],
+[29, ["number", 1], 856, 392, [42, null]],
+[30, "stack", 47, 618, [17, 64, 46]],
+[31, ["repeat", 42], 788, 434, [42, 32, 37, null]],
+[32, ["number", 2], 847, 434, [31, null]],
+[33, ["number", 1], 928, 602, [34, null]],
+[34, ["plus2", 0], 874, 560, [44, 62, 33]],
+[35, "hat", 29, 186, [null, 36, 39]],
+[36, ["string", "action"], 87, 198, [35, null]],
+[37, "stack", 806, 476, [31, 38, 44]],
+[38, ["string", "action"], 864, 476, [37, null]],
+[39, ["storein", 0], 29, 240, [35, 40, 41, 7]],
+[40, ["string", "box 1"], 97, 240, [39, null]],
+[41, ["number", 12], 97, 282, [39, null]],
+[42, ["storein", 0], 788, 350, [67, 43, 29, 31]],
+[43, ["string", "box 2"], 856, 350, [42, null]],
+[44, ["storein", 0], 806, 518, [37, 45, 34, null]],
+[45, ["string", "box 2"], 874, 518, [44, null]],
+[46, ["storein", 0], 47, 660, [30, 47, 15, null]],
+[47, ["string", "box 1"], 115, 660, [46, null]],
+[48, "box", 214, 450, [13, 49, null]],
+[49, ["string", "box 1"], 269, 450, [48, null]],
+[50, "box", 188, 702, [15, 51, null]],
+[51, ["string", "box 1"], 243, 702, [50, null]],
+[52, "box", 477, 240, [18, 53, null]],
+[53, ["string", "box 1"], 532, 240, [52, null]],
+[54, "box", 588, 366, [21, 55, null]],
+[55, ["string", "box 1"], 643, 366, [54, null]],
+[56, "box", 478, 481, [6, 57, null]],
+[57, ["string", "box 1"], 533, 481, [56, null]],
+[58, "box", 589, 607, [5, 59, null]],
+[59, ["string", "box 1"], 644, 607, [58, null]],
+[60, "box", 105, 492, [28, 61, null]],
+[61, ["string", "box 2"], 160, 492, [60, null]],
+[62, "box", 928, 560, [34, 63, null]],
+[63, ["string", "box 2"], 983, 560, [62, null]],
+[64, "box", 105, 618, [30, 65, null]],
+[65, ["string", "box 2"], 160, 618, [64, null]],
+[66, "red", 124, 366, [16, null]],
+[67, "fillscreen2", 788, 224, [0, 68, 69, 70, 42]],
+[68, ["number", 60], 870, 224, [67, null]],
+[69, ["number", 80], 870, 266, [67, null]],
+[70, ["number", 100], 870, 308, [67, null]],
+[71, "orange", 124, 576, [17, null]]]
diff --git a/samples/card-09.tb b/samples/card-09.tb
index a27a571..d8aa2af 100644
--- a/samples/card-09.tb
+++ b/samples/card-09.tb
@@ -18,5 +18,4 @@
[17, "right", 758, 440, [16, 18, 8]],
[18, ["number", 89.0], 816, 440, [17, null]],
[19, "box", 829, 398, [16, 20, null]],
-[20, ["string", "side"], 884, 398, [19, null]],
-[-1, ["turtle", "Yertle"], -26.21568853696948, -287.3212785525785, 320.0, 0, 50, 5]] \ No newline at end of file
+[20, ["string", "side"], 884, 398, [19, null]]]
diff --git a/samples/card-17.tb b/samples/card-17.tb
index acc7775..7213132 100644
--- a/samples/card-17.tb
+++ b/samples/card-17.tb
@@ -51,5 +51,4 @@
[50, "setcolor", 205, 332, [1, 51, 5]],
[51, ["number", 0.0], 282, 332, [50, null]],
[52, ["minus2", 0], 1055, 341, [29, 32, 31]],
-[53, ["minus2", 0], 1055, 467, [39, 42, 41]],
-[-1, ["turtle", "Yertle"], -1.5631940186722204e-13, 1.7053025658242404e-13, 2.2737367544323206e-13, 90.0, 50, 5]] \ No newline at end of file
+[53, ["minus2", 0], 1055, 467, [39, 42, 41]]]
diff --git a/samples/game-spiralaterals.ta b/samples/game-spiralaterals.ta
index d8b95fd..26c116e 100644
--- a/samples/game-spiralaterals.ta
+++ b/samples/game-spiralaterals.ta
@@ -1,64 +1,68 @@
-[[0, ["start", 2.0], 60, 200, [null, 60]],
-[1, "forward", 700, 274, [40, 6, 7]],
-[2, "right", 700, 358, [7, 3, null]],
-[3, ["number", 90], 758, 358, [2, null]],
-[4, ["number", 20.0], 128, 288, [60, null]],
-[5, "pop", 825, 316, [6, null]],
-[6, ["product2", 0], 771, 274, [1, 62, 5]],
-[7, ["vspace", 0], 700, 316, [1, 2]],
-[8, "push", 440, 254, [36, 9, 42]],
-[9, ["number", 1], 498, 254, [8, null]],
-[10, ["repeat", 0], 78, 832, [12, 11, 38, null]],
-[11, ["number", 4], 137, 832, [10, null]],
-[12, ["vspace", 0], 78, 790, [23, 10]],
-[13, ["repeat", 218], 60, 414, [33, 14, 28, null]],
-[14, ["number", 400], 119, 414, [13, null]],
-[15, ["vspace", 0], 78, 664, [16, 32]],
-[16, ["setxy2", 20], 78, 540, [27, 17, 18, 15]],
-[17, ["random", 0], 136, 540, [16, 19, 21, null]],
-[18, ["random", 0], 136, 622, [16, 20, 22, null]],
-[19, "leftpos", 222, 540, [17, null]],
-[20, "bottompos", 222, 622, [18, null]],
-[21, "rightpos", 222, 582, [17, null]],
-[22, "toppos", 222, 664, [18, null]],
-[23, "setcolor", 78, 748, [32, 24, 12]],
-[24, ["random", 0], 155, 748, [23, 25, 26, null]],
-[25, ["number", 0], 241, 748, [24, null]],
-[26, ["number", 100], 241, 790, [24, null]],
-[27, "penup", 78, 498, [28, 16]],
-[28, "seth", 78, 456, [13, 29, 27]],
-[29, ["random", 0], 136, 456, [28, 30, 31, null]],
-[30, ["number", 0], 222, 456, [29, null]],
-[31, ["number", 90], 222, 498, [29, null]],
-[32, "pendown", 78, 706, [15, 23]],
-[33, ["fillscreen", 0], 60, 330, [60, 34, 35, 13]],
-[34, "black", 142, 330, [33, null]],
-[35, ["number", 0], 142, 372, [33, null]],
-[36, "hat", 440, 200, [null, 37, 8]],
-[37, ["string", "action"], 498, 212, [36, null]],
-[38, "stack", 96, 874, [10, 39, null]],
-[39, ["string", "action"], 154, 874, [38, null]],
-[40, "hat", 700, 220, [null, 41, 1]],
-[41, ["string", "action 2"], 758, 232, [40, null]],
-[42, "stack", 440, 296, [8, 43, 44]],
-[43, ["string", "action 2"], 498, 296, [42, null]],
-[44, "push", 440, 338, [42, 45, 46]],
-[45, ["number", 1], 498, 338, [44, null]],
-[46, "stack", 440, 380, [44, 47, 48]],
-[47, ["string", "action 2"], 498, 380, [46, null]],
-[48, "push", 440, 422, [46, 49, 50]],
-[49, ["number", 1], 498, 422, [48, null]],
-[50, "stack", 440, 464, [48, 51, 52]],
-[51, ["string", "action 2"], 498, 464, [50, null]],
-[52, "push", 440, 506, [50, 53, 54]],
-[53, ["number", 3.0], 498, 506, [52, null]],
-[54, "stack", 440, 548, [52, 55, 56]],
-[55, ["string", "action 2"], 498, 548, [54, null]],
-[56, "push", 440, 590, [54, 57, 58]],
-[57, ["number", 2.0], 498, 590, [56, null]],
-[58, "stack", 440, 632, [56, 59, null]],
-[59, ["string", "action 2"], 498, 632, [58, null]],
-[60, ["storein", 0], 60, 246, [0, 61, 4, 33]],
-[61, ["string", "my box"], 128, 246, [60, null]],
-[62, "box", 825, 274, [6, 63, null]],
-[63, ["string", "my box"], 880, 274, [62, null]]]
+[[0, ["start", 2.0], 400, 80, [null, 59]],
+[1, "forward", 400, 454, [39, 6, 7]],
+[2, "right", 400, 538, [7, 3, null]],
+[3, ["number", 90], 458, 538, [2, null]],
+[4, ["number", 20], 468, 168, [59, null]],
+[5, "pop", 525, 496, [6, null]],
+[6, ["product2", 0], 471, 454, [1, 61, 5]],
+[7, ["vspace", 0], 400, 496, [1, 2]],
+[8, "push", 720, 134, [35, 9, 41]],
+[9, ["number", 1], 778, 134, [8, null]],
+[10, ["repeat", 0], 940, 510, [12, 11, 37, null]],
+[11, ["number", 4], 999, 510, [10, null]],
+[12, ["vspace", 0], 940, 468, [23, 10]],
+[13, ["repeat", 0], 400, 294, [33, 14, 66, null]],
+[14, ["number", 100.0], 459, 294, [13, null]],
+[15, ["vspace", 0], 940, 342, [16, 32]],
+[16, ["setxy2", 20], 940, 218, [27, 17, 18, 15]],
+[17, ["random", 0], 998, 218, [16, 19, 21, null]],
+[18, ["random", 0], 998, 300, [16, 20, 22, null]],
+[19, "leftpos", 1084, 218, [17, null]],
+[20, "bottompos", 1084, 300, [18, null]],
+[21, "rightpos", 1084, 260, [17, null]],
+[22, "toppos", 1084, 342, [18, null]],
+[23, "setcolor", 940, 426, [32, 24, 12]],
+[24, ["random", 0], 1017, 426, [23, 25, 26, null]],
+[25, ["number", 0], 1103, 426, [24, null]],
+[26, ["number", 100], 1103, 468, [24, null]],
+[27, "penup", 940, 176, [28, 16]],
+[28, "seth", 940, 134, [64, 29, 27]],
+[29, ["random", 0], 1039, 134, [28, 30, 31, null]],
+[30, ["number", 0], 1125, 134, [29, null]],
+[31, ["number", 90], 1125, 176, [29, null]],
+[32, "pendown", 940, 384, [15, 23]],
+[33, ["fillscreen", 0], 400, 210, [59, 34, 63, 13]],
+[34, ["number", 0], 482, 210, [33, null]],
+[35, "hat", 720, 80, [null, 36, 8]],
+[36, ["string", "line"], 778, 92, [35, null]],
+[37, "stack", 958, 552, [10, 38, null]],
+[38, ["string", "line"], 1016, 552, [37, null]],
+[39, "hat", 400, 400, [null, 40, 1]],
+[40, ["string", "segment"], 458, 412, [39, null]],
+[41, "stack", 720, 176, [8, 42, 43]],
+[42, ["string", "segment"], 778, 176, [41, null]],
+[43, "push", 720, 218, [41, 44, 45]],
+[44, ["number", 1], 778, 218, [43, null]],
+[45, "stack", 720, 260, [43, 46, 47]],
+[46, ["string", "segment"], 778, 260, [45, null]],
+[47, "push", 720, 302, [45, 48, 49]],
+[48, ["number", 1], 778, 302, [47, null]],
+[49, "stack", 720, 344, [47, 50, 51]],
+[50, ["string", "segment"], 778, 344, [49, null]],
+[51, "push", 720, 386, [49, 52, 53]],
+[52, ["number", 3], 778, 386, [51, null]],
+[53, "stack", 720, 428, [51, 54, 55]],
+[54, ["string", "segment"], 778, 428, [53, null]],
+[55, "push", 720, 470, [53, 56, 57]],
+[56, ["number", 2], 778, 470, [55, null]],
+[57, "stack", 720, 512, [55, 58, null]],
+[58, ["string", "segment"], 778, 512, [57, null]],
+[59, ["storein", 0], 400, 126, [0, 60, 4, 33]],
+[60, ["string", "my box"], 468, 126, [59, null]],
+[61, "box", 525, 454, [6, 62, null]],
+[62, ["string", "my box"], 580, 454, [61, null]],
+[63, "white", 482, 252, [33, null]],
+[64, "hat", 940, 80, [null, 65, 28]],
+[65, ["string", "spiralateral"], 998, 92, [64, null]],
+[66, "stack", 418, 336, [13, 67, null]],
+[67, ["string", "spiralateral"], 476, 336, [66, null]]]
diff --git a/samples/graphics-csquiral.ta b/samples/graphics-csquiral.ta
index 397b665..8ab4677 100644
--- a/samples/graphics-csquiral.ta
+++ b/samples/graphics-csquiral.ta
@@ -20,5 +20,4 @@
[19, ["plus2", 0], 855, 532, [18, 20, 21]],
[20, "box1", 909, 532, [19, null]],
[21, ["number", 1], 909, 574, [19, null]],
-[22, ["vspace", 0], 737, 448, [12, 16]],
-[-1, ["turtle", "Yertle"], 907.9985581895907, 87.04554561204145, 220.0, 151.33309303159845, 220.0, 20.0]] \ No newline at end of file
+[22, ["vspace", 0], 737, 448, [12, 16]]]
diff --git a/samples/graphics-redwisp.ta b/samples/graphics-redwisp.ta
index 4f3fcee..b5658e9 100644
--- a/samples/graphics-redwisp.ta
+++ b/samples/graphics-redwisp.ta
@@ -37,5 +37,4 @@
[36, ["string", "my box"], 586, 252, [35, null]],
[37, "box", 673, 378, [10, 38, null]],
[38, ["string", "my box"], 728, 378, [37, null]],
-[39, ["vspace", 0], 518, 420, [5, 33]],
-[-1, ["turtle", "Yertle"], 0.0, 0.0, 0.0, 99.72222222222223, 50, 15.0]] \ No newline at end of file
+[39, ["vspace", 0], 518, 420, [5, 33]]]
diff --git a/samples/math-dice.ta b/samples/math-dice.ta
index ee1f310..0fed83b 100644
--- a/samples/math-dice.ta
+++ b/samples/math-dice.ta
@@ -1,115 +1,119 @@
-[[0, ["start", 1.334], 400, 120, [null, 20]],
-[1, ["random", 0], 293, 567, [7, 2, 3, null]],
-[2, ["number", 1], 350, 567, [1, null]],
-[3, ["number", 6], 350, 595, [1, null]],
-[4, ["random", 0], 293, 512, [7, 5, 6, null]],
-[5, ["number", 1], 350, 512, [4, null]],
-[6, ["number", 6], 350, 540, [4, null]],
-[7, ["plus2", 20], 257, 512, [75, 4, 1]],
-[8, ["storein", 0], 212, 622, [12, 93, 11, null]],
-[9, ["number", 1], 293, 678, [11, null]],
-[10, "box", 293, 650, [11, 95, null]],
-[11, ["plus2", 0], 257, 650, [8, 10, 9]],
-[12, ["vspace", 40], 212, 540, [75, 8]],
-[13, ["repeat", 124], 200, 456, [14, 23, 75, null]],
-[14, "hat", 200, 420, [null, 15, 13]],
-[15, ["string", "toss dice"], 239, 428, [14, null]],
-[16, "stack", 400, 235, [27, 17, 18]],
-[17, ["string", "toss dice"], 439, 235, [16, null]],
-[18, "stack", 400, 263, [16, 19, null]],
-[19, ["string", "plot results"], 439, 263, [18, null]],
-[20, ["storein", 0], 400, 151, [0, 21, 22, 27]],
-[21, ["string", "trials"], 445, 151, [20, null]],
-[22, ["number", 1600], 445, 179, [20, null]],
-[23, "box", 239, 456, [13, 24, null]],
-[24, ["string", "trials"], 276, 456, [23, null]],
-[25, "hat", 200, 180, [null, 26, 82]],
-[26, ["string", "clear bins"], 239, 188, [25, null]],
-[27, "stack", 400, 207, [20, 28, 16]],
-[28, ["string", "clear bins"], 439, 207, [27, null]],
-[29, ["storein", 0], 212, 300, [33, 85, 30, 107]],
-[30, ["number", 0], 257, 328, [29, null]],
-[31, ["number", 1], 1001, 252, [32, null]],
-[32, ["plus2", 0], 965, 224, [80, 87, 31]],
-[33, ["repeat", 42], 200, 272, [82, 34, 29, null]],
-[34, ["number", 11], 239, 272, [33, null]],
-[35, "hat", 480, 420, [null, 36, 61]],
-[36, ["string", "plot results"], 519, 428, [35, null]],
-[37, "penup", 700, 456, [101, 39]],
-[38, "pendown", 700, 678, [68, 113]],
-[39, ["setxy2", 40], 700, 484, [37, 41, 40, 65]],
-[40, ["number", 0], 739, 566, [39, null]],
-[41, ["product2", 0], 739, 484, [39, 44, 42]],
-[42, ["minus2", 0], 775, 512, [41, 89, 43]],
-[43, ["number", 6], 840, 540, [42, null]],
-[44, ["number", 50], 775, 484, [41, null]],
-[45, ["repeat", 0], 480, 568, [77, 46, 103, 70]],
-[46, ["number", 11], 519, 568, [45, null]],
-[47, ["repeat", 63], 960, 512, [56, 48, 49, 57]],
-[48, ["number", 2], 999, 512, [47, null]],
-[49, "forward", 972, 540, [47, 64, 50]],
-[50, "right", 972, 568, [49, 51, 52]],
-[51, ["number", 90], 1011, 568, [50, null]],
-[52, "forward", 972, 596, [50, 53, 54]],
-[53, ["number", 40], 1019, 596, [52, null]],
-[54, "right", 972, 624, [52, 55, null]],
-[55, ["number", 90], 1011, 624, [54, null]],
-[56, "startfill", 960, 484, [58, 47]],
-[57, "stopfill", 960, 664, [47, 109]],
-[58, "setcolor", 960, 456, [111, 60, 56]],
-[59, ["number", 10], 1047, 484, [60, null]],
-[60, ["product2", 0], 1011, 456, [58, 97, 59]],
-[61, "clean", 480, 456, [35, 62]],
-[62, "setshade", 480, 484, [61, 63, 77]],
-[63, ["number", 25], 537, 484, [62, null]],
-[64, "box", 1019, 540, [49, 99, null]],
-[65, "back", 700, 594, [39, 66, 67]],
-[66, ["number", 100.0], 739, 594, [65, null]],
-[67, "show", 700, 622, [65, 91, 68]],
-[68, "forward", 700, 650, [67, 69, 38]],
-[69, ["number", 100.0], 747, 650, [68, null]],
-[70, "penup", 480, 636, [45, 72]],
-[71, "pendown", 480, 720, [72, null]],
-[72, ["setxy2", 0], 480, 664, [70, 73, 74, 71]],
-[73, ["number", 0], 519, 664, [72, null]],
-[74, ["number", -50], 519, 692, [72, null]],
-[75, ["storein", 0], 212, 484, [13, 76, 7, 12]],
-[76, ["string", "box"], 257, 484, [75, null]],
-[77, ["storein", 0], 480, 512, [62, 78, 79, 45]],
-[78, ["string", "box"], 525, 512, [77, null]],
-[79, ["number", 2], 525, 540, [77, null]],
-[80, ["storein", 0], 920, 196, [105, 81, 32, null]],
-[81, ["string", "box"], 965, 196, [80, null]],
-[82, ["storein", 0], 200, 216, [25, 83, 84, 33]],
-[83, ["string", "box"], 245, 216, [82, null]],
-[84, ["number", 2], 245, 244, [82, null]],
-[85, "box", 257, 300, [29, 86, null]],
-[86, ["string", "box"], 294, 300, [85, null]],
-[87, "box", 1001, 224, [32, 88, null]],
-[88, ["string", "box"], 1038, 224, [87, null]],
-[89, "box", 824, 512, [42, 90, null]],
-[90, ["string", "box"], 861, 512, [89, null]],
-[91, "box", 739, 622, [67, 92, null]],
-[92, ["string", "box"], 776, 622, [91, null]],
-[93, "box", 257, 622, [8, 94, null]],
-[94, ["string", "box"], 294, 622, [93, null]],
-[95, "box", 330, 650, [10, 96, null]],
-[96, ["string", "box"], 367, 650, [95, null]],
-[97, "box", 1047, 456, [60, 98, null]],
-[98, ["string", "box"], 1084, 456, [97, null]],
-[99, "box", 1056, 540, [64, 100, null]],
-[100, ["string", "box"], 1093, 540, [99, null]],
-[101, "hat", 700, 420, [null, 102, 37]],
-[102, ["string", "bar graph"], 739, 428, [101, null]],
-[103, "stack", 492, 596, [45, 104, null]],
-[104, ["string", "bar graph"], 531, 596, [103, null]],
-[105, "hat", 920, 160, [null, 106, 80]],
-[106, ["string", "next bin"], 959, 168, [105, null]],
-[107, "stack", 212, 356, [29, 108, null]],
-[108, ["string", "next bin"], 251, 356, [107, null]],
-[109, "stack", 960, 692, [57, 110, null]],
-[110, ["string", "next bin"], 999, 692, [109, null]],
-[111, "hat", 960, 420, [null, 112, 58]],
-[112, ["string", "bar"], 999, 428, [111, null]],
-[113, "stack", 700, 706, [38, 114, null]],
-[114, ["string", "bar"], 739, 706, [113, null]]]
+[[0, ["start", 1.334], 160, 100, [null, 20]],
+[1, ["random", 0], 258, 507, [7, 2, 3, null]],
+[2, ["number", 1], 319, 507, [1, null]],
+[3, ["number", 6], 319, 535, [1, null]],
+[4, ["random", 0], 258, 452, [7, 5, 6, null]],
+[5, ["number", 1], 319, 452, [4, null]],
+[6, ["number", 6], 319, 480, [4, null]],
+[7, ["plus2", 20], 222, 452, [75, 4, 1]],
+[8, ["storein", 0], 172, 562, [12, 93, 11, null]],
+[9, ["number", 1], 258, 618, [11, null]],
+[10, "box", 258, 590, [11, 95, null]],
+[11, ["plus2", 0], 222, 590, [8, 10, 9]],
+[12, ["vspace", 40], 172, 480, [75, 8]],
+[13, ["repeat", 122], 160, 396, [14, 23, 75, null]],
+[14, "hat", 160, 360, [null, 15, 13]],
+[15, ["string", "toss dice"], 200, 368, [14, null]],
+[16, "stack", 160, 215, [27, 17, 18]],
+[17, ["string", "toss dice"], 200, 215, [16, null]],
+[18, "stack", 160, 243, [16, 19, null]],
+[19, ["string", "plot results"], 200, 243, [18, null]],
+[20, ["storein", 0], 160, 131, [0, 21, 22, 27]],
+[21, ["string", "trials"], 210, 131, [20, null]],
+[22, ["number", 1600], 210, 159, [20, null]],
+[23, "box", 202, 396, [13, 24, null]],
+[24, ["string", "trials"], 239, 396, [23, null]],
+[25, "hat", 440, 420, [null, 26, 82]],
+[26, ["string", "clear bins"], 480, 428, [25, null]],
+[27, "stack", 160, 187, [20, 28, 16]],
+[28, ["string", "clear bins"], 200, 187, [27, null]],
+[29, ["storein", 0], 452, 540, [33, 85, 30, 107]],
+[30, ["number", 0], 502, 568, [29, null]],
+[31, ["number", 1], 926, 512, [32, null]],
+[32, ["plus2", 0], 890, 484, [80, 87, 31]],
+[33, ["repeat", 40], 440, 512, [82, 34, 29, null]],
+[34, ["number", 11], 482, 512, [33, null]],
+[35, "hat", 340, 20, [null, 36, 61]],
+[36, ["string", "plot results"], 380, 28, [35, null]],
+[37, "penup", 1080, 56, [101, 39]],
+[38, "pendown", 1080, 278, [68, 113]],
+[39, ["setxy2", 40], 1080, 84, [37, 41, 40, 65]],
+[40, ["number", 0], 1120, 166, [39, null]],
+[41, ["product2", 0], 1120, 84, [39, 44, 42]],
+[42, ["minus2", 0], 1156, 112, [41, 89, 43]],
+[43, ["number", 6], 1227, 140, [42, null]],
+[44, ["number", 50], 1156, 84, [41, null]],
+[45, ["repeat", 0], 340, 252, [77, 46, 103, 70]],
+[46, ["number", 11], 382, 252, [45, null]],
+[47, ["repeat", 59], 1080, 432, [56, 48, 49, 57]],
+[48, ["number", 2], 1122, 432, [47, null]],
+[49, "forward", 1092, 460, [47, 64, 50]],
+[50, "right", 1092, 488, [49, 51, 52]],
+[51, ["number", 90], 1131, 488, [50, null]],
+[52, "forward", 1092, 516, [50, 53, 54]],
+[53, ["number", 40], 1142, 516, [52, null]],
+[54, "right", 1092, 544, [52, 55, null]],
+[55, ["number", 90], 1131, 544, [54, null]],
+[56, "startfill", 1080, 404, [58, 47]],
+[57, "stopfill", 1080, 579, [47, 109]],
+[58, "setcolor", 1080, 376, [111, 60, 56]],
+[59, ["number", 10], 1172, 404, [60, null]],
+[60, ["product2", 0], 1136, 376, [58, 97, 59]],
+[61, "clean", 340, 56, [35, 115]],
+[62, "setshade", 340, 168, [115, 63, 77]],
+[63, ["number", 25], 403, 168, [62, null]],
+[64, "box", 1142, 460, [49, 99, null]],
+[65, "back", 1080, 194, [39, 66, 67]],
+[66, ["number", 100], 1119, 194, [65, null]],
+[67, "show", 1080, 222, [65, 91, 68]],
+[68, "forward", 1080, 250, [67, 69, 38]],
+[69, ["number", 100], 1130, 250, [68, null]],
+[70, "penup", 340, 319, [45, 72]],
+[71, "pendown", 340, 403, [72, null]],
+[72, ["setxy2", 0], 340, 347, [70, 73, 74, 71]],
+[73, ["number", 0], 380, 347, [72, null]],
+[74, ["number", -50], 380, 375, [72, null]],
+[75, ["storein", 0], 172, 424, [13, 76, 7, 12]],
+[76, ["string", "box"], 222, 424, [75, null]],
+[77, ["storein", 0], 340, 196, [62, 78, 79, 45]],
+[78, ["string", "box"], 390, 196, [77, null]],
+[79, ["number", 2], 390, 224, [77, null]],
+[80, ["storein", 0], 840, 456, [105, 81, 32, null]],
+[81, ["string", "box"], 890, 456, [80, null]],
+[82, ["storein", 0], 440, 456, [25, 83, 84, 33]],
+[83, ["string", "box"], 490, 456, [82, null]],
+[84, ["number", 2], 490, 484, [82, null]],
+[85, "box", 502, 540, [29, 86, null]],
+[86, ["string", "box"], 539, 540, [85, null]],
+[87, "box", 926, 484, [32, 88, null]],
+[88, ["string", "box"], 963, 484, [87, null]],
+[89, "box", 1211, 112, [42, 90, null]],
+[90, ["string", "box"], 1248, 112, [89, null]],
+[91, "box", 1119, 222, [67, 92, null]],
+[92, ["string", "box"], 1156, 222, [91, null]],
+[93, "box", 222, 562, [8, 94, null]],
+[94, ["string", "box"], 259, 562, [93, null]],
+[95, "box", 295, 590, [10, 96, null]],
+[96, ["string", "box"], 332, 590, [95, null]],
+[97, "box", 1172, 376, [60, 98, null]],
+[98, ["string", "box"], 1209, 376, [97, null]],
+[99, "box", 1179, 460, [64, 100, null]],
+[100, ["string", "box"], 1216, 460, [99, null]],
+[101, "hat", 1080, 20, [null, 102, 37]],
+[102, ["string", "bar graph"], 1120, 28, [101, null]],
+[103, "stack", 352, 280, [45, 104, null]],
+[104, ["string", "bar graph"], 392, 280, [103, null]],
+[105, "hat", 840, 420, [null, 106, 80]],
+[106, ["string", "next bin"], 880, 428, [105, null]],
+[107, "stack", 452, 596, [29, 108, null]],
+[108, ["string", "next bin"], 492, 596, [107, null]],
+[109, "stack", 1080, 607, [57, 110, null]],
+[110, ["string", "next bin"], 1120, 607, [109, null]],
+[111, "hat", 1080, 340, [null, 112, 58]],
+[112, ["string", "bar"], 1120, 348, [111, null]],
+[113, "stack", 1080, 306, [38, 114, null]],
+[114, ["string", "bar"], 1120, 306, [113, null]],
+[115, "fillscreen2", 340, 84, [61, 116, 118, 117, 62]],
+[116, ["number", 60], 402, 84, [115, null]],
+[117, ["number", 100], 402, 140, [115, null]],
+[118, "white", 402, 112, [115, null]]]
diff --git a/samples/sensors-psuedo-color.ta b/samples/sensors-psuedo-color.ta
index ab7284b..c5c8b97 100644
--- a/samples/sensors-psuedo-color.ta
+++ b/samples/sensors-psuedo-color.ta
@@ -1,6 +1,6 @@
[[0, ["start", 2.0], 165, 175, [null, 30]],
[1, "show", 165, 385, [24, 2, 6]],
-[2, ["journal", "/tmp/turtlepic.jpg"], 223, 385, [1, null]],
+[2, ["journal", "./samples/images/me.jpg"], 223, 385, [1, null]],
[3, "see", 367, 797, [15, null]],
[4, "repeat", 165, 553, [27, 5, 10, null]],
[5, ["number", 200], 213, 553, [4, null]],
diff --git a/samples/sensors-soundpaint.ta b/samples/sensors-soundpaint.ta
index 61f80d1..3a5dff3 100644
--- a/samples/sensors-soundpaint.ta
+++ b/samples/sensors-soundpaint.ta
@@ -1,14 +1,18 @@
-[[0, ["start", 2.0], 439, 13, [null, 1]],
-[1, ["forever", 135], 439, 59, [0, 9, null]],
-[2, ["setxy2", 0], 457, 279, [9, 3, 4, 8]],
-[3, "mousex", 515, 279, [2, null]],
-[4, "mousey", 515, 321, [2, null]],
-[5, "volume", 613, 363, [6, null]],
-[6, ["division2", 0], 559, 363, [8, 5, 7]],
-[7, ["number", 10], 637, 405, [6, null]],
-[8, "setpensize", 457, 363, [2, 6, null]],
+[[0, ["start", 2.0], 75, 137, [null, 13]],
+[1, ["forever", 135], 75, 309, [13, 9, null]],
+[2, ["setxy2", 0], 93, 529, [9, 3, 4, 8]],
+[3, "mousex", 151, 529, [2, null]],
+[4, "mousey", 151, 571, [2, null]],
+[5, "volume", 265, 613, [6, null]],
+[6, ["division2", 0], 195, 613, [8, 5, 7]],
+[7, ["number", 100.0], 289, 655, [6, null]],
+[8, "setpensize", 93, 613, [2, 6, null]],
[9, ["ifelse", [0, 0]],
-457, 93, [1, 10, 11, 12, 2]],
-[10, "mousebutton2", 513, 109, [9, null]],
-[11, "pendown", 475, 159, [9, null]],
-[12, "penup", 475, 219, [9, null]]]
+93, 343, [1, 10, 11, 12, 2]],
+[10, "mousebutton2", 149, 359, [9, null]],
+[11, "pendown", 111, 409, [9, null]],
+[12, "penup", 111, 469, [9, null]],
+[13, "fillscreen2", 75, 183, [0, 14, 16, 15, 1]],
+[14, ["number", 60], 157, 183, [13, null]],
+[15, ["number", 100], 157, 267, [13, null]],
+[16, "white", 157, 225, [13, null]]]
diff --git a/samples/sensors-valentine.ta b/samples/sensors-valentine.ta
index df7eba7..89a6dbf 100644
--- a/samples/sensors-valentine.ta
+++ b/samples/sensors-valentine.ta
@@ -109,5 +109,4 @@
[108, "setpensize", 64, 290, [49, 109, 14]],
[109, ["number", 7.0], 139, 290, [108, null]],
[110, "setpensize", 64, 402, [56, 111, 43]],
-[111, ["number", 5], 139, 402, [110, null]],
-[-1, ["turtle", "Yertle"], 0.0, 0.0, 0.0, 0, 50, 5.0]] \ No newline at end of file
+[111, ["number", 5], 139, 402, [110, null]]]