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: 3c76e583e5d5dfce5801c9d27cb6c40952fb4042 (plain)
 ```1 ``` ``[[0, "hat", 743, 369, [null, 1, 145]], [1, ["string", "draw b"], 801, 377, [0, null]], [2, "storeinbox1", 743, 453, [145, 3, 146]], [3, ["division2", 0], 861, 453, [2, 4, 6]], [4, "box", 915, 453, [3, 5, null]], [5, ["string", "side b"], 970, 453, [4, null]], [6, ["number", 2], 939, 495, [3, null]], [7, "forward", 743, 537, [146, 8, 120]], [8, "box1", 814, 537, [7, null]], [9, "forward", 743, 621, [120, 10, 126]], [10, "box1", 814, 621, [9, null]], [11, "hat", 439, 194, [null, 12, 142]], [12, ["string", "find h"], 497, 202, [11, null]], [13, ["storein", 0], 439, 278, [142, 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, 484, [27, 29, 30, 129]], [29, ["string", "radius"], 507, 484, [28, null]], [30, ["division2", 0], 507, 526, [28, 31, 33]], [31, "box", 561, 526, [30, 32, null]], [32, ["string", "hypotenuse"], 616, 526, [31, null]], [33, ["number", 2], 585, 568, [30, null]], [34, "hat", 746, 227, [null, 35, 148]], [35, ["string", "draw a"], 804, 235, [34, null]], [36, "storeinbox1", 746, 311, [148, 37, 147]], [37, ["division2", 0], 864, 311, [36, 38, 40]], [38, "box", 918, 311, [37, 39, null]], [39, ["string", "side a"], 973, 311, [38, null]], [40, ["number", 2], 942, 353, [37, null]], [41, "forward", 746, 395, [147, 42, 122]], [42, "box1", 817, 395, [41, null]], [43, "forward", 746, 479, [122, 44, 127]], [44, "box1", 817, 479, [43, null]], [45, "hat", 759, 82, [null, 46, 149]], [46, ["string", "draw h"], 817, 90, [45, null]], [47, ["arc", 0], 759, 166, [149, 48, 49, 51]], [48, ["number", 360], 817, 166, [47, null]], [49, "box", 817, 208, [47, 50, null]], [50, ["string", "radius"], 872, 208, [49, null]], [51, "print", 759, 250, [47, 52, 54]], [52, "box", 817, 250, [51, 53, null]], [53, ["string", "angle"], 872, 250, [52, null]], [54, "right", 759, 292, [51, 55, 56]], [55, ["number", 90], 817, 292, [54, null]], [56, "forward", 759, 334, [54, 57, 124]], [57, "box", 830, 334, [56, 58, null]], [58, ["string", "radius"], 885, 334, [57, null]], [59, "forward", 759, 418, [124, 60, 128]], [60, "box", 830, 418, [59, 61, null]], [61, ["string", "radius"], 885, 418, [60, null]], [62, "hat", 452, 329, [null, 63, 144]], [63, ["string", "find a"], 510, 337, [62, null]], [64, ["storein", 0], 452, 413, [144, 65, 66, 67]], [65, ["string", "angle"], 520, 413, [64, null]], [66, ["number", 0], 520, 455, [64, null]], [67, "setshade", 452, 497, [64, 68, 69]], [68, ["number", 95], 537, 497, [67, null]], [69, "repeat", 452, 539, [67, 70, 71, 131]], [70, ["number", 360], 503, 539, [69, null]], [71, ["arc", 0], 517, 599, [69, 72, 73, 130]], [72, ["number", 180], 575, 599, [71, null]], [73, "box", 575, 641, [71, 74, null]], [74, ["string", "radius"], 630, 641, [73, null]], [75, "if", 517, 725, [130, 76, 79, 82]], [76, ["greater2", 0], 555, 691, [75, 77, 78, null]], [77, "ycor", 601, 691, [76, null]], [78, ["number", 0], 601, 733, [76, null]], [79, "setshade", 569, 793, [75, 80, 81]], [80, ["number", 50], 654, 793, [79, null]], [81, "stopstack", 569, 835, [79, null]], [82, ["vspace", 0], 517, 811, [75, 83]], [83, "penup", 517, 853, [82, 84]], [84, ["storein", 0], 517, 887, [83, 85, 86, 143]], [85, ["string", "angle"], 585, 887, [84, null]], [86, ["plus2", 0], 585, 929, [84, 87, 89]], [87, "box", 639, 929, [86, 88, null]], [88, ["string", "angle"], 694, 929, [87, null]], [89, ["number", 1], 639, 971, [86, null]], [90, ["arc", 0], 517, 1013, [143, 91, 92, 94]], [91, ["number", 180], 575, 1013, [90, null]], [92, "box", 575, 1055, [90, 93, null]], [93, ["string", "radius"], 630, 1055, [92, null]], [94, "right", 517, 1097, [90, 95, 96]], [95, ["number", 1], 575, 1097, [94, null]], [96, "pendown", 517, 1139, [94, null]], [97, "hideblocks", 1062, 160, [141, 98]], [98, "clean", 1062, 194, [97, 150]], [99, ["storein", 0], 1062, 420, [151, 100, 101, 102]], [100, ["string", "side a"], 1130, 420, [99, null]], [101, ["number", 200], 1130, 462, [99, null]], [102, ["storein", 0], 1062, 504, [99, 103, 104, 105]], [103, ["string", "side b"], 1130, 504, [102, null]], [104, ["number", 450], 1130, 546, [102, null]], [105, "stack", 1062, 588, [102, 106, 107]], [106, ["string", "draw a"], 1120, 588, [105, null]], [107, "right", 1062, 630, [105, 108, 109]], [108, ["number", 90], 1120, 630, [107, null]], [109, "stack", 1062, 672, [107, 110, 111]], [110, ["string", "draw b"], 1120, 672, [109, null]], [111, "stack", 1062, 714, [109, 112, 113]], [112, ["string", "find h"], 1120, 714, [111, null]], [113, "stack", 1062, 756, [111, 114, 115]], [114, ["string", "find a"], 1120, 756, [113, null]], [115, "stack", 1062, 798, [113, 116, 152]], [116, ["string", "draw h"], 1120, 798, [115, null]], [117, ["setxy2", 0], 1062, 874, [152, 132, 133, 153]], [118, ["journal", "./samples/images/Pythagoras.jpg"], 1172, 992, [135, null]], [119, ["start", 2.0], 1062, 84, [null, 141]], [120, "show", 743, 579, [7, 121, 9]], [121, ["string", "b"], 801, 579, [120, null]], [122, "show", 746, 437, [41, 123, 43]], [123, ["string", "a"], 804, 437, [122, null]], [124, "show", 759, 376, [56, 125, 59]], [125, ["string", "h"], 817, 376, [124, null]], [126, ["sandwichcollapsed", 1], 743, 453, [9, null]], [127, ["sandwichcollapsed", 1], 746, 311, [43, null]], [128, ["sandwichcollapsed", 1], 759, 166, [59, null]], [129, ["sandwichcollapsed", 1], 439, 278, [28, null]], [130, ["vspace", 0], 517, 683, [71, 75]], [131, ["sandwichcollapsed", 1], 452, 413, [69, null]], [132, "leftpos", 1120, 874, [117, null]], [133, "toppos", 1120, 916, [117, null]], [134, ["setxy2", 20], 1062, 262, [150, 140, 137, 151]], [135, "showaligned", 1062, 992, [153, 118, 136]], [136, ["sandwichcollapsed", 1], 1062, 160, [135, null]], [137, ["number", 0], 1120, 344, [134, null]], [138, ["number", -4], 1198, 304, [140, null]], [139, "width", 1174, 262, [140, null]], [140, ["division2", 0], 1120, 262, [134, 139, 138]], [141, "sandwichtop_no_arm_no_label", 1044, 126, [119, 97]], [142, "sandwichtop_no_arm_no_label", 421, 244, [11, 13]], [143, ["vspace", 0], 517, 971, [84, 90]], [144, "sandwichtop_no_arm_no_label", 434, 379, [62, 64]], [145, "sandwichtop_no_arm_no_label", 725, 419, [0, 2]], [146, ["vspace", 0], 743, 495, [2, 7]], [147, ["vspace", 0], 746, 353, [36, 41]], [148, "sandwichtop_no_arm_no_label", 728, 277, [34, 36]], [149, "sandwichtop_no_arm_no_label", 741, 132, [45, 47]], [150, "penup", 1062, 228, [98, 134]], [151, "pendown", 1062, 386, [134, 99]], [152, "penup", 1062, 840, [115, 117]], [153, "pendown", 1062, 958, [117, 135]]]``