{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":43},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":75},{"__isSmartRef__":true,"id":91}],"scripts":[{"__isSmartRef__":true,"id":107}],"id":"9CA05608-2753-4B40-AC31-60382BCEED9B","shape":{"__isSmartRef__":true,"id":108},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"LivelyEngine","partsBinMetaInfo":{"__isSmartRef__":true,"id":109},"eventHandler":{"__isSmartRef__":true,"id":110},"pistonStyle":{"__isSmartRef__":true,"id":111},"crankPinStyle":{"__isSmartRef__":true,"id":112},"angleStep":0.39269908169872414,"layout":{"__isSmartRef__":true,"id":113},"cylinders":[{"__isSmartRef__":true,"id":12}],"stroke":63.00000000000001,"normalSpeed":100,"crank":{"__isSmartRef__":true,"id":1},"crankPin":{"__isSmartRef__":true,"id":2},"crankPinCap":{"__isSmartRef__":true,"id":19},"alternate":false,"crankAngle":7.853981633974842,"connectingRods":[{"__isSmartRef__":true,"id":13}],"runMenu":{"__isSmartRef__":true,"id":114},"running":true,"stepTime":100,"cylindersMenu":{"__isSmartRef__":true,"id":206},"ignitionMenu":{"__isSmartRef__":true,"id":403},"derivationIds":[339,"AA64DE74-9636-442A-B549-5E8AB2BB33D4","3688630A-1669-4669-88AB-D1F19951A845","FA80B44D-7567-4AF5-B137-1F3638E7C981","312023AB-DDA6-43F6-930D-D3CFCB26E6AF"],"cylindersButton":{"__isSmartRef__":true,"id":453},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isEpiMorph":false,"__serializedExpressions__":["topPosDisplacement","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":469},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","topPosDisplacement":"lively.pt(2.0,12.6)","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5},"derivationIds":[null,"B25C8D0E-2A91-44ED-9015-135376A58C5D","949FB150-C474-471D-A73F-788462ED2CEC","2A9F2527-EE11-4ECF-A40D-AAEB3C545AE4","832AF336-8FC6-437C-9173-718B174B8BB2"],"id":"93529CFA-90D1-4969-9618-03C05E5A1C5C","eventHandler":{"__isSmartRef__":true,"id":6},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","_Rotation":7.853981633974842,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(225.0,225.0)"},"2":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3},"derivationIds":[null,"0D55FE2C-D0E8-4A1C-A059-983F0BA78DE9","C1D96CC6-EAF7-47FD-B398-24A8AB909C70","56F7C94B-F030-4586-9F10-C3EB58006777","D62D6857-8215-48E0-8FFF-015CE136C421"],"id":"23D17389-0235-4C1D-A017-BCCADE6F3E89","eventHandler":{"__isSmartRef__":true,"id":4},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1},"_ClipMode":"visible","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,-31.5)"},"3":{"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-15.8,-15.8)","_Extent":"lively.pt(31.5,31.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(51,51,51)"},"4":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5":{"_ClipMode":"visible","_BorderWidth":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.4,-50.4)","_Extent":"lively.pt(100.8,100.8)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,204)"},"6":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":8},"derivationIds":[null,"6366B7DA-BD18-4D1A-9BA1-471B187A8188","21CE01AB-E058-4CDE-A03C-959B233E7841","FF8A9E07-6CAE-4EDD-91E0-0C3447AB9638","A1995995-D231-406F-AABC-215313CE1C1A"],"id":"D94C0FB3-235E-479F-9B6A-137FD03B3CB5","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":9}],"eventHandler":{"__isSmartRef__":true,"id":11},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":0},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(110.0,430.0)"},"8":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(246.0,0.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"9":{"style":{"__isSmartRef__":true,"id":10},"chunkOwner":{"__isSmartRef__":true,"id":7},"storedString":"The Radial Engine","_id":"_241","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11":{"morph":{"__isSmartRef__":true,"id":7},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12":{"submorphs":[{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":26}],"scripts":[],"shape":{"__isSmartRef__":true,"id":32},"_ClipMode":"visible","derivationIds":["C10E5CF1-96A4-4965-848B-79D05B48785E","C8D78465-08A7-4149-A0DB-F28661B63611","9C56A800-906E-4215-BB64-381DDC7950F2","E15ADB51-EA73-424F-A1B1-C0460C5914CC"],"id":"9B13210D-27E2-4B90-B0D2-3C5B9622ABC9","droppingEnabled":true,"halosEnabled":true,"name":"Path1","owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":42},"angle":0,"piston":{"__isSmartRef__":true,"id":26},"wristPin":{"__isSmartRef__":true,"id":27},"_Rotation":0,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(225.0,225.0)"},"13":{"submorphs":[{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":19}],"scripts":[],"shape":{"__isSmartRef__":true,"id":22},"_ClipMode":"visible","derivationIds":["90D4D4E2-EE22-4C20-9795-2F84EC6B63A7","56F2959A-6419-489B-859C-9DB819FA282E","6A4BC365-CA63-446E-AA71-58D569924D77"],"id":"E8BCC7B3-6D8F-409E-9E82-1349E62D6526","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":12},"eventHandler":{"__isSmartRef__":true,"id":25},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"14":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15},"_ClipMode":"visible","derivationIds":["AD37B22E-0768-4331-89BE-2C407AC328B9","A2F9E9BB-37E0-4BE0-9AE8-D1C93F3812CF","8BAC4BF7-62A7-437C-9B79-CA6D50C0FD4E"],"id":"8A9E03B0-E7C6-4494-AA20-2530313CCA8A","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":13},"eventHandler":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"15":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":17}],"_BorderWidth":3.1500000000000004,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-2.0,-118.8)","_Extent":"lively.pt(34.6,119.8)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(102,102,102)"},"16":{"isAbsolute":true,"x":31.550000000000015,"y":-0.04999999998868947,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"17":{"isAbsolute":true,"x":0,"y":-116.84999999998865,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"18":{"morph":{"__isSmartRef__":true,"id":14},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"19":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20},"derivationIds":[null,"0D55FE2C-D0E8-4A1C-A059-983F0BA78DE9","B25ED6E0-EA04-4E69-9EC8-37B25D3BF613","6180909C-FCD1-4467-BF8F-AE669513E2BD","8FC08E71-F75A-4DB1-B12E-08620707562B","ABBF7D0D-9AF8-48CA-B224-68D141692DBD"],"id":"0511C4BC-9F18-40F9-97A4-5C5345CB32CE","eventHandler":{"__isSmartRef__":true,"id":21},"droppingEnabled":true,"halosEnabled":true,"name":"Morph","owner":{"__isSmartRef__":true,"id":13},"_ClipMode":"visible","_Rotation":2.288874647615426,"_Scale":0.9157205572498945,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(31.6,0.0)"},"20":{"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"lively.morphic.Gradient.create({\n  focus: lively.pt(0.5,0.5),\n  stops: [{\n    color: Color.rgb(102,102,102),\n    offset: 0\n  },{\n    color: Color.rgb(51,51,51),\n    offset: 1\n  }],\n  type: \"radial\"\n})","_Position":"lively.pt(-15.8,-15.8)","_Extent":"lively.pt(31.5,31.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"21":{"morph":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"22":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":24}],"_BorderWidth":9.450000000000001,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-5.0,-121.8)","_Extent":"lively.pt(40.6,125.8)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(51,51,51)"},"23":{"isAbsolute":true,"x":31.550000000000015,"y":-0.04999999998868947,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"24":{"isAbsolute":true,"x":0,"y":-116.84999999998865,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"25":{"morph":{"__isSmartRef__":true,"id":13},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"26":{"submorphs":[{"__isSmartRef__":true,"id":27}],"scripts":[],"shape":{"__isSmartRef__":true,"id":30},"_ClipMode":"visible","derivationIds":["76FBCBCC-256F-43FB-8DB4-3B94644CEA9F","2A034807-B89D-48BB-B546-FB5859533311","78D471B3-BD0F-42B7-A772-B08DB55AD8AF","2F37E2C4-3FB3-4BBF-A583-D0F0EC51945B"],"id":"E5669A4F-734F-4C02-8251-B68A0707DD91","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":12},"eventHandler":{"__isSmartRef__":true,"id":31},"__serializedExpressions__":["_Position","topPos"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-32.5,-148.3)","topPos":"lively.pt(-32.5,-183.0)"},"27":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":28},"_ClipMode":"visible","derivationIds":["8FE3E38F-BAC1-4F30-889C-DF22473EFF02","9A1BA523-C3C2-43A9-853B-53A43DB6887D","B865702B-9982-4639-8489-24E2F481176C","0B5D09BD-5B01-4D5C-90AC-9540CF9BAF15"],"id":"CAC9FC59-602E-4141-B9BD-362243E3CA7C","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":26},"eventHandler":{"__isSmartRef__":true,"id":29},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(32.5,31.5)"},"28":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-6.3,-6.3)","_Extent":"lively.pt(12.6,12.6)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"29":{"morph":{"__isSmartRef__":true,"id":27},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"30":{"_BorderWidth":2,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(102,102,102),\n    offset: 0\n  },{\n    color: Color.rgb(230,230,230),\n    offset: 0.4\n  },{\n    color: Color.rgb(102,102,102),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,1,0)\n})","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(65.0,63.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"31":{"morph":{"__isSmartRef__":true,"id":26},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"32":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":37},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":39},{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":41}],"_BorderWidth":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-34.5,-195.6)","_Extent":"lively.pt(68.0,107.6)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(217,63,63)"},"33":{"isAbsolute":true,"x":31.5,"y":-180,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"34":{"isAbsolute":true,"x":31.5,"y":-90,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"35":{"isAbsolute":true,"x":31.5,"y":-117,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"36":{"isAbsolute":true,"x":-31.5,"y":-117,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"37":{"isAbsolute":true,"x":-31.5,"y":-90,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"38":{"isAbsolute":true,"x":-31.5,"y":-180,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"39":{"isAbsolute":true,"x":-18.900000000000006,"y":-192.6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"40":{"isAbsolute":true,"x":18.900000000000006,"y":-192.6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"41":{"isAbsolute":true,"x":31.5,"y":-180,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"42":{"morph":{"__isSmartRef__":true,"id":12},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"43":{"submorphs":[{"__isSmartRef__":true,"id":44}],"scripts":[],"shape":{"__isSmartRef__":true,"id":49},"_ClipMode":"visible","derivationIds":["781E5003-9F68-4E7A-A412-2D499E40F794"],"id":"2937E2BE-F96C-4ED9-A904-971565E10FAA","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":44},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":50},"menuItems":[["1",{"__isSmartRef__":true,"id":0},"makeCylinders",1],["2",{"__isSmartRef__":true,"id":0},"makeCylinders",2],["3",{"__isSmartRef__":true,"id":0},"makeCylinders",3],["4",{"__isSmartRef__":true,"id":0},"makeCylinders",4],["5",{"__isSmartRef__":true,"id":0},"makeCylinders",5],["6",{"__isSmartRef__":true,"id":0},"makeCylinders",6],["7",{"__isSmartRef__":true,"id":0},"makeCylinders",7],["8",{"__isSmartRef__":true,"id":0},"makeCylinders",8],["9",{"__isSmartRef__":true,"id":0},"makeCylinders",9]],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":51},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(50.0,440.0)"},"44":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":45},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":46}],"_ClipMode":"hidden","derivationIds":["D840E5B1-1D15-4F64-861D-161FF64105B3"],"id":"8B75B937-8D40-4A2A-A8CC-E98DB8E93F4D","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":43},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":48},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"45":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"46":{"style":{"__isSmartRef__":true,"id":47},"chunkOwner":{"__isSmartRef__":true,"id":44},"_id":"_1363","storedString":"1 cylinder","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"47":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"48":{"morph":{"__isSmartRef__":true,"id":44},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"49":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"50":{"morph":{"__isSmartRef__":true,"id":43},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"51":{"onMouseUp":{"__isSmartRef__":true,"id":52}},"52":{"varMapping":{"__isSmartRef__":true,"id":53},"source":"function onMouseUp(evt) {\n            lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders',   this.menuItems); }","funcProperties":{"__isSmartRef__":true,"id":58},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"53":{"this":{"__isSmartRef__":true,"id":43},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":54}},"54":{"$super":{"__isSmartRef__":true,"id":55}},"55":{"varMapping":{"__isSmartRef__":true,"id":56},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":57},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"56":{"obj":{"__isSmartRef__":true,"id":43},"name":"onMouseUp"},"57":{},"58":{"user":"larswassermann","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Jul 02 2014 14:39:11 GMT-0700 (PDT)\")"},"59":{"submorphs":[{"__isSmartRef__":true,"id":60}],"scripts":[],"shape":{"__isSmartRef__":true,"id":65},"_ClipMode":"visible","derivationIds":["3B18025B-924B-47F2-9E04-9DF0220C2DE7"],"id":"8244681C-C8C4-4DF2-8813-B0377B5EA0FE","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":60},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":66},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(50.0,490.0)"},"60":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":61},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":62}],"_ClipMode":"hidden","derivationIds":["833AEAED-5691-4A33-851E-84EE131C21F4"],"id":"84E380A3-AA63-4866-9BCA-9641BB875907","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":59},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":64},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"61":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"62":{"style":{"__isSmartRef__":true,"id":63},"chunkOwner":{"__isSmartRef__":true,"id":60},"_id":"_1366","storedString":"sequential ignition","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"63":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"64":{"morph":{"__isSmartRef__":true,"id":60},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"65":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"66":{"morph":{"__isSmartRef__":true,"id":59},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"67":{"onMouseUp":{"__isSmartRef__":true,"id":68}},"68":{"varMapping":{"__isSmartRef__":true,"id":69},"source":"function onMouseUp(evt) { \n            this.owner.setAlternateTiming(!this.owner.alternate); }","funcProperties":{"__isSmartRef__":true,"id":74},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"69":{"this":{"__isSmartRef__":true,"id":59},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":70}},"70":{"$super":{"__isSmartRef__":true,"id":71}},"71":{"varMapping":{"__isSmartRef__":true,"id":72},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":73},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"72":{"obj":{"__isSmartRef__":true,"id":59},"name":"onMouseUp"},"73":{},"74":{"user":"larswassermann","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Jul 02 2014 14:39:11 GMT-0700 (PDT)\")"},"75":{"submorphs":[{"__isSmartRef__":true,"id":76}],"scripts":[],"shape":{"__isSmartRef__":true,"id":81},"_ClipMode":"visible","derivationIds":["C029F53C-B864-4E77-A9F4-568EB84EE355"],"id":"CE386A36-5F92-42DC-8F8F-BF94074E216F","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":76},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":82},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(320.0,440.0)"},"76":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":77},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":78}],"_ClipMode":"hidden","derivationIds":["F4184C4A-7EEB-4113-90D2-5A5752C2BC14"],"id":"5D708584-6960-401B-85C5-D259147078E3","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":75},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":80},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"77":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"78":{"style":{"__isSmartRef__":true,"id":79},"chunkOwner":{"__isSmartRef__":true,"id":76},"_id":"_1369","storedString":"running","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"79":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"80":{"morph":{"__isSmartRef__":true,"id":76},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"81":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"82":{"morph":{"__isSmartRef__":true,"id":75},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"83":{"onMouseUp":{"__isSmartRef__":true,"id":84}},"84":{"varMapping":{"__isSmartRef__":true,"id":85},"source":"function onMouseUp(evt) {\n            this.owner.setRunning(!this.owner.running); }","funcProperties":{"__isSmartRef__":true,"id":90},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"85":{"this":{"__isSmartRef__":true,"id":75},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":86}},"86":{"$super":{"__isSmartRef__":true,"id":87}},"87":{"varMapping":{"__isSmartRef__":true,"id":88},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":89},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"88":{"obj":{"__isSmartRef__":true,"id":75},"name":"onMouseUp"},"89":{},"90":{"user":"larswassermann","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Jul 02 2014 14:39:11 GMT-0700 (PDT)\")"},"91":{"submorphs":[{"__isSmartRef__":true,"id":92}],"scripts":[],"shape":{"__isSmartRef__":true,"id":97},"_ClipMode":"visible","derivationIds":["D01267ED-31A6-4971-8EAD-8E36677B800D"],"id":"F38ED706-73AA-4AC5-A5AB-792652431489","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":92},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":98},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(320.0,490.0)"},"92":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":93},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":94}],"_ClipMode":"hidden","derivationIds":["F16FD3DF-E009-459B-99E9-E86CFA67B81F"],"id":"5A183F10-C4B2-48D3-BE5B-C8D9118706F7","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":91},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":96},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)","_Position":"lively.pt(0.0,0.0)"},"93":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"94":{"style":{"__isSmartRef__":true,"id":95},"chunkOwner":{"__isSmartRef__":true,"id":92},"_id":"_1372","storedString":"slow","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"95":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"96":{"morph":{"__isSmartRef__":true,"id":92},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"97":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"98":{"morph":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"99":{"onMouseUp":{"__isSmartRef__":true,"id":100}},"100":{"varMapping":{"__isSmartRef__":true,"id":101},"source":"function onMouseUp(evt) {\n            var isSlow = this.owner.stepTime != 1;\n            this.owner.setStepTime(isSlow ? 1 : this.owner.normalSpeed);\n            this.setLabel(isSlow ? 'fast' : 'slow'); }","funcProperties":{"__isSmartRef__":true,"id":106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"101":{"this":{"__isSmartRef__":true,"id":91},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":102}},"102":{"$super":{"__isSmartRef__":true,"id":103}},"103":{"varMapping":{"__isSmartRef__":true,"id":104},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":105},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"104":{"obj":{"__isSmartRef__":true,"id":91},"name":"onMouseUp"},"105":{},"106":{"user":"larswassermann","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Jul 02 2014 14:39:11 GMT-0700 (PDT)\")"},"107":{"target":{"__isSmartRef__":true,"id":0},"selector":"nextStep","args":[],"stopped":false,"tickTime":100,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"108":{"_BorderWidth":1,"_ClipMode":"visible","__serializedExpressions__":["_Fill","position","_BorderColor","_Padding","_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(204,204,204),\n    offset: 0\n  },{\n    color: Color.rgb(102,102,102),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","position":"lively.pt(0.0,0.0)","_BorderColor":"Color.rgb(95,94,95)","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(451.0,535.0)"},"109":{"partsSpaceName":"PartsBin/BYOIE","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":8,"partName":"LivelyEngine","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"110":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"111":{"borderWidth":2,"__serializedExpressions__":["fill","borderColor"],"fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(102,102,102),\n    offset: 0\n  },{\n    color: Color.rgb(230,230,230),\n    offset: 0.4\n  },{\n    color: Color.rgb(102,102,102),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,1,0)\n})","borderColor":"Color.rgb(0,0,0)"},"112":{"borderWidth":1,"__serializedExpressions__":["fill","borderColor"],"fill":"lively.morphic.Gradient.create({\n  focus: lively.pt(0.5,0.5),\n  stops: [{\n    color: Color.rgb(102,102,102),\n    offset: 0\n  },{\n    color: Color.rgb(51,51,51),\n    offset: 1\n  }],\n  type: \"radial\"\n})","borderColor":"Color.rgb(0,0,0)"},"113":{"resizeWidth":true,"resizeHeight":true},"114":{"submorphs":[{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":120},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":160},{"__isSmartRef__":true,"id":180}],"scripts":[],"shape":{"__isSmartRef__":true,"id":200},"derivationIds":[null],"id":"79B2D4E9-6AAE-4F4C-BDF3-BC43419D6FB5","eventHandler":{"__isSmartRef__":true,"id":201},"droppingEnabled":true,"halosEnabled":true,"items":[{"__isSmartRef__":true,"id":202},{"__isSmartRef__":true,"id":203},{"__isSmartRef__":true,"id":204},{"__isSmartRef__":true,"id":205}],"itemMorphs":[{"__isSmartRef__":true,"id":120},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":160},{"__isSmartRef__":true,"id":180}],"title":{"__isSmartRef__":true,"id":115},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"showsHalos":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Menu","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(290.0,580.0)"},"115":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":116},"derivationIds":[null],"id":"9AA53E95-0838-4671-A1A2-E32B7F326608","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":117}],"eventHandler":{"__isSmartRef__":true,"id":119},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":114},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(33,33,33)","_Position":"lively.pt(0.0,-25.0)"},"116":{"_ClipMode":"hidden","_BorderWidth":1,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(255,255,255),\n    offset: 0\n  },{\n    color: Color.rgb(204,204,204),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(108.0,25.0)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(243,243,243)"},"117":{"style":{"__isSmartRef__":true,"id":118},"chunkOwner":{"__isSmartRef__":true,"id":115},"storedString":"Operating State","_id":"_246","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"118":{"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"119":{"morph":{"__isSmartRef__":true,"id":115},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"120":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":121},"derivationIds":[null],"id":"CCDF4AFA-499D-4D21-BFB8-4028FE50A7E2","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":122}],"eventHandler":{"__isSmartRef__":true,"id":124},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":114},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":125},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"121":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"122":{"style":{"__isSmartRef__":true,"id":123},"chunkOwner":{"__isSmartRef__":true,"id":120},"storedString":"stop","_id":"_247","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"123":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"124":{"morph":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"125":{"onMouseWheel":{"__isSmartRef__":true,"id":126},"onSelectStart":{"__isSmartRef__":true,"id":133}},"126":{"varMapping":{"__isSmartRef__":true,"id":127},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"127":{"this":{"__isSmartRef__":true,"id":120},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":128}},"128":{"$super":{"__isSmartRef__":true,"id":129}},"129":{"varMapping":{"__isSmartRef__":true,"id":130},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"130":{"obj":{"__isSmartRef__":true,"id":120},"name":"onMouseWheel"},"131":{},"132":{},"133":{"varMapping":{"__isSmartRef__":true,"id":134},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":139},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"134":{"this":{"__isSmartRef__":true,"id":120},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":135}},"135":{"$super":{"__isSmartRef__":true,"id":136}},"136":{"varMapping":{"__isSmartRef__":true,"id":137},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"137":{"obj":{"__isSmartRef__":true,"id":120},"name":"onSelectStart"},"138":{},"139":{},"140":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":141},"derivationIds":[null],"id":"77AAE561-EF6B-4188-A2C4-8C48D9C840B9","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":142}],"eventHandler":{"__isSmartRef__":true,"id":144},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":114},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":145},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"141":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,23.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"142":{"style":{"__isSmartRef__":true,"id":143},"chunkOwner":{"__isSmartRef__":true,"id":140},"storedString":"step","_id":"_248","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"143":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"144":{"morph":{"__isSmartRef__":true,"id":140},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"145":{"onMouseWheel":{"__isSmartRef__":true,"id":146},"onSelectStart":{"__isSmartRef__":true,"id":153}},"146":{"varMapping":{"__isSmartRef__":true,"id":147},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"147":{"this":{"__isSmartRef__":true,"id":140},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":148}},"148":{"$super":{"__isSmartRef__":true,"id":149}},"149":{"varMapping":{"__isSmartRef__":true,"id":150},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":151},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"150":{"obj":{"__isSmartRef__":true,"id":140},"name":"onMouseWheel"},"151":{},"152":{},"153":{"varMapping":{"__isSmartRef__":true,"id":154},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":159},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"154":{"this":{"__isSmartRef__":true,"id":140},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":155}},"155":{"$super":{"__isSmartRef__":true,"id":156}},"156":{"varMapping":{"__isSmartRef__":true,"id":157},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"157":{"obj":{"__isSmartRef__":true,"id":140},"name":"onSelectStart"},"158":{},"159":{},"160":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":161},"derivationIds":[null],"id":"1A85BFFA-65BC-40F8-B261-982B6F85B08B","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":162}],"eventHandler":{"__isSmartRef__":true,"id":164},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":114},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":165},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"161":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,46.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"162":{"style":{"__isSmartRef__":true,"id":163},"chunkOwner":{"__isSmartRef__":true,"id":160},"storedString":"rebuild","_id":"_249","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"163":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"164":{"morph":{"__isSmartRef__":true,"id":160},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"165":{"onMouseWheel":{"__isSmartRef__":true,"id":166},"onSelectStart":{"__isSmartRef__":true,"id":173}},"166":{"varMapping":{"__isSmartRef__":true,"id":167},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"167":{"this":{"__isSmartRef__":true,"id":160},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":168}},"168":{"$super":{"__isSmartRef__":true,"id":169}},"169":{"varMapping":{"__isSmartRef__":true,"id":170},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":171},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"170":{"obj":{"__isSmartRef__":true,"id":160},"name":"onMouseWheel"},"171":{},"172":{},"173":{"varMapping":{"__isSmartRef__":true,"id":174},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":179},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"174":{"this":{"__isSmartRef__":true,"id":160},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":175}},"175":{"$super":{"__isSmartRef__":true,"id":176}},"176":{"varMapping":{"__isSmartRef__":true,"id":177},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"177":{"obj":{"__isSmartRef__":true,"id":160},"name":"onSelectStart"},"178":{},"179":{},"180":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":181},"derivationIds":[null],"id":"08D5A969-A0A2-4A54-85E1-AF4916EEB809","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":182}],"eventHandler":{"__isSmartRef__":true,"id":184},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":114},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":185},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"181":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,69.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"182":{"style":{"__isSmartRef__":true,"id":183},"chunkOwner":{"__isSmartRef__":true,"id":180},"storedString":"fast","_id":"_250","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"183":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"184":{"morph":{"__isSmartRef__":true,"id":180},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"185":{"onMouseWheel":{"__isSmartRef__":true,"id":186},"onSelectStart":{"__isSmartRef__":true,"id":193}},"186":{"varMapping":{"__isSmartRef__":true,"id":187},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":192},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"187":{"this":{"__isSmartRef__":true,"id":180},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":188}},"188":{"$super":{"__isSmartRef__":true,"id":189}},"189":{"varMapping":{"__isSmartRef__":true,"id":190},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":191},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"190":{"obj":{"__isSmartRef__":true,"id":180},"name":"onMouseWheel"},"191":{},"192":{},"193":{"varMapping":{"__isSmartRef__":true,"id":194},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"194":{"this":{"__isSmartRef__":true,"id":180},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":195}},"195":{"$super":{"__isSmartRef__":true,"id":196}},"196":{"varMapping":{"__isSmartRef__":true,"id":197},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"197":{"obj":{"__isSmartRef__":true,"id":180},"name":"onSelectStart"},"198":{},"199":{},"200":{"_ClipMode":"visible","_BorderWidth":1,"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(106.0,92.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(230,230,230)","_Fill":"Color.rgb(249,249,249)"},"201":{"morph":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"202":{"isMenuItem":true,"isListItem":true,"string":"stop","value":"stop","idx":0},"203":{"isMenuItem":true,"isListItem":true,"string":"step","value":"step","idx":1},"204":{"isMenuItem":true,"isListItem":true,"string":"rebuild","value":"rebuild","idx":2},"205":{"isMenuItem":true,"isListItem":true,"string":"fast","value":"fast","idx":3},"206":{"submorphs":[{"__isSmartRef__":true,"id":207},{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":232},{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":332},{"__isSmartRef__":true,"id":352},{"__isSmartRef__":true,"id":372}],"scripts":[],"shape":{"__isSmartRef__":true,"id":392},"derivationIds":[null],"id":"EEE0CE1F-6E26-4F90-918F-7D1EA7A01DD7","eventHandler":{"__isSmartRef__":true,"id":393},"droppingEnabled":true,"halosEnabled":true,"items":[{"__isSmartRef__":true,"id":394},{"__isSmartRef__":true,"id":395},{"__isSmartRef__":true,"id":396},{"__isSmartRef__":true,"id":397},{"__isSmartRef__":true,"id":398},{"__isSmartRef__":true,"id":399},{"__isSmartRef__":true,"id":400},{"__isSmartRef__":true,"id":401},{"__isSmartRef__":true,"id":402}],"itemMorphs":[{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":232},{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":332},{"__isSmartRef__":true,"id":352},{"__isSmartRef__":true,"id":372}],"title":{"__isSmartRef__":true,"id":207},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Menu","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(60.0,465.0)"},"207":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":208},"derivationIds":[null],"id":"B2DDE3BD-6832-4CB9-8B83-E5B9B9394730","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":209}],"eventHandler":{"__isSmartRef__":true,"id":211},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(33,33,33)","_Position":"lively.pt(0.0,-25.0)"},"208":{"_ClipMode":"hidden","_BorderWidth":1,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(255,255,255),\n    offset: 0\n  },{\n    color: Color.rgb(204,204,204),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(136.0,25.0)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(243,243,243)"},"209":{"style":{"__isSmartRef__":true,"id":210},"chunkOwner":{"__isSmartRef__":true,"id":207},"storedString":"Number of cylinders","_id":"_251","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"210":{"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"211":{"morph":{"__isSmartRef__":true,"id":207},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"212":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":213},"derivationIds":[null],"id":"D1716D64-A042-4862-A9B5-553101330CD3","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":214}],"eventHandler":{"__isSmartRef__":true,"id":216},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":217},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"213":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"214":{"style":{"__isSmartRef__":true,"id":215},"chunkOwner":{"__isSmartRef__":true,"id":212},"storedString":"1","_id":"_252","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"215":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"216":{"morph":{"__isSmartRef__":true,"id":212},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"217":{"onMouseWheel":{"__isSmartRef__":true,"id":218},"onSelectStart":{"__isSmartRef__":true,"id":225}},"218":{"varMapping":{"__isSmartRef__":true,"id":219},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"219":{"this":{"__isSmartRef__":true,"id":212},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":220}},"220":{"$super":{"__isSmartRef__":true,"id":221}},"221":{"varMapping":{"__isSmartRef__":true,"id":222},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"222":{"obj":{"__isSmartRef__":true,"id":212},"name":"onMouseWheel"},"223":{},"224":{},"225":{"varMapping":{"__isSmartRef__":true,"id":226},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"226":{"this":{"__isSmartRef__":true,"id":212},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":227}},"227":{"$super":{"__isSmartRef__":true,"id":228}},"228":{"varMapping":{"__isSmartRef__":true,"id":229},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"229":{"obj":{"__isSmartRef__":true,"id":212},"name":"onSelectStart"},"230":{},"231":{},"232":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":233},"derivationIds":[null],"id":"D0601594-3D5F-481A-ADD6-EA4EEBC0D7B9","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":234}],"eventHandler":{"__isSmartRef__":true,"id":236},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":237},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"233":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,23.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"234":{"style":{"__isSmartRef__":true,"id":235},"chunkOwner":{"__isSmartRef__":true,"id":232},"storedString":"2","_id":"_253","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"235":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"236":{"morph":{"__isSmartRef__":true,"id":232},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"237":{"onMouseWheel":{"__isSmartRef__":true,"id":238},"onSelectStart":{"__isSmartRef__":true,"id":245}},"238":{"varMapping":{"__isSmartRef__":true,"id":239},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"239":{"this":{"__isSmartRef__":true,"id":232},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":240}},"240":{"$super":{"__isSmartRef__":true,"id":241}},"241":{"varMapping":{"__isSmartRef__":true,"id":242},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":243},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"242":{"obj":{"__isSmartRef__":true,"id":232},"name":"onMouseWheel"},"243":{},"244":{},"245":{"varMapping":{"__isSmartRef__":true,"id":246},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"246":{"this":{"__isSmartRef__":true,"id":232},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":247}},"247":{"$super":{"__isSmartRef__":true,"id":248}},"248":{"varMapping":{"__isSmartRef__":true,"id":249},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"249":{"obj":{"__isSmartRef__":true,"id":232},"name":"onSelectStart"},"250":{},"251":{},"252":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":253},"derivationIds":[null],"id":"E5C91869-8C6B-4455-BCDD-35201B35E48E","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":254}],"eventHandler":{"__isSmartRef__":true,"id":256},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":257},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"253":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,46.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"254":{"style":{"__isSmartRef__":true,"id":255},"chunkOwner":{"__isSmartRef__":true,"id":252},"storedString":"3","_id":"_254","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"255":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"256":{"morph":{"__isSmartRef__":true,"id":252},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"257":{"onMouseWheel":{"__isSmartRef__":true,"id":258},"onSelectStart":{"__isSmartRef__":true,"id":265}},"258":{"varMapping":{"__isSmartRef__":true,"id":259},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"259":{"this":{"__isSmartRef__":true,"id":252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":260}},"260":{"$super":{"__isSmartRef__":true,"id":261}},"261":{"varMapping":{"__isSmartRef__":true,"id":262},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"262":{"obj":{"__isSmartRef__":true,"id":252},"name":"onMouseWheel"},"263":{},"264":{},"265":{"varMapping":{"__isSmartRef__":true,"id":266},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"266":{"this":{"__isSmartRef__":true,"id":252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":267}},"267":{"$super":{"__isSmartRef__":true,"id":268}},"268":{"varMapping":{"__isSmartRef__":true,"id":269},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"269":{"obj":{"__isSmartRef__":true,"id":252},"name":"onSelectStart"},"270":{},"271":{},"272":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":273},"derivationIds":[null],"id":"FC3FB9CD-90B1-418F-B704-321C76F864F0","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":274}],"eventHandler":{"__isSmartRef__":true,"id":276},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":277},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"273":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,69.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"274":{"style":{"__isSmartRef__":true,"id":275},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"4","_id":"_255","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"275":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"276":{"morph":{"__isSmartRef__":true,"id":272},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"277":{"onMouseWheel":{"__isSmartRef__":true,"id":278},"onSelectStart":{"__isSmartRef__":true,"id":285}},"278":{"varMapping":{"__isSmartRef__":true,"id":279},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"279":{"this":{"__isSmartRef__":true,"id":272},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":280}},"280":{"$super":{"__isSmartRef__":true,"id":281}},"281":{"varMapping":{"__isSmartRef__":true,"id":282},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":283},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"282":{"obj":{"__isSmartRef__":true,"id":272},"name":"onMouseWheel"},"283":{},"284":{},"285":{"varMapping":{"__isSmartRef__":true,"id":286},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":291},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"286":{"this":{"__isSmartRef__":true,"id":272},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":287}},"287":{"$super":{"__isSmartRef__":true,"id":288}},"288":{"varMapping":{"__isSmartRef__":true,"id":289},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"289":{"obj":{"__isSmartRef__":true,"id":272},"name":"onSelectStart"},"290":{},"291":{},"292":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":293},"derivationIds":[null],"id":"9481B5E8-87A9-4363-87A5-4F0A1C5BDE05","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":294}],"eventHandler":{"__isSmartRef__":true,"id":296},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":297},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"293":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,92.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"294":{"style":{"__isSmartRef__":true,"id":295},"chunkOwner":{"__isSmartRef__":true,"id":292},"storedString":"5","_id":"_256","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"295":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"296":{"morph":{"__isSmartRef__":true,"id":292},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"297":{"onMouseWheel":{"__isSmartRef__":true,"id":298},"onSelectStart":{"__isSmartRef__":true,"id":305}},"298":{"varMapping":{"__isSmartRef__":true,"id":299},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"299":{"this":{"__isSmartRef__":true,"id":292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":300}},"300":{"$super":{"__isSmartRef__":true,"id":301}},"301":{"varMapping":{"__isSmartRef__":true,"id":302},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":303},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"302":{"obj":{"__isSmartRef__":true,"id":292},"name":"onMouseWheel"},"303":{},"304":{},"305":{"varMapping":{"__isSmartRef__":true,"id":306},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":311},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"306":{"this":{"__isSmartRef__":true,"id":292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":307}},"307":{"$super":{"__isSmartRef__":true,"id":308}},"308":{"varMapping":{"__isSmartRef__":true,"id":309},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"309":{"obj":{"__isSmartRef__":true,"id":292},"name":"onSelectStart"},"310":{},"311":{},"312":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":313},"derivationIds":[null],"id":"DC09170F-3AFC-4E9F-A60D-99EA444BAFBA","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":314}],"eventHandler":{"__isSmartRef__":true,"id":316},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":317},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"313":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,115.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"314":{"style":{"__isSmartRef__":true,"id":315},"chunkOwner":{"__isSmartRef__":true,"id":312},"storedString":"6","_id":"_257","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"315":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"316":{"morph":{"__isSmartRef__":true,"id":312},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"317":{"onMouseWheel":{"__isSmartRef__":true,"id":318},"onSelectStart":{"__isSmartRef__":true,"id":325}},"318":{"varMapping":{"__isSmartRef__":true,"id":319},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":324},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"319":{"this":{"__isSmartRef__":true,"id":312},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":320}},"320":{"$super":{"__isSmartRef__":true,"id":321}},"321":{"varMapping":{"__isSmartRef__":true,"id":322},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"322":{"obj":{"__isSmartRef__":true,"id":312},"name":"onMouseWheel"},"323":{},"324":{},"325":{"varMapping":{"__isSmartRef__":true,"id":326},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":331},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"326":{"this":{"__isSmartRef__":true,"id":312},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":327}},"327":{"$super":{"__isSmartRef__":true,"id":328}},"328":{"varMapping":{"__isSmartRef__":true,"id":329},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":330},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"329":{"obj":{"__isSmartRef__":true,"id":312},"name":"onSelectStart"},"330":{},"331":{},"332":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":333},"derivationIds":[null],"id":"32C8887C-5909-482F-A759-0A464A478DA5","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":334}],"eventHandler":{"__isSmartRef__":true,"id":336},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":337},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"333":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,138.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"334":{"style":{"__isSmartRef__":true,"id":335},"chunkOwner":{"__isSmartRef__":true,"id":332},"storedString":"7","_id":"_258","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"335":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"336":{"morph":{"__isSmartRef__":true,"id":332},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"337":{"onMouseWheel":{"__isSmartRef__":true,"id":338},"onSelectStart":{"__isSmartRef__":true,"id":345}},"338":{"varMapping":{"__isSmartRef__":true,"id":339},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"339":{"this":{"__isSmartRef__":true,"id":332},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":340}},"340":{"$super":{"__isSmartRef__":true,"id":341}},"341":{"varMapping":{"__isSmartRef__":true,"id":342},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":343},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"342":{"obj":{"__isSmartRef__":true,"id":332},"name":"onMouseWheel"},"343":{},"344":{},"345":{"varMapping":{"__isSmartRef__":true,"id":346},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"346":{"this":{"__isSmartRef__":true,"id":332},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":347}},"347":{"$super":{"__isSmartRef__":true,"id":348}},"348":{"varMapping":{"__isSmartRef__":true,"id":349},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"349":{"obj":{"__isSmartRef__":true,"id":332},"name":"onSelectStart"},"350":{},"351":{},"352":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":353},"derivationIds":[null],"id":"7C7EA66E-F05A-491B-9B0A-1C4FC1E78B77","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":354}],"eventHandler":{"__isSmartRef__":true,"id":356},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":357},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"353":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,161.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"354":{"style":{"__isSmartRef__":true,"id":355},"chunkOwner":{"__isSmartRef__":true,"id":352},"storedString":"8","_id":"_259","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"355":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"356":{"morph":{"__isSmartRef__":true,"id":352},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"357":{"onMouseWheel":{"__isSmartRef__":true,"id":358},"onSelectStart":{"__isSmartRef__":true,"id":365}},"358":{"varMapping":{"__isSmartRef__":true,"id":359},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"359":{"this":{"__isSmartRef__":true,"id":352},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":360}},"360":{"$super":{"__isSmartRef__":true,"id":361}},"361":{"varMapping":{"__isSmartRef__":true,"id":362},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"362":{"obj":{"__isSmartRef__":true,"id":352},"name":"onMouseWheel"},"363":{},"364":{},"365":{"varMapping":{"__isSmartRef__":true,"id":366},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":371},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"366":{"this":{"__isSmartRef__":true,"id":352},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":367}},"367":{"$super":{"__isSmartRef__":true,"id":368}},"368":{"varMapping":{"__isSmartRef__":true,"id":369},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":370},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"369":{"obj":{"__isSmartRef__":true,"id":352},"name":"onSelectStart"},"370":{},"371":{},"372":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":373},"derivationIds":[null],"id":"F08FDF6D-981E-49C2-B4B8-A848E5D48CFA","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":374}],"eventHandler":{"__isSmartRef__":true,"id":376},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":206},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":377},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"373":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,184.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"374":{"style":{"__isSmartRef__":true,"id":375},"chunkOwner":{"__isSmartRef__":true,"id":372},"storedString":"9","_id":"_260","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"375":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"376":{"morph":{"__isSmartRef__":true,"id":372},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"377":{"onMouseWheel":{"__isSmartRef__":true,"id":378},"onSelectStart":{"__isSmartRef__":true,"id":385}},"378":{"varMapping":{"__isSmartRef__":true,"id":379},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"379":{"this":{"__isSmartRef__":true,"id":372},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":380}},"380":{"$super":{"__isSmartRef__":true,"id":381}},"381":{"varMapping":{"__isSmartRef__":true,"id":382},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"382":{"obj":{"__isSmartRef__":true,"id":372},"name":"onMouseWheel"},"383":{},"384":{},"385":{"varMapping":{"__isSmartRef__":true,"id":386},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":391},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"386":{"this":{"__isSmartRef__":true,"id":372},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":387}},"387":{"$super":{"__isSmartRef__":true,"id":388}},"388":{"varMapping":{"__isSmartRef__":true,"id":389},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"389":{"obj":{"__isSmartRef__":true,"id":372},"name":"onSelectStart"},"390":{},"391":{},"392":{"_ClipMode":"visible","_BorderWidth":1,"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(136.0,207.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(230,230,230)","_Fill":"Color.rgb(249,249,249)"},"393":{"morph":{"__isSmartRef__":true,"id":206},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"394":{"isMenuItem":true,"isListItem":true,"string":"1","value":"1","idx":0},"395":{"isMenuItem":true,"isListItem":true,"string":"2","value":"2","idx":1},"396":{"isMenuItem":true,"isListItem":true,"string":"3","value":"3","idx":2},"397":{"isMenuItem":true,"isListItem":true,"string":"4","value":"4","idx":3},"398":{"isMenuItem":true,"isListItem":true,"string":"5","value":"5","idx":4},"399":{"isMenuItem":true,"isListItem":true,"string":"6","value":"6","idx":5},"400":{"isMenuItem":true,"isListItem":true,"string":"7","value":"7","idx":6},"401":{"isMenuItem":true,"isListItem":true,"string":"8","value":"8","idx":7},"402":{"isMenuItem":true,"isListItem":true,"string":"9","value":"9","idx":8},"403":{"submorphs":[{"__isSmartRef__":true,"id":404},{"__isSmartRef__":true,"id":409},{"__isSmartRef__":true,"id":429}],"scripts":[],"shape":{"__isSmartRef__":true,"id":449},"derivationIds":[null],"id":"AA2E0A07-8CA4-415B-AA74-0E39C48E5887","eventHandler":{"__isSmartRef__":true,"id":450},"droppingEnabled":true,"halosEnabled":true,"items":[{"__isSmartRef__":true,"id":451},{"__isSmartRef__":true,"id":452}],"itemMorphs":[{"__isSmartRef__":true,"id":409},{"__isSmartRef__":true,"id":429}],"title":{"__isSmartRef__":true,"id":404},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Menu","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(290.0,465.0)"},"404":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":405},"derivationIds":[null],"id":"61C73F1E-1B84-46BD-9D40-3BBDD33B70D7","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":406}],"eventHandler":{"__isSmartRef__":true,"id":408},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":403},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(33,33,33)","_Position":"lively.pt(0.0,-25.0)"},"405":{"_ClipMode":"hidden","_BorderWidth":1,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(255,255,255),\n    offset: 0\n  },{\n    color: Color.rgb(204,204,204),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(102.0,25.0)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(243,243,243)"},"406":{"style":{"__isSmartRef__":true,"id":407},"chunkOwner":{"__isSmartRef__":true,"id":404},"storedString":"Ignition timing","_id":"_261","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"407":{"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"408":{"morph":{"__isSmartRef__":true,"id":404},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"409":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":410},"derivationIds":[null],"id":"5FE97209-E510-49CE-9632-713AD65C9B22","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":411}],"eventHandler":{"__isSmartRef__":true,"id":413},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":403},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":414},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"410":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(102.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"411":{"style":{"__isSmartRef__":true,"id":412},"chunkOwner":{"__isSmartRef__":true,"id":409},"storedString":"sequential","_id":"_262","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"412":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"413":{"morph":{"__isSmartRef__":true,"id":409},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"414":{"onMouseWheel":{"__isSmartRef__":true,"id":415},"onSelectStart":{"__isSmartRef__":true,"id":422}},"415":{"varMapping":{"__isSmartRef__":true,"id":416},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":421},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"416":{"this":{"__isSmartRef__":true,"id":409},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":417}},"417":{"$super":{"__isSmartRef__":true,"id":418}},"418":{"varMapping":{"__isSmartRef__":true,"id":419},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"419":{"obj":{"__isSmartRef__":true,"id":409},"name":"onMouseWheel"},"420":{},"421":{"user":"undefined","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)\")"},"422":{"varMapping":{"__isSmartRef__":true,"id":423},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"423":{"this":{"__isSmartRef__":true,"id":409},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":424}},"424":{"$super":{"__isSmartRef__":true,"id":425}},"425":{"varMapping":{"__isSmartRef__":true,"id":426},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":427},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"426":{"obj":{"__isSmartRef__":true,"id":409},"name":"onSelectStart"},"427":{},"428":{"user":"undefined","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)\")"},"429":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":430},"derivationIds":[null],"id":"614202E2-564F-4D60-8CB9-4F3860BDA793","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":431}],"eventHandler":{"__isSmartRef__":true,"id":433},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":403},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":434},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"430":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,23.0)","_Extent":"lively.pt(102.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"431":{"style":{"__isSmartRef__":true,"id":432},"chunkOwner":{"__isSmartRef__":true,"id":429},"storedString":"alternate","_id":"_263","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"432":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"433":{"morph":{"__isSmartRef__":true,"id":429},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"434":{"onMouseWheel":{"__isSmartRef__":true,"id":435},"onSelectStart":{"__isSmartRef__":true,"id":442}},"435":{"varMapping":{"__isSmartRef__":true,"id":436},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":441},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"436":{"this":{"__isSmartRef__":true,"id":429},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":437}},"437":{"$super":{"__isSmartRef__":true,"id":438}},"438":{"varMapping":{"__isSmartRef__":true,"id":439},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"439":{"obj":{"__isSmartRef__":true,"id":429},"name":"onMouseWheel"},"440":{},"441":{"user":"undefined","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)\")"},"442":{"varMapping":{"__isSmartRef__":true,"id":443},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"443":{"this":{"__isSmartRef__":true,"id":429},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":444}},"444":{"$super":{"__isSmartRef__":true,"id":445}},"445":{"varMapping":{"__isSmartRef__":true,"id":446},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":447},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"446":{"obj":{"__isSmartRef__":true,"id":429},"name":"onSelectStart"},"447":{},"448":{"user":"undefined","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)\")"},"449":{"_ClipMode":"visible","_BorderWidth":1,"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(102.0,46.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(230,230,230)","_Fill":"Color.rgb(249,249,249)"},"450":{"morph":{"__isSmartRef__":true,"id":403},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"451":{"isMenuItem":true,"isListItem":true,"string":"sequential","value":"sequential","idx":0},"452":{"isMenuItem":true,"isListItem":true,"string":"alternate","value":"alternate","idx":1},"453":{"submorphs":[{"__isSmartRef__":true,"id":454}],"scripts":[],"shape":{"__isSmartRef__":true,"id":459},"derivationIds":[null],"id":"3B18BD5D-8391-49FD-B2BA-A60D4B68637F","eventHandler":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":true,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":454},"owner":null,"menuItems":[["1",{"__isSmartRef__":true,"id":0},"makeCylinders",1],["2",{"__isSmartRef__":true,"id":0},"makeCylinders",2],["3",{"__isSmartRef__":true,"id":0},"makeCylinders",3],["4",{"__isSmartRef__":true,"id":0},"makeCylinders",4],["5",{"__isSmartRef__":true,"id":0},"makeCylinders",5],["6",{"__isSmartRef__":true,"id":0},"makeCylinders",6],["7",{"__isSmartRef__":true,"id":0},"makeCylinders",7],["8",{"__isSmartRef__":true,"id":0},"makeCylinders",8],["9",{"__isSmartRef__":true,"id":0},"makeCylinders",9]],"__serializedExpressions__":["normalFill","lighterFill","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":461},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","normalFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","lighterFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Position":"lively.pt(60.0,440.0)"},"454":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":455},"derivationIds":[null],"id":"E1055358-3AC5-48AE-873A-7A64CC404CDA","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":456}],"eventHandler":{"__isSmartRef__":true,"id":458},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":453},"_MaxTextWidth":70,"_MinTextWidth":70,"_MaxTextHeight":null,"_MinTextHeight":null,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"455":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"456":{"style":{"__isSmartRef__":true,"id":457},"chunkOwner":{"__isSmartRef__":true,"id":454},"storedString":"Number of cylinders","_id":"_264","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"457":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"458":{"morph":{"__isSmartRef__":true,"id":454},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"459":{"_ClipMode":"visible","_BorderWidth":1,"_BorderRadius":5,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"460":{"morph":{"__isSmartRef__":true,"id":453},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"461":{"onMouseUp":{"__isSmartRef__":true,"id":462}},"462":{"varMapping":{"__isSmartRef__":true,"id":463},"source":"function onMouseUp(evt) {\n            lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders',\n            this.menuItems); }","funcProperties":{"__isSmartRef__":true,"id":468},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"463":{"this":{"__isSmartRef__":true,"id":453},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":464}},"464":{"$super":{"__isSmartRef__":true,"id":465}},"465":{"varMapping":{"__isSmartRef__":true,"id":466},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":467},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"466":{"obj":{"__isSmartRef__":true,"id":453},"name":"onMouseUp"},"467":{},"468":{"user":"undefined","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)\")"},"469":{"onrestore":{"__isSmartRef__":true,"id":470},"rebuildButtons":{"__isSmartRef__":true,"id":477},"reset":{"__isSmartRef__":true,"id":480},"makeLayout":{"__isSmartRef__":true,"id":483},"makeCylinders":{"__isSmartRef__":true,"id":486},"movePiston":{"__isSmartRef__":true,"id":489},"setRunning":{"__isSmartRef__":true,"id":492},"nextStep":{"__isSmartRef__":true,"id":495},"doStep":{"__isSmartRef__":true,"id":498},"setAlternateTiming":{"__isSmartRef__":true,"id":501},"setStepTime":{"__isSmartRef__":true,"id":504},"startSteppingScripts":{"__isSmartRef__":true,"id":507}},"470":{"varMapping":{"__isSmartRef__":true,"id":471},"source":"function onrestore() {\n    $super();\n    this.rebuildButtons.bind(this).delay(0); // FIXME\n}","funcProperties":{"__isSmartRef__":true,"id":476},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"471":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":472}},"472":{"$super":{"__isSmartRef__":true,"id":473}},"473":{"varMapping":{"__isSmartRef__":true,"id":474},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":475},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"474":{"obj":{"__isSmartRef__":true,"id":0},"name":"onrestore"},"475":{},"476":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 18:19:20 GMT-0700 (PDT)\")"},"477":{"varMapping":{"__isSmartRef__":true,"id":478},"source":"function rebuildButtons() {  //this.rebuildButtons();\n    this.submorphs.select(function (m) { return m instanceof lively.morphic.Button })\n        .forEach(function (m) { m.remove() });\n\n    var n = this.cylinders.length;\n    var label = (n==1) ? '1 cylinder' : n.toString() + ' cylinders';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(50, 440, 140, 20), label));\n    b.menuItems = Array.range(1,9).collect( function(i) {\n            return [i.toString(), this, 'makeCylinders', i]; }.bind(this));\n    b.addScript(function onMouseUp(evt) {\n            lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders',   this.menuItems); });\n\n    var label = (this.alternate ? 'alternate' : 'sequential') + ' ignition';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(50, 490, 140, 20), label));\n    b.addScript(function onMouseUp(evt) { \n            this.owner.setAlternateTiming(!this.owner.alternate); });\n\n    var label =  this.running ? 'running' : 'stopped';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(320, 440, 70, 20), label));\n    b.addScript(function onMouseUp(evt) {\n            this.owner.setRunning(!this.owner.running); });\n\nif (this.running) {\n    var label =  (this.stepTime==1) ? 'fast' : 'slow';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(320, 490, 70, 20), label));\n    b.addScript(function onMouseUp(evt) {\n            var isSlow = this.owner.stepTime != 1;\n            this.owner.setStepTime(isSlow ? 1 : this.owner.normalSpeed);\n            this.setLabel(isSlow ? 'fast' : 'slow'); });\n} else {\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(320, 490, 70, 20), 'step'));\n    b.addScript(function onMouseUp(evt) { this.owner.doStep(); });\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":479},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"478":{"this":{"__isSmartRef__":true,"id":0}},"479":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)\")"},"480":{"varMapping":{"__isSmartRef__":true,"id":481},"source":"function reset() {\n    this.applyStyle({\n        fill: new lively.morphic.LinearGradient([\n            {offset: 0, color: Color.gray},\n            {offset: 1, color: Color.darkGray}], 'NorthSouth'),\n        borderColor: Color.black, \n        borderWidth: 1,\n        extent: pt(450, 690)\n    })\n\n    this.pistonStyle = {\n        fill: new lively.morphic.LinearGradient([\n            {offset: 0, color: Color.darkGray},\n            {offset: 0.4, color: Color.lightGray},\n            {offset: 1, color: Color.darkGray}], 'EastWest'),\n        borderColor: Color.black, \n        borderWidth: 2\n    }\n    \n    this.crankPinStyle = {\n        fill: new lively.morphic.RadialGradient([\n            {offset: 0, color: Color.darkGray},\n            {offset:1, color: Color.gray.darker(2)}]),\n        borderColor: Color.black,\n        borderWidth: 1\n    }\n\n    // set some state\n    this.angleStep = Math.PI/8;\n    this.cylinders = [];\n\n    var bnds = this.innerBounds().withHeight(this.innerBounds().width);\n    var center = bnds.center();\n    var relBore = 0.14;\n    var cr = bnds.scaleByRect(new Rectangle(0.5 - (relBore/2), 0.1, relBore, 0.2));\n    var dHead = cr.width*0.2;  // slight dome at top of cylinder -- room for valves\n    var pistonBW = 2;\n    this.topPosDisplacement = pt(pistonBW, dHead);\n\n    this.makeLayout(this.cylinders.length || 1, this.alternate);\n}","funcProperties":{"__isSmartRef__":true,"id":482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"481":{"this":{"__isSmartRef__":true,"id":0}},"482":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 19:42:53 GMT-0700 (PDT)\")"},"483":{"varMapping":{"__isSmartRef__":true,"id":484},"source":"function makeLayout(nCylinders, alternating) {\n    // FYI, here's the declarative structure...\n    //    Engine\n    //        Crank\n    //            CrankPin\n    //        CrankPinCap - follows the crank pin, but appears over connecting rods\n    //        ConnectingRod (with highlight)\n    //        Cylinder (may be many)\n    //            Piston\n    //                WristPin\n    this.removeAllMorphs();\n\n    this.makeLayout(this.cylinders.length || 1, this.alternate);\n    var bnds = this.innerBounds().withHeight(this.innerBounds().width);\n    this.stroke = bnds.height*0.12;\n    this.normalSpeed = 100;\n    this.crank = lively.morphic.Morph.makeCircle(bnds.center(), this.stroke*0.8, 4, Color.black, Color.gray);\n    this.addMorph(this.crank);\n    this.crankPin = lively.morphic.Morph.makeCircle(pt(0, -this.stroke/2), this.stroke*0.25, 1, \n        Color.black, Color.gray.darker(2));\n    this.crank.addMorph(this.crankPin);\n    this.crankPinCap = this.crankPin.copy();\n    this.crankPinCap.applyStyle(this.crankPinStyle);\n    this.alternate = alternating;\n    this.makeCylinders(nCylinders);\n\n    this.rebuildButtons();\n\n    var label = this.addMorph(lively.morphic.Text.makeLabel(\"The Radial Engine\",{fontSize: 20}));\n    label.align(label.bounds().topCenter(), bnds.bottomCenter().addXY(0, -20));\n}","funcProperties":{"__isSmartRef__":true,"id":485},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"484":{"this":{"__isSmartRef__":true,"id":0}},"485":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)\")"},"486":{"varMapping":{"__isSmartRef__":true,"id":487},"source":"function makeCylinders(nCylinders) {\n    // Build cylinder-piston assembly with center of rotation at crank center\n    this.crankAngle = 0; // goes up to 4*pi, while rotation wraps at 2*pi\n    this.crank.setRotation(this.crankAngle);\n    var bnds = this.innerBounds().withHeight(this.innerBounds().width),\n        relBore = 0.14,\n        cr = bnds.scaleByRect(new Rectangle(0.5 - (relBore/2), 0.10, relBore, 0.2));\n    var dHead = cr.width*0.2, // slight dome at top of cylinder -- room for valves\n        cylVerts = [cr.topRight(), cr.bottomRight(),  //vertices of cylinder polygon\n            cr.topRight().addXY(0, this.stroke), cr.topLeft().addXY(0, this.stroke),\n            cr.bottomLeft(), cr.topLeft(),\n            cr.topLeft().addXY(dHead, -dHead), cr.topRight().addXY(-dHead, -dHead),\n            cr.topRight()];\n    cylVerts = cylVerts.invoke('subPt', this.crank.bounds().center());\n\n    // create prototype cylinder\n    var cylinder = lively.morphic.Morph.makePolygon(cylVerts, 4, Color.black, Color.gray);\n    cylinder.setPosition(this.crank.bounds().center());\n    var pistonBW = this.pistonStyle.borderWidth,\n        pistonDx = (cylinder.getBorderWidth() + pistonBW) / 2 - 4,\n        piston = lively.morphic.Morph.makeRectangle(cr.insetByPt(pt(pistonDx, (cr.height-this.stroke)/2)));\n    piston.applyStyle(this.pistonStyle);\n    cylinder.addMorph(piston);\n    var wristPin = lively.morphic.Morph.makeCircle(piston.innerBounds().center(), cr.width*0.1, 0, null, Color.black);\n    piston.addMorph(wristPin);\n\n    // Duplicate and rotate the cylinder assembly to complete the engine\n    if (this.cylinders) this.cylinders.invoke('remove'); // remove any previous assemblies\n    if (this.connectingRods) this.connectingRods.invoke('remove');\n\n    this.cylinders = []; // Note this is an array that points to various submorphs\n    this.connectingRods = [];\n    for (var i = 0; i < nCylinders; i++) {\n        var cyl = cylinder.copy();\n        this.addMorph(cyl)\n        cyl.angle = (Math.PI*2/nCylinders)*i;\n        if (this.alternate && i%2 == 1) cyl.angle += Math.PI*2;\n        cyl.setRotation(cyl.angle);\n        cyl.piston = cyl.topSubmorph();\n        cyl.piston.topPos = cyl.innerBounds().topLeft().addPt(this.topPosDisplacement);\n        cyl.wristPin = cyl.piston.topSubmorph();\n        this.cylinders.push(cyl);\n        // Note: cyl.connectingRod points to a morph that is not a submorph yet\n        // Real endpoints get set later in doStep\n        this.connectingRods[i] = cyl.addMorph(lively.morphic.Morph.makeLine(\n            [pt(10, 10), pt(10, 10)], cr.width*0.15, Color.gray.darker(2) ));\n        this.connectingRods[i].addMorph(lively.morphic.Morph.makeLine( // extra morph for highlight on rod\n            [pt(10, 10), pt(10, 10)], cr.width*0.05, Color.darkGray ));\n        cyl.addMorph(cyl.piston);  // brings it on top of connecting rod (looks better)\n        this.movePiston(cyl);\n    };\n    this.connectingRods[nCylinders-1].addMorph(this.crankPinCap);\n    this.rebuildButtons(); // updates button labels\n    this.doStep(); // makes connecting rods;\n}","funcProperties":{"__isSmartRef__":true,"id":488},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"487":{"this":{"__isSmartRef__":true,"id":0}},"488":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)\")"},"489":{"varMapping":{"__isSmartRef__":true,"id":490},"source":"function movePiston(cyl) { // Method to move piston and connecting rod\n    var pi = Math.PI;\n    var phase = (this.crankAngle - cyl.angle);\n    if (phase < 0) phase += pi*4;\n    var dy = (Math.cos(phase) - 1 - 0.1) * this.stroke/2;  //0.1 fudge for appearance\n    cyl.piston.setPosition(cyl.piston.topPos.addXY(0, -dy));\n    var cycle = Math.floor(phase / pi);  // Change color based on cycle\n    var frac = phase / pi - cycle;  // Change shading based on fractional part of cycle (wow ;-)\n    switch (cycle) {\n        case 0: cyl.setFill(Color.blue.lighter());  break;  // intake\n        case 1: cyl.setFill(Color.blue.mixedWith(Color.blue.lighter(), frac));  break;  // compression\n        case 2: cyl.setFill(Color.red.lighter().mixedWith(Color.red, frac));  break;  // power\n        case 3: cyl.setFill(Color.red.lighter());  break; \n    }  // exhaust\n    if (Math.abs(phase-2*pi) < this.angleStep/2) cyl.setFill(Color.yellow);  // ignition\n}","funcProperties":{"__isSmartRef__":true,"id":491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"490":{"this":{"__isSmartRef__":true,"id":0}},"491":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 21:25:02 GMT-0700 (PDT)\")"},"492":{"varMapping":{"__isSmartRef__":true,"id":493},"source":"function setRunning(trueOrFalse) {\n    this.running = trueOrFalse;\n    this.rebuildButtons(); // updates buttons\n}","funcProperties":{"__isSmartRef__":true,"id":494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"493":{"this":{"__isSmartRef__":true,"id":0}},"494":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Mar 14 2012 20:01:09 GMT-0700 (PDT)\")"},"495":{"varMapping":{"__isSmartRef__":true,"id":496},"source":"function nextStep() {\n    if (!this.running) return;\n    // Don't bother stepping if we are in a collapsed window\n    if (this.parent && this.parent.isCollapsed()) return;\n    this.doStep();\n}","funcProperties":{"__isSmartRef__":true,"id":497},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"496":{"this":{"__isSmartRef__":true,"id":0}},"497":{"user":"robertkrahn","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Jul 12 2011 13:53:00 GMT-0700 (PDT)\")"},"498":{"varMapping":{"__isSmartRef__":true,"id":499},"source":"function doStep() {\n    var crPt;\n    this.crankAngle += this.angleStep; \n    if (this.crankAngle > Math.PI*4) this.crankAngle -= Math.PI*4;\n    this.crank.setRotation(this.crankAngle);  // Rotate the crankshaft\n    this.cylinders.forEach(function(cyl, i) {\n        this.movePiston(cyl);  // Move the pistons\n        var cr = this.connectingRods[i];\n        cr.setVertices(  // Relocate the connecting rods\n            [cr.localizePointFrom(this.crankPin.bounds().center(), this.crank),\n            cr.localizePointFrom(cyl.wristPin.bounds().center(), cyl.piston)]\n        );\n        cr.submorphs[0].setVertices(  // also the highlight stripes\n            [cr.shape.vertices()[0],\n            cr.shape.vertices()[1]]\n        );\n        crPt = cr.shape.vertices()[0];\n    }, this);\n    this.crankPinCap.setPosition(crPt);\n}","funcProperties":{"__isSmartRef__":true,"id":500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"499":{"this":{"__isSmartRef__":true,"id":0}},"500":{"user":"robertkrahn","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Jul 13 2011 04:57:41 GMT-0700 (PDT)\")"},"501":{"varMapping":{"__isSmartRef__":true,"id":502},"source":"function setAlternateTiming(trueOrFalse) {\n    // Demonstrate alternate and sequential firing order\n    this.alternate = trueOrFalse;\n    this.makeCylinders(this.cylinders.length);\n    this.doStep(); // makes connecting rods\n}","funcProperties":{"__isSmartRef__":true,"id":503},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"502":{"this":{"__isSmartRef__":true,"id":0}},"503":{"user":"robertkrahn","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Jul 12 2011 13:53:00 GMT-0700 (PDT)\")"},"504":{"varMapping":{"__isSmartRef__":true,"id":505},"source":"function setStepTime(ms) {\n    this.stepTime = ms;\n    this.stopStepping();\n    this.startStepping(ms,'nextStep');\n}","funcProperties":{"__isSmartRef__":true,"id":506},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"505":{"this":{"__isSmartRef__":true,"id":0}},"506":{"user":"undefined","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)\")"},"507":{"varMapping":{"__isSmartRef__":true,"id":508},"source":"function startSteppingScripts() { \n    this.setStepTime(this.normalSpeed);\n}","funcProperties":{"__isSmartRef__":true,"id":509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"508":{"this":{"__isSmartRef__":true,"id":0}},"509":{"user":"robertkrahn","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Jul 12 2011 13:53:00 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}