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-19 23:22:46 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-07-19 23:22:46 (GMT)
commitd5b174fddff019156715324784a47eaa75212cd9 (patch)
tree48ef258419d5175fda826cbe39fae66db0a23736
parent5111d9c2a39e32861074f74426267ab4791a3aa2 (diff)
News for v185v185
-rw-r--r--NEWS4
-rw-r--r--samples/sensors-valentine.ta220
2 files changed, 117 insertions, 107 deletions
diff --git a/NEWS b/NEWS
index 73cbe42..42a16ad 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,10 @@ ENHANCEMENTS:
* More sample graphics from turtleart.org
* Added pen state boolean
* Added new sensor-record example (generates turtle art program from mouse movements)
+* Some comments added to the code by Marion Zepf
+
+BUG FIX:
+* Fixed problem with load block introduced by turtle-centric rebase
184
diff --git a/samples/sensors-valentine.ta b/samples/sensors-valentine.ta
index e25992a..df7eba7 100644
--- a/samples/sensors-valentine.ta
+++ b/samples/sensors-valentine.ta
@@ -1,107 +1,113 @@
-[[0, ["start", 2.0], 260, 240, [null, 51]],
-[1, "hat1", 140, 240, [null, 100]],
-[2, "hat2", 17, 240, [null, 101]],
-[3, "setcolor", 21, 1208, [59, 103, 15]],
-[4, "stack1", 21, 956, [16, 58]],
-[5, "volume", 142, 788, [104, null]],
-[6, ["forever", 357], 3, 544, [98, 28, null]],
-[7, "penup", 158, 362, [63, 97]],
-[8, "pendown", 158, 446, [97, 66]],
-[9, "penup", 158, 530, [66, 71]],
-[10, "pendown", 158, 698, [74, null]],
-[11, "clean", 3, 424, [99, 12]],
-[12, ["fillscreen", 0], 3, 466, [11, 14, 13, 34]],
-[13, ["number", 80], 84, 508, [12, null]],
-[14, "white", 84, 466, [12, null]],
-[15, "stack1", 21, 1250, [3, 41]],
-[16, "setcolor", 21, 914, [60, 17, 4]],
-[17, "white", 98, 914, [16, null]],
-[18, ["storein", 0], 21, 662, [28, 19, 26, 22]],
-[19, ["string", "b"], 88, 662, [18, null]],
-[20, ["storein", 0], 3, 634, [34, 21, 40, 37]],
-[21, ["string", "b"], 70, 634, [20, null]],
-[22, ["storein", 0], 21, 746, [18, 23, 104, 106]],
-[23, ["string", "a"], 88, 746, [22, null]],
-[24, "box", 138, 1166, [59, 25, null]],
-[25, ["string", "a"], 192, 1166, [24, null]],
-[26, "box", 88, 704, [18, 27, null]],
-[27, ["string", "a"], 142, 704, [26, null]],
-[28, ["storein", 0], 21, 578, [6, 29, 30, 18]],
-[29, ["string", "c"], 88, 578, [28, null]],
-[30, "box", 88, 620, [28, 31, null]],
-[31, ["string", "b"], 142, 620, [30, null]],
-[32, "box", 138, 872, [60, 33, null]],
-[33, ["string", "c"], 192, 872, [32, null]],
-[34, ["storein", 0], 3, 550, [12, 35, 36, 20]],
-[35, ["string", "a"], 70, 550, [34, null]],
-[36, ["number", 0], 70, 592, [34, null]],
-[37, ["storein", 0], 3, 718, [20, 38, 39, null]],
-[38, ["string", "c"], 70, 718, [37, null]],
-[39, ["number", 0], 70, 760, [37, null]],
-[40, ["number", 0], 70, 676, [20, null]],
-[41, "wait", 21, 1292, [15, 42, null]],
-[42, ["number", 0.1], 79, 1292, [41, null]],
-[43, "setshade", 21, 1082, [45, 44, 48]],
-[44, ["number", 75], 106, 1082, [43, null]],
-[45, "setcolor", 21, 1040, [58, 102, 43]],
-[46, "box", 138, 998, [58, 47, null]],
-[47, ["string", "b"], 192, 998, [46, null]],
-[48, "stack1", 21, 1124, [43, 59]],
-[49, "hat", 20, 360, [null, 50, 99]],
-[50, ["string", "setup"], 78, 372, [49, null]],
-[51, "stack", 260, 286, [0, 52, 55]],
-[52, ["string", "setup"], 318, 286, [51, null]],
-[53, "hat", 20, 480, [null, 54, 98]],
-[54, ["string", "loop"], 78, 492, [53, null]],
-[55, "stack", 260, 328, [51, 56, null]],
-[56, ["string", "loop"], 318, 328, [55, null]],
-[57, "box1", 329, 320, [67, null]],
-[58, "storeinbox1", 21, 998, [4, 46, 45]],
-[59, "storeinbox1", 21, 1166, [48, 24, 3]],
-[60, "storeinbox1", 21, 872, [106, 32, 16]],
-[61, "forward", 0, 380, [76, 78, 95]],
-[62, "box2", 58, 338, [76, null]],
-[63, "storeinbox2", 158, 320, [100, 67, 7]],
-[64, "box2", 124, 380, [78, null]],
-[65, "box2", 282, 404, [69, null]],
-[66, "stack2", 158, 488, [8, 9]],
-[67, ["division2", 0], 275, 320, [63, 57, 68]],
-[68, ["number", 2], 353, 362, [67, null]],
-[69, ["division2", 0], 228, 404, [97, 65, 70]],
-[70, ["number", 2], 306, 446, [69, null]],
-[71, ["setxy2", 0], 158, 572, [9, 72, 73, 74]],
-[72, ["number", 0], 216, 572, [71, null]],
-[73, ["number", 0], 216, 614, [71, null]],
-[74, "seth", 158, 656, [71, 75, 10]],
-[75, ["number", 0], 216, 656, [74, null]],
-[76, ["arc", 0], 0, 296, [101, 77, 62, 61]],
-[77, ["number", 225], 58, 296, [76, null]],
-[78, ["product2", 0], 70, 380, [61, 64, 81]],
-[79, "sqrt", 178, 464, [81, 80]],
-[80, ["number", 2], 232, 464, [79, null]],
-[81, ["product2", 0], 124, 422, [78, 82, 79]],
-[82, ["number", 1.7], 178, 422, [81, null]],
-[83, ["arc", 0], 0, 670, [96, 84, 85, null]],
-[84, ["number", 225], 58, 670, [83, null]],
-[85, "box2", 58, 712, [83, null]],
-[86, "right", 0, 504, [95, 87, 88]],
-[87, ["number", 90], 58, 504, [86, null]],
-[88, "forward", 0, 546, [86, 89, 96]],
-[89, ["product2", 0], 70, 546, [88, 90, 91]],
-[90, "box2", 124, 546, [89, null]],
-[91, ["product2", 0], 124, 588, [89, 92, 93]],
-[92, ["number", 1.7], 178, 588, [91, null]],
-[93, "sqrt", 178, 630, [91, 94]],
-[94, ["number", 2], 232, 630, [93, null]],
-[95, ["vspace", 20], 0, 422, [61, 86]],
-[96, ["vspace", 20], 0, 588, [88, 83]],
-[97, "forward", 158, 404, [7, 69, 8]],
-[98, "sandwichclampcollapsed", 20, 534, [53, 6, null]],
-[99, "sandwichclampcollapsed", 20, 414, [49, 11, null]],
-[100, "sandwichclampcollapsed", 140, 286, [1, 63, null]],
-[101, "sandwichclampcollapsed", 17, 286, [2, 76, null]],
-[102, "red", 98, 1040, [45, null]],
-[103, "red", 98, 1208, [3, null]],
-[104, ["division2", 0], 88, 788, [22, 5, 105]],
-[105, ["number", 4], 166, 830, [104, null]],
-[106, ["vspace", 0], 21, 830, [22, 60]]]
+[[0, ["start", 1.334], 920, 60, [null, 11]],
+[1, "hat1", 280, 280, [null, 98]],
+[2, "hat2", 760, 300, [null, 99]],
+[3, "setcolor", 64, 542, [57, 101, 13]],
+[4, "stack1", 64, 346, [14, 56]],
+[5, "volume", 624, 599, [102, null]],
+[6, ["forever", 239], 52, 239, [96, 49, null]],
+[7, "penup", 292, 362, [61, 95]],
+[8, "pendown", 292, 418, [95, 64]],
+[9, "penup", 292, 474, [64, 69]],
+[10, "pendown", 292, 586, [72, null]],
+[11, "clean", 920, 91, [0, 105]],
+[12, "white", 982, 147, [105, null]],
+[13, "stack1", 64, 570, [3, 39]],
+[14, "setcolor", 64, 318, [108, 15, 4]],
+[15, "white", 115, 318, [14, null]],
+[16, ["storein", 0], 532, 515, [26, 17, 24, 20]],
+[17, ["string", "b"], 577, 515, [16, null]],
+[18, ["storein", 0], 920, 259, [32, 19, 38, 35]],
+[19, ["string", "b"], 965, 259, [18, null]],
+[20, ["storein", 0], 532, 571, [16, 21, 102, 104]],
+[21, ["string", "a"], 577, 571, [20, null]],
+[22, "box", 143, 514, [57, 23, null]],
+[23, ["string", "a"], 180, 514, [22, null]],
+[24, "box", 577, 543, [16, 25, null]],
+[25, ["string", "a"], 614, 543, [24, null]],
+[26, ["storein", 0], 532, 459, [97, 27, 28, 16]],
+[27, ["string", "c"], 577, 459, [26, null]],
+[28, "box", 577, 487, [26, 29, null]],
+[29, ["string", "b"], 614, 487, [28, null]],
+[30, "box", 611, 655, [58, 31, null]],
+[31, ["string", "c"], 648, 655, [30, null]],
+[32, ["storein", 0], 920, 203, [105, 33, 34, 18]],
+[33, ["string", "a"], 965, 203, [32, null]],
+[34, ["number", 0], 965, 231, [32, null]],
+[35, ["storein", 0], 920, 315, [18, 36, 37, 53]],
+[36, ["string", "c"], 965, 315, [35, null]],
+[37, ["number", 0], 965, 343, [35, null]],
+[38, ["number", 0], 965, 287, [18, null]],
+[39, "wait", 64, 598, [13, 40, null]],
+[40, ["number", 0.1], 103, 598, [39, null]],
+[41, "setshade", 64, 458, [43, 42, 46]],
+[42, ["number", 75], 121, 458, [41, null]],
+[43, "setcolor", 64, 430, [110, 100, 41]],
+[44, "box", 143, 374, [56, 45, null]],
+[45, ["string", "b"], 180, 374, [44, null]],
+[46, "stack1", 64, 486, [41, 57]],
+[47, "hat", 520, 400, [null, 48, 97]],
+[48, ["string", "read sensor"], 559, 408, [47, null]],
+[49, "stack", 64, 262, [6, 50, 108]],
+[50, ["string", "read sensor"], 103, 262, [49, null]],
+[51, "hat", 40, 180, [null, 52, 96]],
+[52, ["string", "loop"], 79, 188, [51, null]],
+[53, "stack", 920, 371, [35, 54, null]],
+[54, ["string", "loop"], 959, 371, [53, null]],
+[55, "box1", 418, 334, [65, null]],
+[56, "storeinbox1", 64, 374, [4, 44, 110]],
+[57, "storeinbox1", 64, 514, [46, 22, 3]],
+[58, "storeinbox1", 532, 655, [104, 30, null]],
+[59, "forward", 772, 410, [74, 76, 93]],
+[60, "box2", 811, 382, [74, null]],
+[61, "storeinbox2", 292, 334, [98, 65, 7]],
+[62, "box2", 855, 410, [76, null]],
+[63, "box2", 386, 390, [67, null]],
+[64, "stack2", 292, 446, [8, 9]],
+[65, ["division2", 0], 371, 334, [61, 55, 66]],
+[66, ["number", 2], 434, 362, [65, null]],
+[67, ["division2", 0], 339, 390, [95, 63, 68]],
+[68, ["number", 2], 402, 418, [67, null]],
+[69, ["setxy2", 0], 292, 502, [9, 70, 71, 72]],
+[70, ["number", 0], 331, 502, [69, null]],
+[71, ["number", 0], 331, 530, [69, null]],
+[72, "seth", 292, 558, [69, 73, 10]],
+[73, ["number", 0], 358, 558, [72, null]],
+[74, ["arc", 0], 772, 354, [99, 75, 60, 59]],
+[75, ["number", 225], 811, 354, [74, null]],
+[76, ["product2", 0], 819, 410, [59, 62, 79]],
+[77, "sqrt", 891, 466, [79, 78]],
+[78, ["number", 2], 927, 466, [77, null]],
+[79, ["product2", 0], 855, 438, [76, 80, 77]],
+[80, ["number", 1.7], 891, 438, [79, null]],
+[81, ["arc", 0], 772, 604, [94, 82, 83, null]],
+[82, ["number", 225], 811, 604, [81, null]],
+[83, "box2", 811, 632, [81, null]],
+[84, "right", 772, 493, [93, 85, 86]],
+[85, ["number", 90], 811, 493, [84, null]],
+[86, "forward", 772, 521, [84, 87, 94]],
+[87, ["product2", 0], 819, 521, [86, 88, 89]],
+[88, "box2", 855, 521, [87, null]],
+[89, ["product2", 0], 855, 549, [87, 90, 91]],
+[90, ["number", 1.7], 891, 549, [89, null]],
+[91, "sqrt", 891, 577, [89, 92]],
+[92, ["number", 2], 927, 577, [91, null]],
+[93, ["vspace", 20], 772, 438, [59, 84]],
+[94, ["vspace", 20], 772, 549, [86, 81]],
+[95, "forward", 292, 390, [7, 67, 8]],
+[96, ["sandwichclamp", 265], 40, 216, [51, 6, null]],
+[97, ["sandwichclamp", 147], 520, 436, [47, 26, null]],
+[98, ["sandwichclamp", 189], 280, 311, [1, 61, null]],
+[99, ["sandwichclamp", 208], 760, 331, [2, 74, null]],
+[100, "red", 115, 430, [43, null]],
+[101, "red", 115, 542, [3, null]],
+[102, ["division2", 0], 577, 599, [20, 5, 103]],
+[103, ["number", 4], 640, 627, [102, null]],
+[104, ["vspace", 0], 532, 627, [20, 58]],
+[105, "fillscreen2", 920, 119, [11, 106, 12, 107, 32]],
+[106, ["number", 60], 982, 119, [105, null]],
+[107, ["number", 100], 982, 175, [105, null]],
+[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