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: ac0fa86e2c595822788d1b2616153ec7a3460bb1 (plain)
 1 [[0, "hat", 62, 495, [null, 1, 131]], [1, ["string", "draw b"], 120, 503, [0, null]], [2, "storeinbox1", 62, 587, [131, 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, 124]], [8, "box1", 133, 629, [7, null]], [9, "forward", 62, 713, [124, 10, 133]], [10, "box1", 133, 713, [9, null]], [11, "hat", 389, 628, [null, 12, 140]], [12, ["string", "find h"], 447, 636, [11, null]], [13, "storein", 389, 720, [140, 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, 142]], [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, 134]], [37, ["string", "draw a"], 124, 644, [36, null]], [38, "storeinbox1", 66, 728, [134, 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, 126]], [44, "box1", 137, 770, [43, null]], [45, "forward", 66, 854, [126, 46, 136]], [46, "box1", 137, 854, [45, null]], [47, "hat", 82, 781, [null, 48, 137]], [48, ["string", "draw h"], 140, 789, [47, null]], [49, "arc", 82, 873, [137, 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, 128]], [59, "box", 153, 1041, [58, 60, null]], [60, ["string", "radius"], 208, 1041, [59, null]], [61, "forward", 82, 1125, [128, 62, 139]], [62, "box", 153, 1125, [61, 63, null]], [63, ["string", "radius"], 208, 1125, [62, null]], [64, "hat", 384, 777, [null, 65, 144]], [65, ["string", "find a"], 442, 785, [64, null]], [66, "storein", 384, 869, [144, 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, 146]], [72, ["number", 360], 435, 995, [71, null]], [73, "arc", 449, 1055, [71, 74, 75, 143]], [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, [143, 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", 383, 576, [147, 100]], [100, "clean", 383, 610, [99, 101]], [101, "storein", 383, 644, [100, 102, 103, 104]], [102, ["string", "side a"], 451, 644, [101, null]], [103, ["number", 200], 451, 686, [101, null]], [104, "storein", 383, 728, [101, 105, 106, 107]], [105, ["string", "side b"], 451, 728, [104, null]], [106, ["number", 450], 451, 770, [104, null]], [107, "stack", 383, 812, [104, 108, 109]], [108, ["string", "draw a"], 441, 812, [107, null]], [109, "right", 383, 854, [107, 110, 111]], [110, ["number", 90], 441, 854, [109, null]], [111, "stack", 383, 896, [109, 112, 113]], [112, ["string", "draw b"], 441, 896, [111, null]], [113, "stack", 383, 938, [111, 114, 115]], [114, ["string", "find h"], 441, 938, [113, null]], [115, "stack", 383, 980, [113, 116, 117]], [116, ["string", "find a"], 441, 980, [115, null]], [117, "stack", 383, 1022, [115, 118, 119]], [118, ["string", "draw h"], 441, 1022, [117, null]], [119, "setxy", 383, 1064, [117, 120, 121, 130]], [120, ["number", -350], 441, 1064, [119, null]], [121, ["number", 300], 441, 1106, [119, null]], [122, ["journal", "./samples/images/Pythagoras.jpg"], 441, 1148, [130, null]], [123, "start", 383, 492, [null, 147]], [124, "show", 62, 671, [7, 125, 9]], [125, ["string", "b"], 120, 671, [124, null]], [126, "show", 66, 812, [43, 127, 45]], [127, ["string", "a"], 124, 812, [126, null]], [128, "show", 82, 1083, [58, 129, 61]], [129, ["string", "h"], 140, 1083, [128, null]], [130, "show", 383, 1148, [119, 122, 149]], [131, "sandwichtop", 44, 545, [0, 132, 2]], [132, ["string", "draw side b"], 147, 545, [131, null]], [133, ["sandwichcollapsed", 1], 62, 587, [9, null]], [134, "sandwichtop", 48, 686, [36, 135, 38]], [135, ["string", "draw side a"], 151, 686, [134, null]], [136, ["sandwichcollapsed", 1], 66, 728, [45, null]], [137, "sandwichtop", 64, 831, [47, 138, 49]], [138, ["string", "draw side h"], 167, 831, [137, null]], [139, ["sandwichcollapsed", 1], 82, 873, [61, null]], [140, "sandwichtop", 371, 678, [11, 141, 13]], [141, ["string", "find length h"], 474, 678, [140, null]], [142, ["sandwichcollapsed", 1], 389, 720, [30, null]], [143, ["vspace", 0], 449, 1139, [73, 77]], [144, "sandwichtop", 366, 827, [64, 145, 66]], [145, ["string", "find angle ah"], 469, 827, [144, null]], [146, ["sandwichcollapsed", 1], 384, 869, [71, null]], [147, "sandwichtop", 365, 534, [123, 148, 99]], [148, ["string", "given a, b find h and the angle ah"], 468, 534, [147, null]], [149, ["sandwichcollapsed", 1], 383, 576, [130, null]], [-1, ["turtle", 1], -350, 300, 67.0, 0, 50.0, 5]]