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: 59e27f67ecc06b56a9a8cf0b3a748300711d3e60 (plain)
 ```1 ``` ``[[0, "hat", 222, 456, [null, 1, 146]], [1, ["string", "draw b"], 280, 464, [0, null]], [2, "storeinbox1", 222, 540, [146, 3, 147]], [3, ["division2", 0], 340, 540, [2, 4, 6]], [4, "box", 394, 540, [3, 5, null]], [5, ["string", "side b"], 449, 540, [4, null]], [6, ["number", 2], 418, 582, [3, null]], [7, "forward", 222, 616, [147, 8, 120]], [8, "box1", 293, 616, [7, null]], [9, "forward", 222, 700, [120, 10, 126]], [10, "box1", 293, 700, [9, null]], [11, "hat", 439, 194, [null, 12, 143]], [12, ["string", "find h"], 497, 202, [11, null]], [13, ["storein", 0], 439, 278, [143, 14, 15, 27]], [14, ["string", "hypotenuse"], 507, 278, [13, null]], [15, "sqrt", 507, 320, [13, 16]], [16, ["plus2", 20.0], 561, 320, [15, 17, 22]], [17, ["product2", 0], 615, 320, [16, 18, 20]], [18, "box", 669, 320, [17, 19, null]], [19, ["string", "side a"], 724, 320, [18, null]], [20, "box", 669, 362, [17, 21, null]], [21, ["string", "side a"], 724, 362, [20, null]], [22, ["product2", 0], 615, 402, [16, 23, 25]], [23, "box", 669, 402, [22, 24, null]], [24, ["string", "side b"], 724, 402, [23, null]], [25, "box", 669, 444, [22, 26, null]], [26, ["string", "side b"], 724, 444, [25, null]], [27, ["vspace", 40.0], 439, 362, [13, 28]], [28, ["storein", 0], 439, 476, [27, 29, 30, 129]], [29, ["string", "radius"], 507, 476, [28, null]], [30, ["division2", 0], 507, 518, [28, 31, 33]], [31, "box", 561, 518, [30, 32, null]], [32, ["string", "hypotenuse"], 616, 518, [31, null]], [33, ["number", 2], 585, 560, [30, null]], [34, "hat", 221, 325, [null, 35, 149]], [35, ["string", "draw a"], 279, 333, [34, null]], [36, "storeinbox1", 221, 409, [149, 37, 148]], [37, ["division2", 0], 339, 409, [36, 38, 40]], [38, "box", 393, 409, [37, 39, null]], [39, ["string", "side a"], 448, 409, [38, null]], [40, ["number", 2], 417, 451, [37, null]], [41, "forward", 221, 485, [148, 42, 122]], [42, "box1", 292, 485, [41, null]], [43, "forward", 221, 569, [122, 44, 127]], [44, "box1", 292, 569, [43, null]], [45, "hat", 213, 196, [null, 46, 150]], [46, ["string", "draw h"], 271, 204, [45, null]], [47, ["arc", 0], 213, 280, [150, 48, 49, 51]], [48, ["number", 360], 271, 280, [47, null]], [49, "box", 271, 322, [47, 50, null]], [50, ["string", "radius"], 326, 322, [49, null]], [51, "print", 213, 364, [47, 52, 54]], [52, "box", 271, 364, [51, 53, null]], [53, ["string", "angle"], 326, 364, [52, null]], [54, "right", 213, 406, [51, 55, 56]], [55, ["number", 90], 271, 406, [54, null]], [56, "forward", 213, 448, [54, 57, 124]], [57, "box", 284, 448, [56, 58, null]], [58, ["string", "radius"], 339, 448, [57, null]], [59, "forward", 213, 532, [124, 60, 128]], [60, "box", 284, 532, [59, 61, null]], [61, ["string", "radius"], 339, 532, [60, null]], [62, "hat", 440, 318, [null, 63, 145]], [63, ["string", "find a"], 498, 326, [62, null]], [64, ["storein", 0], 440, 402, [145, 65, 66, 67]], [65, ["string", "angle"], 508, 402, [64, null]], [66, ["number", 0], 508, 444, [64, null]], [67, "setshade", 440, 486, [64, 68, 69]], [68, ["number", 95], 525, 486, [67, null]], [69, "repeat", 440, 528, [67, 70, 71, 131]], [70, ["number", 360], 491, 528, [69, null]], [71, ["arc", 0], 505, 588, [69, 72, 73, 130]], [72, ["number", 180], 563, 588, [71, null]], [73, "box", 563, 630, [71, 74, null]], [74, ["string", "radius"], 618, 630, [73, null]], [75, "if", 505, 706, [130, 76, 79, 82]], [76, ["greater2", 0], 543, 672, [75, 77, 78, null]], [77, "ycor", 589, 672, [76, null]], [78, ["number", 0], 589, 714, [76, null]], [79, "setshade", 557, 774, [75, 80, 81]], [80, ["number", 50], 642, 774, [79, null]], [81, "stopstack", 557, 816, [79, null]], [82, ["vspace", 0], 505, 792, [75, 83]], [83, "penup", 505, 826, [82, 84]], [84, ["storein", 0], 505, 860, [83, 85, 86, 144]], [85, ["string", "angle"], 573, 860, [84, null]], [86, ["plus2", 0], 573, 902, [84, 87, 89]], [87, "box", 627, 902, [86, 88, null]], [88, ["string", "angle"], 682, 902, [87, null]], [89, ["number", 1], 627, 944, [86, null]], [90, ["arc", 0], 505, 978, [144, 91, 92, 94]], [91, ["number", 180], 563, 978, [90, null]], [92, "box", 563, 1020, [90, 93, null]], [93, ["string", "radius"], 618, 1020, [92, null]], [94, "right", 505, 1062, [90, 95, 96]], [95, ["number", 1], 563, 1062, [94, null]], [96, "pendown", 505, 1104, [94, null]], [97, "hideblocks", 463, 533, [142, 98]], [98, "clean", 463, 567, [97, 134]], [99, ["storein", 0], 463, 685, [134, 100, 101, 102]], [100, ["string", "side a"], 531, 685, [99, null]], [101, ["number", 200], 531, 727, [99, null]], [102, ["storein", 0], 463, 769, [99, 103, 104, 105]], [103, ["string", "side b"], 531, 769, [102, null]], [104, ["number", 450], 531, 811, [102, null]], [105, "stack", 463, 853, [102, 106, 107]], [106, ["string", "draw a"], 521, 853, [105, null]], [107, "right", 463, 895, [105, 108, 109]], [108, ["number", 90], 521, 895, [107, null]], [109, "stack", 463, 937, [107, 110, 111]], [110, ["string", "draw b"], 521, 937, [109, null]], [111, "stack", 463, 979, [109, 112, 113]], [112, ["string", "find h"], 521, 979, [111, null]], [113, "stack", 463, 1021, [111, 114, 115]], [114, ["string", "find a"], 521, 1021, [113, null]], [115, "stack", 463, 1063, [113, 116, 117]], [116, ["string", "draw h"], 521, 1063, [115, null]], [117, ["setxy", 0], 463, 1105, [115, 132, 133, 135]], [118, ["journal", "./samples/images/Pythagoras.jpg"], 573, 1189, [135, null]], [119, ["start", 2.0], 463, 457, [null, 142]], [120, "show", 222, 658, [7, 121, 9]], [121, ["string", "b"], 280, 658, [120, null]], [122, "show", 221, 527, [41, 123, 43]], [123, ["string", "a"], 279, 527, [122, null]], [124, "show", 213, 490, [56, 125, 59]], [125, ["string", "h"], 271, 490, [124, null]], [126, ["sandwichcollapsed", 1], 222, 540, [9, null]], [127, ["sandwichcollapsed", 1], 221, 409, [43, null]], [128, ["sandwichcollapsed", 1], 213, 280, [59, null]], [129, ["sandwichcollapsed", 1], 439, 278, [28, null]], [130, ["vspace", 0], 505, 672, [71, 75]], [131, ["sandwichcollapsed", 1], 440, 402, [69, null]], [132, "leftpos", 521, 1105, [117, null]], [133, "toppos", 521, 1147, [117, null]], [134, ["setxy", 0], 463, 601, [98, 141, 137, 99]], [135, "showaligned", 463, 1189, [117, 118, 136]], [136, ["sandwichcollapsed", 1], 463, 533, [135, null]], [137, ["number", 0], 521, 643, [134, null]], [138, ["number", -4], 733, 643, [140, null]], [139, "width", 709, 601, [140, null]], [140, ["division2", 0], 655, 601, [141, 139, 138]], [141, ["identity2", 40.0], 521, 601, [134, 140]], [142, "sandwichtop_no_arm_no_label", 445, 499, [119, 97]], [143, "sandwichtop_no_arm_no_label", 421, 244, [11, 13]], [144, ["vspace", 0], 505, 944, [84, 90]], [145, "sandwichtop_no_arm_no_label", 422, 368, [62, 64]], [146, "sandwichtop_no_arm_no_label", 204, 506, [0, 2]], [147, ["vspace", 0], 222, 582, [2, 7]], [148, ["vspace", 0], 221, 451, [36, 41]], [149, "sandwichtop_no_arm_no_label", 203, 375, [34, 36]], [150, "sandwichtop_no_arm_no_label", 195, 246, [45, 47]]]``