Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
 summaryrefslogtreecommitdiffstats log msg author committer range
path: root/samples/Pythagoras.ta
blob: 6f813c16c3026600e11689e0312176078970ec96 (plain)
 1 [[0, "hat", 62, 495, [null, 1, 128]], [1, ["string", "draw b"], 120, 503, [0, null]], [2, "storeinbox1", 62, 587, [128, 3, 7]], [3, "division2", 180, 587, [2, 4, 6]], [4, "box", 234, 587, [3, 5, null]], [5, ["string", "side b"], 289, 587, [4, null]], [6, ["number", 2], 258, 633, [3, null]], [7, "forward", 62, 629, [2, 8, 122]], [8, "box1", 133, 629, [7, null]], [9, "forward", 62, 713, [122, 10, 130]], [10, "box1", 133, 713, [9, null]], [11, "hat", 389, 628, [null, 12, 137]], [12, ["string", "find h"], 447, 636, [11, null]], [13, "storein", 389, 720, [137, 14, 15, 29]], [14, ["string", "hypotenuse"], 457, 720, [13, null]], [15, "sqrt", 457, 762, [13, 16]], [16, "plus2", 511, 762, [15, 17, 23]], [17, ["identity2", 0], 565, 762, [16, 18]], [18, "product2", 619, 762, [17, 19, 21]], [19, "box", 673, 762, [18, 20, null]], [20, ["string", "side a"], 728, 762, [19, null]], [21, "box", 673, 804, [18, 22, null]], [22, ["string", "side a"], 728, 804, [21, null]], [23, ["identity2", 0], 565, 804, [16, 24]], [24, "product2", 619, 804, [23, 25, 27]], [25, "box", 673, 804, [24, 26, null]], [26, ["string", "side b"], 728, 804, [25, null]], [27, "box", 673, 846, [24, 28, null]], [28, ["string", "side b"], 728, 846, [27, null]], [29, ["vspace", 0], 389, 804, [13, 30]], [30, "storein", 389, 838, [29, 31, 32, 139]], [31, ["string", "radius"], 457, 838, [30, null]], [32, "division2", 457, 880, [30, 33, 35]], [33, "box", 511, 880, [32, 34, null]], [34, ["string", "hypotenuse"], 566, 880, [33, null]], [35, ["number", 2], 535, 926, [32, null]], [36, "hat", 66, 636, [null, 37, 131]], [37, ["string", "draw a"], 124, 644, [36, null]], [38, "storeinbox1", 66, 728, [131, 39, 43]], [39, "division2", 184, 728, [38, 40, 42]], [40, "box", 238, 728, [39, 41, null]], [41, ["string", "side a"], 293, 728, [40, null]], [42, ["number", 2], 262, 774, [39, null]], [43, "forward", 66, 770, [38, 44, 124]], [44, "box1", 137, 770, [43, null]], [45, "forward", 66, 854, [124, 46, 133]], [46, "box1", 137, 854, [45, null]], [47, "hat", 82, 781, [null, 48, 134]], [48, ["string", "draw h"], 140, 789, [47, null]], [49, "arc", 82, 873, [134, 50, 51, 53]], [50, ["number", 360], 140, 873, [49, null]], [51, "box", 140, 915, [49, 52, null]], [52, ["string", "radius"], 195, 915, [51, null]], [53, "print", 82, 957, [49, 54, 56]], [54, "box", 140, 957, [53, 55, null]], [55, ["string", "angle"], 195, 957, [54, null]], [56, "right", 82, 999, [53, 57, 58]], [57, ["number", 90], 140, 999, [56, null]], [58, "forward", 82, 1041, [56, 59, 126]], [59, "box", 153, 1041, [58, 60, null]], [60, ["string", "radius"], 208, 1041, [59, null]], [61, "forward", 82, 1125, [126, 62, 136]], [62, "box", 153, 1125, [61, 63, null]], [63, ["string", "radius"], 208, 1125, [62, null]], [64, "hat", 384, 777, [null, 65, 141]], [65, ["string", "find a"], 442, 785, [64, null]], [66, "storein", 384, 869, [141, 67, 68, 69]], [67, ["string", "angle"], 452, 869, [66, null]], [68, ["number", 0], 452, 911, [66, null]], [69, "setshade", 384, 953, [66, 70, 71]], [70, ["number", 95], 469, 953, [69, null]], [71, "repeat", 384, 995, [69, 72, 73, 143]], [72, ["number", 360], 435, 995, [71, null]], [73, "arc", 449, 1055, [71, 74, 75, 140]], [74, ["number", 180], 507, 1055, [73, null]], [75, "box", 507, 1097, [73, 76, null]], [76, ["string", "radius"], 562, 1097, [75, null]], [77, "if", 449, 1173, [140, 78, 81, 84]], [78, "greater2", 487, 1139, [77, 79, 80, null]], [79, "ycor", 533, 1139, [78, null]], [80, ["number", 0], 533, 1181, [78, null]], [81, "setshade", 501, 1241, [77, 82, 83]], [82, ["number", 50], 586, 1241, [81, null]], [83, "stopstack", 501, 1283, [81, null]], [84, ["vspace", 0], 449, 1259, [77, 85]], [85, "penup", 449, 1293, [84, 86]], [86, "storein", 449, 1327, [85, 87, 88, 92]], [87, ["string", "angle"], 517, 1327, [86, null]], [88, "plus2", 517, 1369, [86, 89, 91]], [89, "box", 571, 1369, [88, 90, null]], [90, ["string", "angle"], 626, 1369, [89, null]], [91, ["number", 1], 571, 1411, [88, null]], [92, "arc", 449, 1411, [86, 93, 94, 96]], [93, ["number", 180], 507, 1411, [92, null]], [94, "box", 507, 1453, [92, 95, null]], [95, ["string", "radius"], 562, 1453, [94, null]], [96, "right", 449, 1495, [92, 97, 98]], [97, ["number", 1], 507, 1495, [96, null]], [98, "pendown", 449, 1537, [96, null]], [99, "hideblocks", 709, 147, [144, 100]], [100, "clean", 709, 181, [99, 148]], [101, "storein", 709, 299, [148, 102, 103, 104]], [102, ["string", "side a"], 777, 299, [101, null]], [103, ["number", 200], 777, 341, [101, null]], [104, "storein", 709, 383, [101, 105, 106, 107]], [105, ["string", "side b"], 777, 383, [104, null]], [106, ["number", 450], 777, 425, [104, null]], [107, "stack", 709, 467, [104, 108, 109]], [108, ["string", "draw a"], 767, 467, [107, null]], [109, "right", 709, 509, [107, 110, 111]], [110, ["number", 90], 767, 509, [109, null]], [111, "stack", 709, 551, [109, 112, 113]], [112, ["string", "draw b"], 767, 551, [111, null]], [113, "stack", 709, 593, [111, 114, 115]], [114, ["string", "find h"], 767, 593, [113, null]], [115, "stack", 709, 635, [113, 116, 117]], [116, ["string", "find a"], 767, 635, [115, null]], [117, "stack", 709, 677, [115, 118, 119]], [118, ["string", "draw h"], 767, 677, [117, null]], [119, "setxy", 709, 719, [117, 146, 147, 149]], [120, ["journal", "./samples/images/Pythagoras.jpg"], 819, 803, [149, null]], [121, "start", 709, 63, [null, 144]], [122, "show", 62, 671, [7, 123, 9]], [123, ["string", "b"], 120, 671, [122, null]], [124, "show", 66, 812, [43, 125, 45]], [125, ["string", "a"], 124, 812, [124, null]], [126, "show", 82, 1083, [58, 127, 61]], [127, ["string", "h"], 140, 1083, [126, null]], [128, "sandwichtop", 44, 545, [0, 129, 2]], [129, ["string", "draw side b"], 147, 545, [128, null]], [130, ["sandwichcollapsed", 1], 62, 587, [9, null]], [131, "sandwichtop", 48, 686, [36, 132, 38]], [132, ["string", "draw side a"], 151, 686, [131, null]], [133, ["sandwichcollapsed", 1], 66, 728, [45, null]], [134, "sandwichtop", 64, 831, [47, 135, 49]], [135, ["string", "draw side h"], 167, 831, [134, null]], [136, ["sandwichcollapsed", 1], 82, 873, [61, null]], [137, "sandwichtop", 371, 678, [11, 138, 13]], [138, ["string", "find length h"], 474, 678, [137, null]], [139, ["sandwichcollapsed", 1], 389, 720, [30, null]], [140, ["vspace", 0], 449, 1139, [73, 77]], [141, "sandwichtop", 366, 827, [64, 142, 66]], [142, ["string", "find angle ah"], 469, 827, [141, null]], [143, ["sandwichcollapsed", 1], 384, 869, [71, null]], [144, "sandwichtop", 691, 105, [121, 145, 99]], [145, ["string", "given a, b find h and the angle ah"], 794, 105, [144, null]], [146, "leftpos", 767, 719, [119, null]], [147, "toppos", 767, 761, [119, null]], [148, "setxy", 709, 215, [100, 155, 151, 101]], [149, "showaligned", 709, 803, [119, 120, 150]], [150, ["sandwichcollapsed", 1], 709, 147, [149, null]], [151, ["number", "0"], 767, 257, [148, null]], [152, ["number", "-4"], 979, 261, [154, null]], [153, "width", 955, 215, [154, null]], [154, "division2", 901, 215, [155, 153, 152]], [155, ["identity2", 40], 767, 215, [148, 154]], [-1, ["turtle", 1], -840, 525, 67.0, 0, 50.0, 5]]