summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2021-02-17 16:55:00 -0600
committerColin Okay <okay@toyful.space>2021-02-17 16:55:00 -0600
commit8d22d8d11ee45a7fb5ead5ddd8993c0a0df8a1e0 (patch)
tree4470a69dbf0925dfce984e8f846b2243ae8406c1
parent0332c26c07039b9dafbe45cdf11dc9b83e8ddbb6 (diff)
removed button class, got splash screen
-rw-r--r--Assets/title.json1
-rw-r--r--Source/Main.hx195
2 files changed, 113 insertions, 83 deletions
diff --git a/Assets/title.json b/Assets/title.json
new file mode 100644
index 0000000..86042b6
--- /dev/null
+++ b/Assets/title.json
@@ -0,0 +1 @@
+[{"width":207.464429072771,"x":383.619047619048,"y":95,"height":237.722317794546,"path":[{"x":2.38095238095235,"y":47},{"x":12.3809523809524,"y":78},{"x":24.3809523809524,"y":110},{"x":32.3809523809524,"y":131},{"x":39.3809523809524,"y":150},{"x":46.3809523809524,"y":173},{"x":53.3809523809524,"y":190},{"x":59.3809523809524,"y":206},{"x":64.3809523809524,"y":216},{"x":67.3809523809524,"y":225},{"x":69.3809523809524,"y":231},{"x":72.3809523809524,"y":226},{"x":79.3809523809524,"y":212},{"x":90.3809523809524,"y":190},{"x":96.3809523809524,"y":181},{"x":101.380952380952,"y":173},{"x":106.380952380952,"y":165},{"x":119.380952380952,"y":173},{"x":131.380952380952,"y":187},{"x":146.380952380952,"y":204},{"x":152.380952380952,"y":210},{"x":156.380952380952,"y":205},{"x":163.380952380952,"y":182},{"x":169.380952380952,"y":146},{"x":174.380952380952,"y":117},{"x":181.380952380952,"y":75},{"x":185.380952380952,"y":50},{"x":190.380952380952,"y":25},{"x":194.380952380952,"y":11},{"x":195.380952380952,"y":6},{"x":197.380952380952,"y":0},{"x":181.380952380952,"y":21},{"x":172.380952380952,"y":40},{"x":166.380952380952,"y":58},{"x":161.380952380952,"y":78},{"x":157.380952380952,"y":91},{"x":153.380952380952,"y":101},{"x":148.380952380952,"y":113},{"x":145.380952380952,"y":121},{"x":142.380952380952,"y":128},{"x":133.380952380952,"y":123},{"x":125.380952380952,"y":110},{"x":116.380952380952,"y":93},{"x":112.380952380952,"y":82},{"x":109.380952380952,"y":78},{"x":104.380952380952,"y":90},{"x":97.3809523809524,"y":108},{"x":92.3809523809524,"y":120},{"x":87.3809523809524,"y":132},{"x":84.3809523809524,"y":140},{"x":81.3809523809524,"y":145},{"x":78.3809523809524,"y":153},{"x":73.3809523809524,"y":147},{"x":67.3809523809524,"y":137},{"x":60.3809523809524,"y":123},{"x":54.3809523809524,"y":114},{"x":50.3809523809524,"y":108},{"x":45.3809523809524,"y":101},{"x":42.3809523809524,"y":97},{"x":39.3809523809524,"y":91},{"x":36.3809523809524,"y":87},{"x":32.3809523809524,"y":82},{"x":27.3809523809524,"y":76},{"x":24.3809523809524,"y":71},{"x":20.3809523809524,"y":65},{"x":17.3809523809524,"y":60},{"x":13.3809523809524,"y":56},{"x":8.38095238095235,"y":49},{"x":4.38095238095235,"y":44},{"x":0,"y":39.6190476190477}],"color":12991219},{"width":159.470251323016,"x":680,"y":124.957703927492,"height":198.210325807694,"path":[{"x":73.1047822934805,"y":-5.28177818621815},{"x":44.9957983243384,"y":2.89654806201347},{"x":19.4477125832992,"y":14.7411803892976},{"x":3.64758819075265,"y":24.1409713008062},{"x":1.26173122575235,"y":28.535022568436},{"x":2.31006671514832,"y":42.531486146843},{"x":8.2185928107066,"y":68.9528661141756},{"x":21.3731664774305,"y":103.405111202802},{"x":30.3952947265677,"y":130.379195095609},{"x":40.5523230520412,"y":158.197080989325},{"x":47.275158923118,"y":176.412554572254},{"x":50.7093513775148,"y":186.014966883033},{"x":59.4679616873864,"y":183.715674504972},{"x":79.6621373475632,"y":176.701740558466},{"x":103.959266199938,"y":170.094961499714},{"x":128.547493127742,"y":165.46688451821},{"x":142.660013518477,"y":158.336893759374},{"x":151.680229678394,"y":150.945297150495},{"x":155.869747457533,"y":138.199790460753},{"x":156.625072782274,"y":115.851871460227},{"x":154.150739141118,"y":99.0329038036728},{"x":143.413426754001,"y":101.623294257164},{"x":133.112761480035,"y":107.181737826519},{"x":115.886638935721,"y":113.759024659879},{"x":104.451073585415,"y":118.473666228326},{"x":94.9942103123539,"y":122.897209721345},{"x":85.5373470392915,"y":127.320753214361},{"x":82.1031545848954,"y":117.718340903585},{"x":79.3672150936894,"y":105.991677477851},{"x":77.0679227156284,"y":97.2330671679783},{"x":76.3401775270517,"y":92.2863119748725},{"x":86.6408428010185,"y":86.7278684055184},{"x":98.0764081513203,"y":82.0132268370734},{"x":109.803071577058,"y":79.2772873458687},{"x":121.384185965077,"y":75.5519968160391},{"x":124.031648780122,"y":66.06564131759},{"x":119.724162099431,"y":50.5271227750877},{"x":115.882814757276,"y":45.0276636565075},{"x":110.790510526458,"y":44.7660578064639},{"x":103.312349330637,"y":48.89850322405},{"x":94.0010350952902,"y":54.3113977556892},{"x":84.544171822227,"y":58.7349412487056},{"x":77.0660106264061,"y":62.8673866662911},{"x":71.2754534323966,"y":64.7300319312046},{"x":67.404613864855,"y":52.1595665045659},{"x":63.824872372743,"y":41.5678031551671},{"x":60.9728760692086,"y":35.9227949988729},{"x":60.245130880631,"y":30.9760398057691},{"x":67.868841114167,"y":27.8329454268033},{"x":78.3150554258494,"y":23.2638528960707},{"x":87.073665735723,"y":20.9645605180103},{"x":94.551826931544,"y":16.8321151004247},{"x":100.196835087839,"y":13.9801187968896},{"x":90.7970441763266,"y":-1.82000559565613},{"x":87.4564991840704,"y":-9.45741908033077}],"color":7802848},{"width":140.807732003933,"x":897,"y":140,"height":178.871821335955,"path":[{"x":0,"y":13},{"x":0,"y":43},{"x":0,"y":77},{"x":0,"y":101},{"x":1,"y":123},{"x":1,"y":148},{"x":1,"y":163},{"x":2,"y":169},{"x":9,"y":170},{"x":24,"y":170},{"x":41,"y":171},{"x":62,"y":173},{"x":78,"y":173},{"x":100,"y":170},{"x":113,"y":169},{"x":120,"y":168},{"x":126,"y":167},{"x":131,"y":167},{"x":131,"y":161},{"x":132,"y":146},{"x":132,"y":130},{"x":127,"y":129},{"x":115,"y":132},{"x":102,"y":134},{"x":92,"y":135},{"x":84,"y":136},{"x":73,"y":138},{"x":67,"y":138},{"x":59,"y":138},{"x":51,"y":138},{"x":47,"y":135},{"x":42,"y":132},{"x":40,"y":126},{"x":39,"y":118},{"x":39,"y":106},{"x":39,"y":93},{"x":40,"y":79},{"x":40,"y":69},{"x":40,"y":61},{"x":40,"y":51},{"x":40,"y":43},{"x":39,"y":35},{"x":39,"y":30},{"x":38,"y":23},{"x":38,"y":17},{"x":38,"y":12},{"x":35,"y":5},{"x":31,"y":2},{"x":24,"y":1},{"x":18,"y":0},{"x":7,"y":0},{"x":2,"y":1},{"x":0,"y":1.40000000000001}],"color":14567628},{"width":128.091720514128,"x":1134,"y":147,"height":185.061147009418,"path":[{"x":103,"y":19},{"x":85,"y":8},{"x":72,"y":2},{"x":62,"y":0},{"x":50,"y":4},{"x":36,"y":14},{"x":21,"y":33},{"x":12,"y":50},{"x":4,"y":72},{"x":1,"y":88},{"x":0,"y":103},{"x":0,"y":124},{"x":4,"y":138},{"x":12,"y":154},{"x":22,"y":164},{"x":35,"y":172},{"x":51,"y":178},{"x":62,"y":182},{"x":73,"y":183},{"x":82,"y":181},{"x":92,"y":175},{"x":101,"y":168},{"x":107,"y":160},{"x":114,"y":149},{"x":118,"y":143},{"x":122,"y":135},{"x":125,"y":130},{"x":114,"y":132},{"x":104,"y":138},{"x":95,"y":144},{"x":90,"y":149},{"x":82,"y":153},{"x":76,"y":155},{"x":69,"y":155},{"x":62,"y":153},{"x":57,"y":149},{"x":53,"y":141},{"x":49,"y":133},{"x":46,"y":126},{"x":45,"y":118},{"x":44,"y":112},{"x":43,"y":105},{"x":44,"y":98},{"x":45,"y":93},{"x":47,"y":84},{"x":50,"y":78},{"x":56,"y":70},{"x":59,"y":66},{"x":64,"y":63},{"x":67,"y":59},{"x":71,"y":56},{"x":77,"y":53},{"x":82,"y":50},{"x":86,"y":46},{"x":89,"y":41},{"x":92,"y":36},{"x":95,"y":31},{"x":98,"y":27},{"x":104,"y":21},{"x":104.984251968504,"y":20.2125984251969}],"color":15323289},{"width":117.897618521235,"x":1330,"y":128,"height":209.147618521235,"path":[{"x":28,"y":46},{"x":15,"y":67},{"x":5,"y":92},{"x":0,"y":123},{"x":1,"y":150},{"x":11,"y":180},{"x":26,"y":197},{"x":46,"y":205},{"x":80,"y":193},{"x":98,"y":177},{"x":108,"y":150},{"x":112,"y":123},{"x":113,"y":101},{"x":112,"y":80},{"x":111,"y":64},{"x":106,"y":46},{"x":102,"y":36},{"x":98,"y":28},{"x":92,"y":20},{"x":88,"y":15},{"x":83,"y":12},{"x":78,"y":8},{"x":74,"y":5},{"x":68,"y":2},{"x":62,"y":0},{"x":51,"y":1},{"x":47,"y":6},{"x":44,"y":15},{"x":41,"y":25},{"x":41,"y":32},{"x":38.9702602230482,"y":28.2788104089223}],"color":14532394},{"width":182.761617366866,"x":1517.25,"y":127,"height":222.007744911244,"path":[{"x":6.75,"y":158},{"x":18.75,"y":134},{"x":27.75,"y":117},{"x":35.75,"y":100},{"x":40.75,"y":88},{"x":45.75,"y":77},{"x":52.75,"y":62},{"x":55.75,"y":53},{"x":57.75,"y":45},{"x":61.75,"y":34},{"x":63.75,"y":29},{"x":67.75,"y":20},{"x":73.75,"y":26},{"x":80.75,"y":38},{"x":86.75,"y":50},{"x":93.75,"y":63},{"x":96.75,"y":73},{"x":99.75,"y":82},{"x":112.75,"y":65},{"x":117.75,"y":53},{"x":122.75,"y":44},{"x":129.75,"y":28},{"x":134.75,"y":17},{"x":137.75,"y":8},{"x":140.75,"y":0},{"x":147.75,"y":17},{"x":151.75,"y":35},{"x":153.75,"y":54},{"x":155.75,"y":76},{"x":158.75,"y":93},{"x":161.75,"y":108},{"x":166.75,"y":125},{"x":168.75,"y":136},{"x":171.75,"y":151},{"x":174.75,"y":162},{"x":176.75,"y":173},{"x":179.75,"y":185},{"x":180.75,"y":194},{"x":181.75,"y":203},{"x":181.75,"y":208},{"x":181.75,"y":215},{"x":182.75,"y":222},{"x":174.75,"y":207},{"x":167.75,"y":193},{"x":159.75,"y":178},{"x":154.75,"y":167},{"x":148.75,"y":156},{"x":143.75,"y":147},{"x":140.75,"y":140},{"x":137.75,"y":132},{"x":134.75,"y":126},{"x":132.75,"y":118},{"x":130.75,"y":111},{"x":129.75,"y":105},{"x":127.75,"y":97},{"x":124.75,"y":92},{"x":120.75,"y":97},{"x":113.75,"y":107},{"x":109.75,"y":113},{"x":106.75,"y":118},{"x":103.75,"y":124},{"x":97.75,"y":117},{"x":93.75,"y":111},{"x":90.75,"y":106},{"x":87.75,"y":97},{"x":84.75,"y":92},{"x":82.75,"y":87},{"x":79.75,"y":82},{"x":76.75,"y":86},{"x":72.75,"y":95},{"x":68.75,"y":104},{"x":64.75,"y":113},{"x":61.75,"y":120},{"x":58.75,"y":127},{"x":55.75,"y":132},{"x":53.75,"y":138},{"x":49.75,"y":144},{"x":45.75,"y":150},{"x":39.75,"y":158},{"x":36.75,"y":163},{"x":30.75,"y":169},{"x":26.75,"y":172},{"x":21.75,"y":174},{"x":14.75,"y":176},{"x":9.75,"y":175},{"x":3.75,"y":174},{"x":0,"y":171.5}],"color":12037610},{"width":114.110582958674,"x":1791,"y":145,"height":187.975283858804,"path":[{"x":75,"y":1},{"x":54,"y":0},{"x":23,"y":0},{"x":9,"y":2},{"x":2,"y":9},{"x":0,"y":25},{"x":1,"y":38},{"x":4,"y":57},{"x":5,"y":76},{"x":6,"y":96},{"x":7,"y":115},{"x":7,"y":129},{"x":8,"y":142},{"x":8,"y":152},{"x":8,"y":161},{"x":8,"y":169},{"x":8,"y":177},{"x":8,"y":182},{"x":23,"y":179},{"x":43,"y":178},{"x":60,"y":178},{"x":76,"y":178},{"x":94,"y":176},{"x":106,"y":173},{"x":111,"y":171},{"x":111,"y":165},{"x":111,"y":146},{"x":111,"y":138},{"x":103,"y":139},{"x":93,"y":142},{"x":82,"y":144},{"x":71,"y":145},{"x":64,"y":144},{"x":56,"y":144},{"x":50,"y":144},{"x":50,"y":136},{"x":50,"y":128},{"x":51,"y":113},{"x":52,"y":104},{"x":53,"y":98},{"x":61,"y":99},{"x":73,"y":100},{"x":86,"y":99},{"x":94,"y":99},{"x":99,"y":97},{"x":101,"y":91},{"x":101,"y":84},{"x":97,"y":76},{"x":95,"y":71},{"x":89,"y":69},{"x":80,"y":70},{"x":66,"y":72},{"x":53,"y":75},{"x":48,"y":75},{"x":42,"y":75},{"x":42,"y":70},{"x":42,"y":59},{"x":43,"y":52},{"x":44,"y":44},{"x":57,"y":42},{"x":69,"y":42},{"x":75,"y":41},{"x":81,"y":34},{"x":83,"y":28},{"x":84,"y":20},{"x":84,"y":9},{"x":84,"y":3},{"x":83.7739726027396,"y":1.41780821917808}],"color":5176963},{"width":178.836310221376,"x":2143,"y":156,"height":170.956865230054,"path":[{"x":31.0055573607922,"y":7.5663176355012},{"x":62.8011820200061,"y":11.1771696859727},{"x":92.9480975177516,"y":11.5815036714891},{"x":118.126946662493,"y":11.4216420241189},{"x":128.175918495074,"y":11.5564200192906},{"x":139.105664471679,"y":12.7976504116402},{"x":151.029023718886,"y":14.151719930567},{"x":155.997090071887,"y":14.7159155634535},{"x":164.939609507291,"y":15.7314677026489},{"x":161.598313447163,"y":27.4291486966992},{"x":152.837594527723,"y":42.5370871402656},{"x":145.521845385195,"y":53.7834116280072},{"x":142.089649067084,"y":57.4193473306774},{"x":136.466486823211,"y":53.7614727594125},{"x":126.868871496942,"y":49.6522416818391},{"x":113.951898979135,"y":48.1853330363351},{"x":106.996606084933,"y":47.3954591502944},{"x":100.041313190729,"y":46.6055852642535},{"x":93.9667944405494,"y":46.9221637753904},{"x":91.0768548867313,"y":54.6453916870396},{"x":87.7355588266023,"y":66.34307268109},{"x":84.3942627664755,"y":78.0407536751401},{"x":82.1594191035261,"y":88.857660525168},{"x":79.5860580608434,"y":102.655407186998},{"x":77.2383752713153,"y":114.465927307626},{"x":75.0035316083662,"y":125.282834157653},{"x":73.762301216016,"y":136.212580134259},{"x":71.75313580622,"y":145.042260443083},{"x":69.6311312698485,"y":154.865554022509},{"x":67.73480498663,"y":162.701621060736},{"x":66.1769960831443,"y":167.55684828716},{"x":54.3664759625146,"y":165.209165497636},{"x":45.6496347802639,"y":162.206386817238},{"x":47.0037042991919,"y":150.283027570033},{"x":50.1193221061647,"y":140.572573117183},{"x":53.4606181662925,"y":128.874892123133},{"x":58.0212057501751,"y":115.302823714459},{"x":61.0239844305707,"y":106.585982532209},{"x":64.3652804906998,"y":94.8883015381591},{"x":67.1423809179407,"y":88.1586868971115},{"x":70.0323204717606,"y":80.4354589854617},{"x":71.9286467549782,"y":72.5993919472351},{"x":69.3991634494866,"y":68.286421485102},{"x":63.776001205615,"y":64.6285469138365},{"x":54.9463208967884,"y":62.6193815040409},{"x":49.9782545437864,"y":62.0551858711544},{"x":44.0165749201837,"y":61.3781511116911},{"x":37.1741211525585,"y":59.5946639550503},{"x":32.3188939261327,"y":58.0368550515633},{"x":24.5956660144839,"y":55.1469154977453},{"x":19.7404387880591,"y":53.5891065942582},{"x":13.7787591644564,"y":52.9120718347952},{"x":8.9235319380316,"y":51.354262931308},{"x":1.96823904382846,"y":50.5643890452667},{"x":-2.99982730917367,"y":50.0001934123811},{"x":-1.75859691682431,"y":39.0704474357766},{"x":-0.968723030783387,"y":32.115154541573},{"x":1.37895975874397,"y":20.3046344209453},{"x":5.37535170974051,"y":11.7006323652731},{"x":7.27167799295894,"y":3.8645653270467},{"x":7.00597528628954,"y":4.84081873202032}],"color":1456360},{"width":189.945173877674,"x":2368,"y":120,"height":212.341685029546,"path":[{"x":45.343901195803,"y":48.22685264988},{"x":27.3626246114584,"y":65.2466555981314},{"x":5.65809071196942,"y":95.0780687092486},{"x":-3.67329121555026,"y":118.592432645422},{"x":-5.24121486178929,"y":146.548498453038},{"x":0.683853401598327,"y":165.910666876906},{"x":17.7596536229288,"y":182.893512539552},{"x":62.8499625744097,"y":203.340741665272},{"x":92.778380175863,"y":201.040780823618},{"x":117.742807261814,"y":190.234422497603},{"x":143.623118205885,"y":165.518769614843},{"x":160.233763574769,"y":139.80716794499},{"x":171.999683976517,"y":105.520682019781},{"x":174.770772369604,"y":82.1471698934946},{"x":173.84802086972,"y":62.1434569963988},{"x":166.761113448531,"y":40.7244060556242},{"x":158.354775073175,"y":26.4649013265315},{"x":144.875578156414,"y":11.6895417546247},{"x":132.067730866243,"y":3.88191421537348},{"x":120.734809314021,"y":0.955331038503161},{"x":106.607531069686,"y":0.307249710930392},{"x":95.8500520545422,"y":3.35300827633615},{"x":81.9741756835028,"y":15.7409078132065},{"x":73.9747339652233,"y":26.5579745226178},{"x":66.0711993364579,"y":38.3704315224071},{"x":62.6650807120209,"y":44.7264016227357},{"x":83.1538066393218,"y":9.28768050996232}],"color":7291503},{"width":408.107223731583,"x":214.263157894737,"y":512,"height":378.841209784794,"path":[{"x":19.7575915932099,"y":152.292478902551},{"x":51.142499679411,"y":195.292334069989},{"x":54.1787673552647,"y":229.910982037549},{"x":68.8803696777552,"y":270.72596567287},{"x":83.1247436190362,"y":306.46247097237},{"x":102.90482427735,"y":346.820226226482},{"x":116.234741456215,"y":372.399774854334},{"x":127.79102143273,"y":395.776096059871},{"x":133.246968756013,"y":410.446905131141},{"x":137.681061761884,"y":415.95497368692},{"x":144.612936693804,"y":407.65141361138},{"x":160.652275818719,"y":380.215313297454},{"x":176.262024723669,"y":356.756077608182},{"x":187.250523674006,"y":338.832548635945},{"x":197.137408913184,"y":321.795838264888},{"x":203.182465243924,"y":312.39066447818},{"x":206.702101487381,"y":307.741776362325},{"x":217.101491430251,"y":313.89423024806},{"x":233.843647297581,"y":335.819106916226},{"x":249.484189453754,"y":358.630802185566},{"x":265.09709344868,"y":372.387154494416},{"x":271.841811431863,"y":375.127369691688},{"x":291.965412736431,"y":347.126643441551},{"x":302.389285750575,"y":325.118852289664},{"x":320.011950039101,"y":273.714166672749},{"x":341.906033456047,"y":210.701079846817},{"x":350.556269267834,"y":186.490061272611},{"x":367.721705175163,"y":130.006897319874},{"x":379.569384565438,"y":104.129639098311},{"x":387.467837492266,"y":86.8781336172654},{"x":391.067233129487,"y":72.1796863847542},{"x":395.660844922848,"y":57.5886367072382},{"x":397.621639073942,"y":48.7480888567295},{"x":400.361854271212,"y":42.0033708735532},{"x":402.887274358507,"y":37.2470852027019},{"x":390.339933315799,"y":50.9789544402881},{"x":370.645922231207,"y":75.0028160657586},{"x":351.946127302755,"y":99.1340752462137},{"x":332.924139709348,"y":126.247982895174},{"x":321.720845649027,"y":146.159944179741},{"x":308.529119276383,"y":165.857110354326},{"x":301.060256569504,"y":179.131751210703},{"x":294.90780268376,"y":189.531141153574},{"x":287.224144866902,"y":204.794214322285},{"x":280.856895871187,"y":217.18203657749},{"x":274.167454210493,"y":232.552507301191},{"x":268.794421370932,"y":245.047727111387},{"x":264.737797352524,"y":254.667696008075},{"x":261.218161109067,"y":259.316584123931},{"x":257.805922420604,"y":262.971256083622},{"x":253.344191253479,"y":248.407844567345},{"x":244.205933809267,"y":221.269453847125},{"x":237.620734613583,"y":198.430120416546},{"x":233.15900344647,"y":183.86670890027},{"x":229.719126596757,"y":178.466037899472},{"x":222.11522817365,"y":183.67955195153},{"x":205.646298828771,"y":215.092516890127},{"x":200.273265989216,"y":227.587736700323},{"x":192.374813062373,"y":244.839242181364},{"x":188.318189043956,"y":254.459211078053},{"x":181.843542493247,"y":267.841249489423},{"x":175.368895942533,"y":281.223287900793},{"x":171.956657254069,"y":284.877959860484},{"x":159.541196837621,"y":269.455367904274},{"x":150.995203490848,"y":255.456582324201},{"x":139.681356785559,"y":239.147171766817},{"x":130.141147282621,"y":225.040988631748},{"x":120.386142669696,"y":212.923237809012},{"x":108.185477363237,"y":195.512213540475},{"x":98.8600629702794,"y":179.417598093075},{"x":89.1050583573566,"y":167.299847270339},{"x":77.7413950917587,"y":148.064177607525},{"x":58.9351881660231,"y":136.604396585779},{"x":47.7647549768783,"y":129.106302003362},{"x":38.1490123658873,"y":125.426968634509},{"x":26.4121243452584,"y":121.040003898931},{"x":14.1087814931441,"y":119.764169010191},{"x":2.7954230782297,"y":118.347157586214},{"x":-5.01996742221208,"y":118.345224822996}],"color":9937495},{"width":91.8784045398064,"x":648,"y":641,"height":262.918936359871,"path":[{"x":12,"y":63},{"x":9,"y":95},{"x":7,"y":136},{"x":8,"y":176},{"x":11,"y":207},{"x":17,"y":240},{"x":20,"y":253},{"x":22,"y":259},{"x":31,"y":253},{"x":43,"y":243},{"x":63,"y":227},{"x":76,"y":216},{"x":82,"y":209},{"x":86,"y":201},{"x":86,"y":180},{"x":83,"y":153},{"x":81,"y":121},{"x":82,"y":95},{"x":82,"y":72},{"x":80,"y":59},{"x":78,"y":44},{"x":74,"y":30},{"x":71,"y":26},{"x":69,"y":21},{"x":65,"y":11},{"x":63,"y":6},{"x":61,"y":1},{"x":50,"y":0},{"x":37,"y":0},{"x":23,"y":0},{"x":19,"y":4},{"x":16,"y":8},{"x":11,"y":14},{"x":7,"y":17},{"x":4,"y":21},{"x":1,"y":27},{"x":0,"y":32},{"x":7,"y":38},{"x":12,"y":41},{"x":14,"y":41.666666666667}],"color":2071009},{"width":5.32797964353718,"x":904,"y":1024,"height":5.21865309569145,"path":[{"x":5,"y":5},{"x":0,"y":0},{"x":0,"y":0}],"color":8246164},{"width":209.743701500095,"x":903,"y":680,"height":393.779065616751,"path":[{"x":78.5074322855921,"y":24.9327788920577},{"x":61.4789545831101,"y":25.1086968730935},{"x":40.9432381627517,"y":32.5440415929174},{"x":20.6507362014569,"y":41.9147574803101},{"x":13.1537714012092,"y":54.9068904377514},{"x":11.5795459146031,"y":75.2421262150245},{"x":11.3916691493886,"y":90.3737058523615},{"x":12.3164319295329,"y":106.378230643821},{"x":15.1069322135383,"y":121.150268694305},{"x":24.8469789457252,"y":135.083376375465},{"x":45.8672831119064,"y":150.67654195405},{"x":62.5908910770726,"y":155.708533272347},{"x":79.4683610226543,"y":153.671130946846},{"x":90.7826332414471,"y":147.269002850732},{"x":102.09690546024,"y":140.866874754619},{"x":105,"y":142},{"x":105.000000000001,"y":152.000000000001},{"x":105.000000000001,"y":175.000000000003},{"x":103,"y":208.000000000002},{"x":103,"y":231.000000000004},{"x":101,"y":256.000000000003},{"x":96.0000000000005,"y":278.000000000003},{"x":82.0000000000002,"y":308.000000000004},{"x":68.9999999999997,"y":326.000000000006},{"x":56.9999999999987,"y":334.000000000011},{"x":35.9999999999992,"y":337.000000000007},{"x":45.6841790396355,"y":341.070781554136},{"x":33.1714348646646,"y":337.544986152849},{"x":24.5100128930379,"y":332.547009619351},{"x":35.3626991705819,"y":347.353062454634},{"x":43.7504119661754,"y":358.427640282192},{"x":29.9999999999987,"y":367.000000000007},{"x":45.9999999999997,"y":375.000000000006},{"x":53.9999999999985,"y":377.000000000004},{"x":68.9999999999997,"y":375.000000000006},{"x":85.0000000000004,"y":367.000000000009},{"x":107.000000000001,"y":356.000000000005},{"x":123.000000000001,"y":344.000000000004},{"x":136.000000000002,"y":329.000000000008},{"x":152.000000000001,"y":307.000000000003},{"x":161.000000000001,"y":292.000000000003},{"x":176.000000000002,"y":263.000000000002},{"x":188.000000000002,"y":231.000000000003},{"x":194.000000000004,"y":200.000000000003},{"x":202.614040950148,"y":154.776778744092},{"x":204.286167264344,"y":127.662133373196},{"x":203.568326352321,"y":92.6552097090824},{"x":199.247673772561,"y":65.8348450343617},{"x":190.873288949293,"y":36.7491275436454},{"x":177.930138733372,"y":20.7342949660602},{"x":167.002716718439,"y":10.4585250140033},{"x":156.418824788936,"y":2.15303095135928},{"x":143.223049110743,"y":-3.66689209372818},{"x":130.714333603401,"y":-5.54626335998792},{"x":117.564010236782,"y":-5.28359369411881},{"x":110.668044623835,"y":-4.08123839512089},{"x":103.474001237034,"y":1.23343372541946},{"x":96.6234879356624,"y":8.51838173537298},{"x":96.0503052270419,"y":17.7045281382348},{"x":92.8472029824195,"y":24.7846374343433}],"color":6228234},{"width":214.575581677806,"x":1212,"y":661,"height":420.365334502082,"path":[{"x":71.1457156254901,"y":51.7795082973137},{"x":63.0772389269534,"y":54.5901459056119},{"x":53.961907641134,"y":59.3766619193492},{"x":45.7991663272971,"y":66.1861886461781},{"x":39.6594357265508,"y":72.0431254010235},{"x":35.5427158388949,"y":76.9474721838858},{"x":27.3092760635831,"y":86.7561657496124},{"x":21.0517146937111,"y":97.6117139026211},{"x":17.7697540089127,"y":109.537682796738},{"x":18.2981532120437,"y":129.555694543216},{"x":24.9898491697466,"y":142.717047255216},{"x":39.6793233645105,"y":156.066929197817},{"x":54.5573267898751,"y":161.419032903355},{"x":76.5276507879696,"y":162.93721056714},{"x":88.5714504512113,"y":161.220559853777},{"x":94.6169164366573,"y":159.362512217461},{"x":97.4982525064288,"y":164.431822077098},{"x":97.2154586605282,"y":176.428489432691},{"x":97.6967255560099,"y":198.445945738434},{"x":97.2725347871582,"y":216.440946771824},{"x":95.7779232771996,"y":237.411548490283},{"x":92.1424702850248,"y":264.333351578894},{"x":84.5552604819704,"y":289.16144549293},{"x":73.898185378541,"y":316.918007784396},{"x":62.4299172260807,"y":336.653225684972},{"x":50.009059101638,"y":354.365432872457},{"x":36.6591771590374,"y":369.054907067222},{"x":25.5208351601265,"y":374.79401305295},{"x":9.4781463783541,"y":376.416399151012},{"x":-1.49523254378034,"y":375.157449179301},{"x":-6.44671163429307,"y":373.040173850906},{"x":-4.56509784415338,"y":378.085917556725},{"x":1.24470660304215,"y":386.225092716731},{"x":10.9591355534682,"y":398.457421610584},{"x":21.7204190911766,"y":408.713872098978},{"x":36.551290208891,"y":416.06542036379},{"x":50.5238359699234,"y":417.395068796967},{"x":65.6610670873644,"y":411.75022742655},{"x":84.9150180924599,"y":401.201039273272},{"x":101.122669951009,"y":392.580597217773},{"x":117.401020271034,"y":380.960988323379},{"x":136.79636819908,"y":364.4134664923},{"x":153.357512365003,"y":340.79719024232},{"x":167.108018922631,"y":309.112437293797},{"x":174.883757956287,"y":276.286565142697},{"x":185.900859135972,"y":214.766872431495},{"x":189.344634494218,"y":190.826521321246},{"x":192.917994274464,"y":159.887369751092},{"x":195.676646020438,"y":118.931419749359},{"x":194.25850929531,"y":99.8594172470237},{"x":188.456571390992,"y":78.4973593743743},{"x":185.047061088992,"y":50.2595258969194},{"x":178.906016542414,"y":34.8878775833212},{"x":170.598615488358,"y":22.3983985018293},{"x":161.179777293705,"y":11.8492048329787},{"x":150.366913089908,"y":8.232304542644},{"x":134.505523146524,"y":5.3312169769349},{"x":120.47138306836,"y":5.53836973817123},{"x":105.269288075892,"y":8.68420950522444},{"x":93.8347283612857,"y":16.0497267398158},{"x":84.1709007381902,"y":27.5218858945299},{"x":78.2746083929553,"y":43.2137225167834},{"x":75.0384017519771,"y":50.4234989248898}],"color":15302921},{"width":198.798573944584,"x":1535,"y":671,"height":316.803513556108,"path":[{"x":30.8886388020596,"y":14.5774665902932},{"x":18.9488885892209,"y":80.9810987564243},{"x":26.6987561423046,"y":131.25301246529},{"x":27.6005859679844,"y":159.522902860647},{"x":29.7653542253357,"y":200.769887943099},{"x":32.1708615533502,"y":231.821675886709},{"x":34.9374774873597,"y":247.580668122057},{"x":36.7191564066594,"y":263.512573853273},{"x":39.8315993324197,"y":281.241440118045},{"x":43.4102387852618,"y":295.842581842803},{"x":44.9664602481418,"y":304.707014975184},{"x":46.0039412233953,"y":310.616637063438},{"x":48.8383827321912,"y":315.195495145234},{"x":55.560028339279,"y":313.000163659392},{"x":75.8978786564201,"y":307.399106216591},{"x":108.05497315007,"y":299.723086823282},{"x":131.693461503089,"y":295.573162922268},{"x":160.256634929653,"y":290.558671541875},{"x":185.519170320339,"y":284.093046619692},{"x":205.217910614523,"y":280.634776702181},{"x":215.067280761613,"y":278.905641743423},{"x":216.465870342861,"y":269.522468123416},{"x":211.676836418891,"y":248.026767295693},{"x":208.910220484881,"y":232.267775060345},{"x":191.99337773895,"y":234.222367475522},{"x":168.234519850601,"y":243.469889945959},{"x":144.129834970498,"y":250.747538386973},{"x":124.431094676315,"y":254.20580830448},{"x":117.363622077477,"y":254.431265760903},{"x":111.453999989222,"y":255.468746736154},{"x":106.3564014198,"y":255.348377200824},{"x":101.431716346254,"y":256.212944680199},{"x":95.3491807621247,"y":256.265488640746},{"x":93.0487613551982,"y":237.378771865396},{"x":94.3422630153572,"y":215.830527077127},{"x":95.4103072190958,"y":187.214809690018},{"x":95.8917853604218,"y":166.824415412333},{"x":98.2905935706208,"y":140.005658558768},{"x":96.9751111784037,"y":120.946028287543},{"x":86.7876215756152,"y":106.882957894338},{"x":87.1026468014112,"y":84.8624956124723},{"x":88.6038671598103,"y":68.8080153208053},{"x":90.0428610962947,"y":50.7545032954195},{"x":91.6374210875657,"y":37.6985706043312},{"x":92.2635784229348,"y":25.67326699106},{"x":91.8279934695305,"y":11.6800448550274},{"x":89.5800560481525,"y":3.74614434206622},{"x":84.4580238700246,"y":-0.0963530705848399},{"x":73.4322361236129,"y":-0.753623616911518},{"x":53.5352584192955,"y":2.86718820281641},{"x":32.4274914346102,"y":6.01904599118492}],"color":11498573},{"width":204.503238270778,"x":1827,"y":662,"height":343.513266696137,"path":[{"x":147.742419796886,"y":14.7419119046949},{"x":88.310548090313,"y":6.50464139477846},{"x":50.6703626761501,"y":1.28770340516376},{"x":34.4100000289014,"y":2.06269152118121},{"x":17.0808509492827,"y":17.8329354056734},{"x":4.18472278017001,"y":45.3227494873628},{"x":-6.0631264222524,"y":97.4090393026732},{"x":-9.02442633798373,"y":133.342738010281},{"x":-8.73955698472243,"y":167.707237853165},{"x":-12.1127204259498,"y":206.612530146102},{"x":-15.8194921554128,"y":233.35687241406},{"x":-20.3795072381532,"y":258.973395645075},{"x":-23.6448991398338,"y":289.817150535303},{"x":-25.2628369395319,"y":308.774531084219},{"x":-26.4689112137332,"y":324.7603180478},{"x":-26.4098786091619,"y":338.902330463},{"x":-14.5235042678477,"y":340.549784564982},{"x":-0.244204010817839,"y":339.500220765301},{"x":30.2954588934606,"y":337.675668849601},{"x":75.8303775662142,"y":336.919903366273},{"x":111.048120762377,"y":337.762853049956},{"x":134.516777459056,"y":335.967817436542},{"x":153.032778180184,"y":333.486342613974},{"x":163.918327656795,"y":298.65094664102},{"x":171.145844338914,"y":268.356343118118},{"x":176.314043393554,"y":252.919707521861},{"x":177.549633970043,"y":244.004926765874},{"x":154.218265115194,"y":244.809431184178},{"x":114.793337757216,"y":252.469398730987},{"x":90.4714377072577,"y":253.136615307459},{"x":77.4572443290036,"y":252.342404558753},{"x":69.6702826099588,"y":250.253570628987},{"x":67.2478403919573,"y":245.879582323054},{"x":75.0835410459767,"y":225.764866434912},{"x":80.938179309777,"y":205.375574863107},{"x":84.3998916578615,"y":187.683301192967},{"x":95.433022645898,"y":188.202936258009},{"x":120.196302523637,"y":191.63513230381},{"x":141.134745462769,"y":193.52764578717},{"x":148.205751670368,"y":193.498129484885},{"x":157.914743175061,"y":181.719526683116},{"x":159.974060802542,"y":166.861558756473},{"x":158.679437621481,"y":161.634327097262},{"x":156.531571087143,"y":155.279276401109},{"x":151.85349079526,"y":152.611774801729},{"x":139.829828612113,"y":151.954851894856},{"x":120.597872379534,"y":152.317976485378},{"x":96.2759723295792,"y":152.985193061848},{"x":86.3706603784831,"y":151.612314643528},{"x":80.7020488914896,"y":148.807525202318},{"x":74.0429062093867,"y":145.865447919275},{"x":69.502113759335,"y":142.207415124786},{"x":69.609885298881,"y":134.145877722078},{"x":73.9248410002433,"y":117.58142308888},{"x":78.6811765293879,"y":105.116381077951},{"x":84.7026189373048,"y":90.8075645186356},{"x":89.8708179919447,"y":75.3709289223789},{"x":91.5477883962141,"y":70.5555607886632},{"x":93.7739101678115,"y":61.7780678745093},{"x":95.4508805720804,"y":56.9626997407934},{"x":97.265138818182,"y":51.1568004119681},{"x":101.060459454503,"y":45.6254767668063},{"x":102.737429858772,"y":40.8101086330906},{"x":115.2024718697,"y":45.566444162235},{"x":129.648576270848,"y":50.597355375043},{"x":136.445006794783,"y":52.5489014629765},{"x":139.082992091876,"y":40.7998149634936},{"x":141.887781533086,"y":35.1312034765003},{"x":143.564751937355,"y":30.3158353427842},{"x":146.369541378567,"y":24.6472238557911},{"x":150.02826101637,"y":15.0587300012309}],"color":16094937},{"width":398.68576103413,"x":621.164265129683,"y":1202,"height":370.136337867505,"path":[{"x":20.02641628992,"y":107.665404714436},{"x":40.3388209473569,"y":142.941547035168},{"x":49.9889289736573,"y":179.869362423106},{"x":80.1841949225055,"y":212.665408403727},{"x":92.9813147056936,"y":234.21149216052},{"x":107.777094616422,"y":255.684379642953},{"x":122.792463350227,"y":283.153247508009},{"x":131.336075918079,"y":297.850413367127},{"x":137.771233946852,"y":309.622785309294},{"x":144.133195701267,"y":319.396497123919},{"x":151.531085656631,"y":330.132940865138},{"x":157.893047411046,"y":339.906652679762},{"x":163.255679101691,"y":349.716962631568},{"x":167.106606808054,"y":345.573249827769},{"x":179.560105939304,"y":303.089013228911},{"x":184.933917989877,"y":285.880813321741},{"x":188.492060598805,"y":273.742460007781},{"x":195.791336502559,"y":254.462403698712},{"x":199.495871660206,"y":246.321370639833},{"x":205.942210048907,"y":231.075232723024},{"x":209.683343343732,"y":223.933529727915},{"x":224.929481260541,"y":230.379868116616},{"x":240.431806137605,"y":243.821516951709},{"x":256.080523563386,"y":261.260486041883},{"x":266.586198121599,"y":274.885125562872},{"x":280.199657282661,"y":291.397960863635},{"x":291.704661904644,"y":304.986002247445},{"x":295.884972845621,"y":309.836260017578},{"x":310.069764784229,"y":287.302026556944},{"x":322.962441561632,"y":256.809750723326},{"x":336.378672619473,"y":213.289585923517},{"x":344.395673849492,"y":158.959781108132},{"x":357.519119809897,"y":107.444975798161},{"x":366.414476332219,"y":77.0990925132612},{"x":373.237976452641,"y":44.8277453751796},{"x":378.465395954496,"y":23.6222252129292},{"x":380.024878435885,"y":11.5570681733279},{"x":380.475236441965,"y":-3.46948092040492},{"x":382.25430774643,"y":-9.53865757738544},{"x":377.404049976296,"y":-5.35834663640642},{"x":364.925133067794,"y":9.10805003970756},{"x":347.669154663517,"y":29.7534177843398},{"x":337.371888568451,"y":49.1432685049469},{"x":331.924880243521,"y":64.3528082845762},{"x":324.552408065408,"y":81.6342044661044},{"x":316.217203960703,"y":99.9515288485824},{"x":308.771535508233,"y":115.23426490257},{"x":303.287929046122,"y":129.444474618429},{"x":298.767054510602,"y":142.618756133339},{"x":293.210251774134,"y":154.830305721657},{"x":288.579582827076,"y":165.006597045256},{"x":285.874377733199,"y":173.111031966956},{"x":282.243038849912,"y":183.250725153375},{"x":278.538503692265,"y":191.391758212255},{"x":275.723504186853,"y":196.498202942644},{"x":272.542523309645,"y":191.611347035331},{"x":261.963652477074,"y":175.988047386801},{"x":250.312255306373,"y":158.40268574791},{"x":241.805240875701,"y":144.704849952561},{"x":231.299566317487,"y":131.080210431572},{"x":217.795901567964,"y":117.565365322121},{"x":211.543734225088,"y":110.789643698805},{"x":207.436619558468,"y":107.938046056212},{"x":203.32950489185,"y":105.086448413619},{"x":194.994300787146,"y":123.403772796096},{"x":187.621828609033,"y":140.685168977625},{"x":178.214098166201,"y":157.040431369742},{"x":170.768429713729,"y":172.32316742373},{"x":167.173688967621,"y":183.46219067392},{"x":165.504412074695,"y":192.52935752221},{"x":163.871733318947,"y":202.595854434271},{"x":163.055393941074,"y":207.629102890301},{"x":157.692762250429,"y":197.818792938496},{"x":146.00476694255,"y":179.234101235835},{"x":136.35202989939,"y":161.575543322585},{"x":120.059644755617,"y":154.021832757704},{"x":111.096873642563,"y":133.980157828322},{"x":100.144964330747,"y":113.730326164188},{"x":94.4233764282514,"y":89.9145646730353},{"x":83.9883936381115,"y":78.290833165061},{"x":74.6631733119178,"y":69.6282546881905},{"x":64.3754442660715,"y":62.0018118031194},{"x":53.1252065005733,"y":55.4115045098475},{"x":46.0195111022721,"y":52.6712320951848},{"x":39.0242560121916,"y":52.9289261476994},{"x":28.178966043502,"y":57.3311625674114},{"x":16.3711673551601,"y":62.7695345789226},{"x":8.48703041757435,"y":66.0620085346881},{"x":-0.110376799873094,"y":72.6942434512325}],"color":6885837},{"width":258.469896437331,"x":1102,"y":1165,"height":306.56929096813,"path":[{"x":51.4515998676664,"y":53.797019398725},{"x":19.8665655311803,"y":100.820982450613},{"x":5.16996638804764,"y":144.283724812619},{"x":4.25600777105598,"y":180.327651896753},{"x":6.07137391752831,"y":232.155246340794},{"x":17.9495725276112,"y":262.927123075557},{"x":31.9432909370196,"y":286.382950604726},{"x":51.4066338050838,"y":297.06837452707},{"x":84.8942351973987,"y":298.960609446268},{"x":110.819597417862,"y":296.752534778654},{"x":147.668938498216,"y":285.12816116354},{"x":176.70985044046,"y":267.418688174125},{"x":202.411927780797,"y":239.039061319789},{"x":223.298030721675,"y":188.080541875608},{"x":250.782906041649,"y":145.344044326405},{"x":247.307012217984,"y":99.4319744304994},{"x":233.383865243144,"y":58.7976788377739},{"x":218.619144834134,"y":36.3922546899536},{"x":198.965470055188,"y":23.6355675148514},{"x":175.63129480595,"y":14.156058256493},{"x":149.60145178257,"y":7.26786022085582},{"x":135.066278166971,"y":5.32449550215511},{"x":113.928701302016,"y":0.942390496784505},{"x":99.9053995254392,"y":0.353317255962601},{"x":85.9114189488882,"y":0.76381405632295},{"x":73.0636144136479,"y":6.14283986256858},{"x":59.4508094374314,"y":19.5477471982978},{"x":48.895356984813,"y":34.8638310163143},{"x":50.2761026263299,"y":47.8289203516575},{"x":53.2506546283751,"y":51.127309715917}],"color":12404726},{"width":197.952672285485,"x":1438,"y":1159,"height":323.509059617602,"path":[{"x":4.2453382899741,"y":266.06505116858},{"x":2.02140904510405,"y":173.043257277504},{"x":-4.49770694491916,"y":128.338658781279},{"x":12.1208703525726,"y":77.9045830472847},{"x":30.052932728621,"y":56.812718564425},{"x":46.4939934296446,"y":33.797690364893},{"x":84.9646014008994,"y":9.13978448620932},{"x":122.612542141628,"y":-2.20184493740571},{"x":142.668977869094,"y":2.56673828091406},{"x":159.272238073416,"y":23.1174499617185},{"x":164.696068357423,"y":49.5859607821309},{"x":161.735326201193,"y":80.4928209572494},{"x":148.253472167711,"y":103.014801594393},{"x":120.342438528174,"y":118.808032554796},{"x":93.6413096936573,"y":129.580670066684},{"x":85.7309296504977,"y":132.809584369167},{"x":86.9031327874165,"y":138.778331290071},{"x":94.4258780556183,"y":159.836663966396},{"x":112.028155018902,"y":187.893033042024},{"x":130.516615100831,"y":213.896433661922},{"x":146.727624952281,"y":235.019955139086},{"x":156.555247661788,"y":249.491231236223},{"x":169.770985495172,"y":270.783114044451},{"x":180.765393541763,"y":288.193541715966},{"x":188.483927351852,"y":300.780210688435},{"x":192.870466481751,"y":307.544696955836},{"x":186.992163332996,"y":309.878267630005},{"x":164.252892969248,"y":315.162733858903},{"x":141.513622605499,"y":320.447200087802},{"x":130.743696333658,"y":307.030468440373},{"x":117.808560718711,"y":290.730705662255},{"x":103.818880654055,"y":273.488639321802},{"x":92.9928339385266,"y":259.073483668352},{"x":81.2244836606638,"y":245.712872464611},{"x":67.4031649270701,"y":231.466078142223},{"x":58.8545684420221,"y":221.930801631507},{"x":52.3028199690173,"y":212.283284233415},{"x":49.0830661762024,"y":208.457949540391},{"x":45.7510714960127,"y":202.635766835323},{"x":40.3099879164046,"y":194.928977005587},{"x":39.7161509965481,"y":220.001818043504},{"x":39.4590367388166,"y":251.06520311755},{"x":39.6391420502319,"y":272.088227687692},{"x":38.5963415808756,"y":289.173676677435},{"x":37.3851797804569,"y":303.263853649114},{"x":27.0642170581155,"y":297.834514049858},{"x":21.9598561406321,"y":296.118268256252},{"x":12.8617991990621,"y":294.626504237397},{"x":4.9230504191077,"y":294.412175133597}],"color":13991494},{"width":205.25617730561,"x":1712.05422314911,"y":1230,"height":227.87360030315,"path":[{"x":7.94577685088658,"y":99.9999999999994},{"x":12.9457768508864,"y":158.999999999999},{"x":14.9457768508865,"y":197.999999999999},{"x":13.9457768508866,"y":226.999999999999},{"x":19.9457768508864,"y":227},{"x":64.9457768508864,"y":223.000000000001},{"x":117.945776850886,"y":223},{"x":148.945776850886,"y":222},{"x":176.945776850886,"y":215},{"x":189.945776850886,"y":211},{"x":202.945776850886,"y":191.999999999999},{"x":203.945776850885,"y":173.999999999999},{"x":201.945776850885,"y":160.999999999999},{"x":191.945776850885,"y":164.999999999999},{"x":162.945776850886,"y":177},{"x":130.945776850886,"y":181},{"x":108.945776850886,"y":181.999999999999},{"x":83.9457768508864,"y":181.999999999999},{"x":71.9457768508864,"y":177.999999999999},{"x":70.9457768508864,"y":163},{"x":74.9457768508864,"y":118},{"x":74.9457768508864,"y":82},{"x":74.9457768508864,"y":55.9999999999999},{"x":74.9457768508864,"y":28},{"x":73.9457768508864,"y":14},{"x":72.9457768508864,"y":5.99999999999997},{"x":69.9457768508864,"y":1.99999999999998},{"x":53.9457768508864,"y":-9.9475983006414e-14},{"x":31.9457768508864,"y":3.00000000000003},{"x":11.9457768508863,"y":4.00000000000001},{"x":-1.98951966012828e-13,"y":6.23983315953954}],"color":746772},{"width":249.083132530594,"x":2007,"y":1176,"height":235.262815675685,"path":[{"x":-0.132626659822762,"y":157.847452097212},{"x":-0.730818344450853,"y":116.657135678077},{"x":3.98443742292014,"y":71.8936867152431},{"x":7.29486000684058,"y":44.0720925424451},{"x":8.69476044978327,"y":15.088644183945},{"x":22.6419434187173,"y":4.2039720606756},{"x":62.5001984194714,"y":-4.53213166437554},{"x":130.768373796636,"y":7.14931647670083},{"x":162.098140893226,"y":16.8207210523841},{"x":201.917276682455,"y":43.921208594105},{"x":231.342718414698,"y":76.4041791919794},{"x":239.620356105337,"y":135.059145898109},{"x":225.414806266233,"y":165.175862839247},{"x":216.353991407673,"y":163.262668061233},{"x":197.179348576752,"y":183.195883364004},{"x":175.533855416673,"y":198.344237263255},{"x":155.49504846338,"y":209.319036390741},{"x":138.154325527725,"y":217.019642085675},{"x":94.6497451742981,"y":224.909378624105},{"x":78.621832831708,"y":224.583762380272},{"x":58.6076017149917,"y":223.927597152097},{"x":39.589950291807,"y":223.354069170007},{"x":17.417285295857,"y":224.525788836725},{"x":2.46858989288388,"y":223.286230145445},{"x":0.818291845741044,"y":223.32585164625}],"color":6310833}] \ No newline at end of file
diff --git a/Source/Main.hx b/Source/Main.hx
index ed0ff9e..bba8a98 100644
--- a/Source/Main.hx
+++ b/Source/Main.hx
@@ -47,66 +47,8 @@ typedef SkeletonNode =
enum RenderPhase
-{ Circles; Skeleton; Clusters; Border;}
+{ Circles; Clusters; Border;}
-class Button extends SimpleButton
-{
- static var overColor:Int = 0xdddddd;
- static var upColor:Int = 0xeeeeee;
- static var downColor:Int = 0xcccccc;
-
- static function textBox
- (text:String,
- bgColor:Int = 0xFFFFFF,
- ?textFormat:TextFormat,
- ?borderRadius:Float = 0.0,
- ?padding:Float = 40.0,
- ?borderThickness:Float = 0.0,
- ?borderColor:Int = 0
- ):Sprite
- {
- var tf = new TextField();
- tf.multiline = false;
- tf.autoSize = openfl.text.TextFieldAutoSize.CENTER;
- tf.selectable = false;
- tf.text = text;
-
- if (textFormat != null)
- tf.setTextFormat( textFormat );
-
- var s = new Sprite();
- s.graphics.beginFill( bgColor );
-
- if (borderThickness > 0)
- s.graphics.lineStyle( borderThickness, borderColor);
-
- s.graphics.drawRoundRect(0, 0,
- tf.textWidth + padding,
- tf.textHeight + padding,
- borderRadius,
- borderRadius );
- s.graphics.endFill();
-
- tf.x = (s.width - tf.textWidth) / 2;
- tf.y = (s.height - tf.textHeight) / 2;
-
- s.addChild( tf );
- return s;
- }
-
- public function new (text:String)
- {
- var textFormat = new TextFormat(null, 25);
-
- var over = textBox(text, overColor, textFormat, 10.0, 50, 2 );
- var up = textBox(text, upColor, textFormat, 10.0, 50, 2);
- var down = textBox(text, downColor, textFormat, 10.0, 50, 2);
-
- super( up , over, down, over);
- this.enabled = true;
- }
-
-}
class Wiggler extends Sprite
{
@@ -121,6 +63,8 @@ class Wiggler extends Sprite
public static var allWigglers:Array<Wiggler> = [];
+ var staticWiggler = true;
+
var path:Array<Point> = [];
var circles:Array<ColoredCircle> = [];
@@ -131,23 +75,32 @@ class Wiggler extends Sprite
var renderPhases:Array<RenderPhase>;
- var color:Int = Std.int(Math.random() * 0xFFFFFF); //0xFAEEEE;
+ public var color:Int = Std.int(Math.random() * 0xFFFFFF); //0xFAEEEE;
var borderColor:Int = Std.int(Math.random() * 0xFFFFFF);
var offset:Float = Math.random() * 15;
var fadeSpeed:Float = Math.random() * 6;
var collisionsLeft = 10 + Std.int(50 * Math.random());
+
+ public static function clearWigglers()
+ {
+ for (wiggler in allWigglers)
+ wiggler.destroy();
+ allWigglers = [];
+ }
- public function new (path:Array<Point>)
+ public function new (path:Array<Point>, ?staticWigglerMode = false)
{
super();
+ this.staticWiggler = staticWigglerMode;
this.path = Util.translatePathToOrigin( path );
addCircles();
addBones();
-
- drift = {x: MAX_SPEED * Math.random() * Util.randomSign(),
- y: MAX_SPEED * Math.random() * Util.randomSign()};
+ drift =
+ if (staticWiggler) {x:0,y:0}
+ else {x: MAX_SPEED * Math.random() * Util.randomSign(),
+ y: MAX_SPEED * Math.random() * Util.randomSign()};
renderPhases = [Circles, Border];
@@ -156,15 +109,34 @@ class Wiggler extends Sprite
Wiggler.allWigglers.push(this);
// destroy wigglers with no bones, but let them show up for a second first.
- var bonecount = 0;
- for (v in bones) bonecount += 1;
- if (bonecount == 0)
+ if (!staticWiggler)
{
- destroyInitiated = true;
- Actuate.timer(0.5).onComplete( destroy );
+ var bonecount = 0;
+ for (v in bones) bonecount += 1;
+ if (bonecount == 0)
+ {
+ destroyInitiated = true;
+ Actuate.timer(0.5).onComplete( destroy );
+ }
}
}
+#if editing
+ public static function saveWigglers()
+ {
+ var wigglers =
+ allWigglers.map( w -> {
+ width: w.width, height:w.height,
+ x: w.x, y: w.y,
+ path: w.path.map(xy -> {x: xy.x, y:xy.y}),
+ color: w.color
+ });
+
+ sys.io.File.saveContent("title.json", haxe.Json.stringify( wigglers ));
+ trace('wrote splash.json');
+ }
+#end
+
// some reusable variables for intersection
// detection. Wiggler.intersects fills these to prevent too much GC
// action
@@ -517,18 +489,21 @@ function perFrame (e)
this.x += drift.x;
this.y += drift.y;
- if (this.x <= 0 || this.x + this.width >= stage.stageWidth)
- drift.x *= -1;
- if (this.y <= 0 || this.y + this.height >= stage.stageHeight)
- drift.y *= -1;
-
- for (wiggler in Wiggler.allWigglers)
- if (wiggler != this && this.intersects( wiggler) )
- bounceOff( wiggler );
-
- this.x = Math.max(1,Math.min(stage.stageWidth - (this.width + 1), this.x));
- this.y = Math.max(1,Math.min(stage.stageHeight - (this.height + 1), this.y));
+ if (!staticWiggler)
+ {
+ if (this.x <= 0 || this.x + this.width >= stage.stageWidth)
+ drift.x *= -1;
+ if (this.y <= 0 || this.y + this.height >= stage.stageHeight)
+ drift.y *= -1;
+
+ for (wiggler in Wiggler.allWigglers)
+ if (wiggler != this && this.intersects( wiggler) )
+ bounceOff( wiggler );
+ this.x = Math.max(1,Math.min(stage.stageWidth - (this.width + 1), this.x));
+ this.y = Math.max(1,Math.min(stage.stageHeight - (this.height + 1), this.y));
+ }
+
render();
}
@@ -599,6 +574,8 @@ class DrawingScreen extends Sprite
/* the prupose of which is to produce a path of a closed polygon
suitable for passing in as the "skin" of a wiggler. */
+ public static var staticWigglerMode = false;
+
var path: Array<Point> = [];
var candidateWiggler:Wiggler;
@@ -737,7 +714,7 @@ class DrawingScreen extends Sprite
var bbox = Util.pathBoundingBox( path );
- candidateWiggler = new Wiggler( path );
+ candidateWiggler = new Wiggler( path , staticWigglerMode);
candidateWiggler.x = bbox.x;
candidateWiggler.y = bbox.y;
@@ -1096,6 +1073,44 @@ class Util
}
+class SplashScreen extends Sprite
+{
+ public function new ()
+ {
+ super();
+ addEventListener(Event.ADDED_TO_STAGE, init);
+ }
+
+ function init (e)
+ {
+ var json = openfl.Assets.getText("assets/title.json");
+ var wigglers :Array<{path:Array<Pt>, color:Int, x:Float,y:Float,width:Float,height:Float}> = haxe.Json.parse(json);
+
+ var maxX= 0.0;
+ var maxY = 0.0;
+ for (wiggler in wigglers)
+ {
+ maxX = Math.max(wiggler.x + wiggler.width, maxX);
+ maxY = Math.max(wiggler.y + wiggler.width, maxY);
+ }
+ var horizScale = Math.min(0.5, stage.stageWidth / maxX);
+ var vertScale = Math.min(0.5, stage.stageHeight / maxY);
+ for (wiggler in wigglers)
+ {
+ var w = new Wiggler( wiggler.path.map( p -> new Point(p.x, p.y)), true);
+ w.color = wiggler.color;
+ w.scaleX = horizScale;
+ w.scaleY = vertScale;
+ w.x = wiggler.x * horizScale;
+ w.y = wiggler.y * vertScale;
+ addChild(w);
+ }
+
+ }
+
+}
+
+
class Main extends Sprite
{
public function new()
@@ -1106,8 +1121,22 @@ class Main extends Sprite
function onInit (e)
{
- var screen = new DrawingScreen();
- addChild( screen );
+#if editing
+ DrawingScreen.staticWigglerMode = true;
+ stage.addEventListener(KeyboardEvent.KEY_DOWN, (e) -> Wiggler.saveWigglers());
+ addChild(new DrawingScreen() );
+#else
+ addChild(new SplashScreen());
+ stage.addEventListener(MouseEvent.MOUSE_DOWN, start);
+#end
+ }
+
+ function start (e)
+ {
+ stage.removeEventListener(MouseEvent.MOUSE_DOWN, start);
+ Wiggler.clearWigglers();
+ removeChildren();
+ addChild(new DrawingScreen());
}
}