forked from: Hair Draw(Animation)
Hair Drawを毎回画面をクリアするように修正すると、生えたものがアニメーションする風になります
/**
* Copyright HaraMakoto ( http://wonderfl.net/user/HaraMakoto )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/pBrS
*/
package
{
import flash.display.Sprite;
import flash.utils.getTimer;
import frocessing.display.F5MovieClip2DBmp;
[SWF(width="465", height="465", frameRate="60")]
public class DrawTest extends F5MovieClip2DBmp{
private var stage_width:Number = 1200;
private var stage_height:Number = 600;
private var n:int = 5;
private var t:Number = 0;
private var _field:Sprite = new Sprite();
private var _paintField:Sprite = new Sprite();
private var _col:int = 0xFFFFFF;
//座標リスト
private var _pointListList:Array = new Array();
private var _currentListIndex:int = 0;
// TIMER
private var _startTime:int;
//Sample Data
//Level0
/*private var sample_A:Array = [{x:30.4,y:201.875},{x:33.975,y:207.9},{x:46.3,y:206.15},{x:58.55,y:206.15},{x:75,y:210.9},{x:85,y:210.9},{x:91.6,y:209},{x:92.95,y:200.075},{x:80.925,y:191.65},{x:64.7,y:191.65},{x:48.2,y:189.25},{x:40.2,y:189.25}];
private var sample_B:Array = [{x:120.1,y:33.575},{x:136.85,y:37.75},{x:138.35,y:54.9},{x:138.65,y:66.7},{x:135,y:82.25},{x:135,y:94.4},{x:137.45,y:105.85},{x:137.45,y:112.15},{x:135,y:120.25},{x:135,y:126.65},{x:137.45,y:142.75},{x:137.45,y:159.9},{x:135.925,y:176.775},{x:136.85,y:193.95},{x:120.1,y:199.7},{x:123.475,y:206.075},{x:135.25,y:207.9},{x:147.5,y:207.9},{x:163.65,y:205.45},{x:170.15,y:205.45},{x:178.2,y:207.9},{x:184.45,y:207.9},{x:200.55,y:205.45},{x:209.2,y:205.45},{x:225.45,y:207.9},{x:231.7,y:207.9},{x:239.85,y:205.45},{x:240.9,y:205.45},{x:243.8,y:191.65},{x:243.8,y:177.7},{x:242.05,y:172.45},{x:235.65,y:170.85},{x:229.75,y:176.15},{x:229.65,y:185.8},{x:224.35,y:188.3},{x:213.85,y:189.675},{x:201.875,y:189.85},{x:183.35,y:188.85},{x:174.9,y:188.8},{x:172.2,y:182.9},{x:169.65,y:175.35},{x:172.05,y:159.55},{x:172.05,y:142.15},{x:169.65,y:126.05},{x:169.65,y:119.65},{x:172.05,y:111.6},{x:172.05,y:105.1},{x:169.65,y:93.8},{x:169.65,y:81.75},{x:173.25,y:66.575},{x:173.55,y:54.9},{x:172.65,y:37.75},{x:189.55,y:31.975},{x:178.6,y:23.8},{x:161.45,y:23.8},{x:145.15,y:26.2},{x:139,y:26.2},{x:130.9,y:23.8},{x:126.35,y:23.8}];
private var sample_C:Array = [{x:270.4,y:34.15},{x:274.95,y:37.75},{x:280.875,y:55.575},{x:284.175,y:65.575},{x:290.05,y:76.45},{x:294.2,y:88.15},{x:297.45,y:103.2},{x:300.3,y:111.15},{x:308.4,y:126.3},{x:311.2,y:133.85},{x:314.25,y:149},{x:317.2,y:156.85},{x:325.2,y:171.8},{x:328.4,y:180.25},{x:331.45,y:195.5},{x:334.85,y:204.45},{x:344.075,y:208.5},{x:353.15,y:197.075},{x:357.9,y:182.4},{x:360.55,y:167.1},{x:363.2,y:159.1},{x:370.7,y:143.85},{x:373.35,y:136.1},{x:375.85,y:120.75},{x:378.4,y:112.9},{x:385.95,y:97.65},{x:388.7,y:89.25},{x:391.35,y:73.95},{x:393.65,y:66.925},{x:397.35,y:55.25},{x:402.3,y:46.4},{x:407.85,y:37.75},{x:409.05,y:31.975},{x:391.75,y:26.2},{x:374.45,y:31.975},{x:379.3,y:37.75},{x:391.35,y:38.05},{x:391.35,y:46.05},{x:386.025,y:57.55},{x:382.775,y:65.675},{x:380.9,y:77.05},{x:377.1,y:88.65},{x:369.5,y:104},{x:366.85,y:112.15},{x:364.25,y:127.6},{x:358.8,y:143.85},{x:352.05,y:143.85},{x:346,y:127.6},{x:338,y:112.3},{x:335.05,y:104.25},{x:331.85,y:89.1},{x:328.15,y:78.9},{x:320.1,y:63.45},{x:319.825,y:62.95},{x:317.3,y:55.85},{x:316.35,y:47.55},{x:316.35,y:37.75},{x:332.375,y:37.75},{x:333.9,y:31.975},{x:321.875,y:26.2},{x:305.75,y:26.2},{x:289.3,y:23.8},{x:280.25,y:23.8},{x:274.275,y:25.15}];
private var sample_D:Array = [{x:473,y:36.45},{x:463.1,y:48.1},{x:456.65,y:57},{x:453.25,y:66.5},{x:451.7,y:83.95},{x:451.2,y:87.65},{x:447.25,y:104.6},{x:447.15,y:112.7},{x:447.15,y:120.85},{x:450.55,y:137.65},{x:451,y:141.9},{x:451.55,y:159.35},{x:454.35,y:168.95},{x:458.9,y:176.5},{x:471.75,y:196},{x:492.1,y:207.45},{x:508.45,y:208.5},{x:523.25,y:208.5},{x:545.55,y:199.95},{x:560.75,y:182.6},{x:567.15,y:165.95},{x:568.95,y:148.55},{x:569.55,y:144.8},{x:573.5,y:127.8},{x:573.75,y:121.45},{x:571.45,y:116.05},{x:571.45,y:111.35},{x:573,y:94.9},{x:572,y:85.5},{x:566.7,y:70.6},{x:563.4,y:59.05},{x:560.45,y:49.2},{x:550.55,y:35.05},{x:529.9,y:24.45},{x:514.25,y:23.4},{x:498.35,y:23.35},{x:486.1,y:28.3}];
private var sample_E:Array = [{x:500.8,y:36.6},{x:509.55,y:34.9},{x:524.35,y:34.9},{x:530.375,y:49.9},{x:533.7,y:60.15},{x:535.75,y:84.75},{x:536.25,y:101.5},{x:533.85,y:111.15},{x:533.85,y:118},{x:536,y:134},{x:535.6,y:142.9},{x:532.15,y:159.35},{x:531.55,y:164.75},{x:532,y:176.75},{x:527.3,y:194.1},{x:514.35,y:196.675},{x:499.2,y:196.85},{x:493,y:182.3},{x:490.2,y:174.7},{x:486.6,y:163.45},{x:485.75,y:153.45},{x:487.4,y:137.3},{x:487.25,y:130.3},{x:484.65,y:118.8},{x:484.65,y:110.8},{x:487.4,y:94.55},{x:487.65,y:87.05},{x:486.3,y:70.95},{x:487.25,y:63.75},{x:492.1,y:52.3},{x:492.35,y:51.35}];
private var sample_AE:Array = [sample_A,sample_B,sample_C,sample_D];
*/
//がいこつ
/*
private var sample_AE:Array = [[{x:696.775,y:297.5}],
[{x:778.75,y:356.8},{x:778.05,y:358},{x:778.25,y:358.45},{x:779.1,y:357.125}],
[{x:652.05,y:291.4},{x:669.2,y:294.05},{x:668.25,y:292.2},{x:641.15,y:287.3},{x:625.1,y:284.7},{x:622.45,y:284.6},{x:630.8,y:287.6}],
[{x:720.6,y:201.5}],
[{x:657.6,y:194.75},{x:666,y:195.4},{x:708.65,y:200.15},{x:669.625,y:192.825},{x:630.4,y:189.2},{x:645.1,y:192.55}],
[{x:430.85,y:206.5},{x:431.45,y:205.45},{x:432.3,y:205.45},{x:434.45,y:206.1},{x:436.15,y:206.1},{x:440.3,y:204},{x:440.3,y:200.95},{x:435.5,y:195.8},{x:433,y:195.8},{x:431,y:197.5},{x:429.85,y:197.5},{x:426.85,y:196.5},{x:425.55,y:196.5},{x:425.35,y:198.175},{x:425.3,y:199.95},{x:425.3,y:201.35},{x:426.4,y:202.8},{x:427.8,y:205.3}],
[{x:432.95,y:236.55},{x:438.95,y:235.55},{x:438.95,y:232.3},{x:434.75,y:229.55},{x:431.9,y:228.95},{x:430.95,y:228.95},{x:428.5,y:230.325},{x:427.35,y:231.75}],
[{x:408.6,y:241.85},{x:413.4,y:237.45},{x:420.4,y:232.7},{x:420.45,y:231.4},{x:419.25,y:232.3},{x:417.95,y:232.4},{x:415.9,y:233.05},{x:417.9,y:234.95},{x:419.45,y:234.95},{x:413,y:233.45},{x:409.45,y:233.9},{x:401.85,y:239.75},{x:401.85,y:242.4}],
[{x:411,y:207.2},{x:412.65,y:207.45},{x:415.2,y:207.45},{x:418.85,y:208.7},{x:419.75,y:209.6},{x:419.75,y:207.65},{x:414.6,y:203.25},{x:412.2,y:201.5},{x:411.65,y:200.8},{x:410.4,y:200.6},{x:402.2,y:195.15},{x:399.85,y:195.15},{x:398.9,y:197.8},{x:398.9,y:200.65},{x:402.45,y:203.7}],
[{x:379.35,y:209.7689453125},{x:378.920703125,y:209.351953125},{x:379.2,y:209.9}],
[{x:333.3,y:184.8},{x:333.3,y:183.75},{x:330.95,y:179.35},{x:331.1,y:181.75}],
[{x:323.85,y:179.3},{x:323.55,y:178.5},{x:322.3,y:177.95},{x:322.15,y:178.6}],
[{x:390.85,y:138.35},{x:396.4,y:136.55},{x:401.85,y:135},{x:404.8,y:134.15},{x:408.925,y:133.525},{x:412.15,y:133.05},{x:418.2,y:132.35},{x:424.65,y:131.25},{x:432.3,y:128.8},{x:440,y:125.6},{x:436.2,y:125.3},{x:432.7,y:125.3},{x:405.5,y:130.55},{x:394.2,y:134.6},{x:383.4,y:138.6}],
[{x:374.4,y:316.55},{x:383.1,y:321.9},{x:397.85,y:330.95},{x:400.5,y:329.9},{x:388.45,y:322.35},{x:376.6,y:315.4}],
[{x:331.4,y:278.35},{x:332.6,y:277.75},{x:331.3,y:276.35},{x:329.7,y:275.85}],
[{x:333.05,y:267},{x:326.9,y:258.5},{x:326.2,y:260.15},{x:328.2,y:264.75},{x:329.5,y:269.95},{x:331.55,y:271.35}],
[{x:342.15,y:272.7},{x:342.9,y:270.175},{x:341.85,y:268.8},{x:339.95,y:267.8},{x:338.6,y:267.8},{x:338.75,y:272.3}],
[{x:323.75,y:271},{x:323.75,y:268.3},{x:320.8,y:263.15},{x:319.5,y:264.75},{x:320.95,y:269.55}],
[{x:314.45,y:272.35},{x:314.45,y:270.3},{x:313.8,y:266.65},{x:309.55,y:258.5},{x:306.8,y:255},{x:306.55,y:255.375},{x:308.4,y:258.3},{x:309.1,y:265.6},{x:309.4,y:268.8},{x:310.05,y:271.6},{x:311.6,y:273.55}],
[{x:319.5,y:279.325},{x:321.375,y:279.6},{x:321.2,y:277.65},{x:319.5,y:276.3}],
[{x:308.3,y:279.6},{x:309.65,y:279.6},{x:308.5,y:277.3},{x:307.1,y:277.425}],
[{x:302.5,y:273.7},{x:302.8,y:272.2},{x:302.8,y:269.35},{x:295.05,y:258.75},{x:294.55,y:258.775},{x:294.8,y:263.75},{x:298.3,y:271.15}],
[{x:295.95,y:279.9},{x:295.6,y:279.3},{x:291.25,y:276},{x:290.95,y:277.95}],
[{x:281.95,y:278.2},{x:281.6,y:276.95},{x:279.2,y:273.7},{x:278,y:274},{x:277,y:276.4}],
[{x:287.5,y:271.3},{x:288.6,y:266.75},{x:288.6,y:264.55},{x:286.1,y:263.7},{x:283.4,y:265.35},{x:283.25,y:268.8},{x:284.45,y:271.65}],
[{x:274.3,y:269.7},{x:274.55,y:268.85},{x:272.2,y:269.85},{x:271.7,y:270.25}],
[{x:226.05,y:275.4},{x:226.05,y:274.45},{x:225.3,y:270.35},{x:225.85,y:268.45},{x:229,y:264.65},{x:229,y:263.6},{x:227,y:262.05},{x:225.6,y:263.85},{x:224.05,y:270.9},{x:224.05,y:272.25},{x:224.65,y:275.6}],
[{x:313.7,y:179.1},{x:312.95,y:177.95},{x:311.15,y:177.95},{x:310.3,y:178.75},{x:310.625,y:180.1}],
[{x:302.4,y:180.7},{x:302.575,y:179.5},{x:301.85,y:179.3},{x:300.7,y:179.4},{x:299.7,y:180.1},{x:300.15,y:181.35}],
[{x:291.3,y:184.25},{x:292.25,y:181.55},{x:292.25,y:180.65},{x:289.65,y:179.95},{x:288.15,y:179.95},{x:286.4,y:180.7},{x:287.2,y:182.8}],
[{x:284.85,y:191.3},{x:284.55,y:188.35},{x:282.55,y:188.2}],
[{x:278.1,y:185.55},{x:278.65,y:183.5},{x:277.25,y:182.9},{x:274.3,y:183.75},{x:273.75,y:184.65}],
[{x:322.7,y:198.95},{x:325.3,y:194.95},{x:326,y:187.75},{x:324.05,y:185.65},{x:323.55,y:191.3},{x:323.35,y:193.9},{x:322.45,y:196.8}],
[{x:314.4,y:198.65},{x:316.5,y:194.75},{x:317.75,y:191.6},{x:317.75,y:183.9},{x:314.775,y:191.325}],
[{x:316.3,y:218.95},{x:317.2,y:217.9},{x:318.55,y:215.2},{x:319.5,y:214.25},{x:324.4,y:210.1},{x:325.95,y:208},{x:328.8,y:203.55},{x:327.1,y:203.85},{x:316.85,y:215.95}],
[{x:307,y:221},{x:307.8,y:219.4},{x:309.8,y:215.85},{x:307.45,y:217.05},{x:305.15,y:218.875}],
[{x:304,y:199.75},{x:306.8,y:192.9},{x:306.8,y:189.3},{x:306.25,y:185.55},{x:305.65,y:186.3},{x:305.25,y:190.8},{x:304.45,y:194.25},{x:303.2,y:199.85}],
[{x:310.15,y:242.75},{x:316.4,y:249.5},{x:322,y:253.85},{x:328.95,y:256.85},{x:328.6,y:255.35},{x:324.35,y:252},{x:317.6,y:247.6},{x:313.25,y:244.1},{x:310.9,y:240.7}],
[{x:298,y:240.4},{x:302.65,y:243.55},{x:303,y:240.9},{x:300.35,y:237.6},{x:297.35,y:236.85}],
[{x:272.45,y:243.9},{x:270.5,y:240.25},{x:270.05,y:238.5},{x:269.7,y:239.7},{x:269.7,y:242.65},{x:270.75,y:245.05}],
[{x:295,y:202.7},{x:297.55,y:196.7},{x:297.55,y:191.5},{x:296.95,y:187.75},{x:295.6,y:186.7},{x:294.55,y:191.7},{x:294.25,y:193.4},{x:293.25,y:195.5},{x:293.25,y:196.35},{x:294.25,y:197.7},{x:294.25,y:198.4},{x:292.55,y:201.35},{x:292.4,y:202.95}],
[{x:288.3,y:218.4},{x:286.6,y:220.7},{x:286.05,y:221.65},{x:286.05,y:221.95},{x:287.1,y:221.95},{x:288.6,y:220.25},{x:288.6,y:219.1}],
[{x:284.8,y:210},{x:282.3,y:215.1},{x:282.3,y:216.35},{x:282.6,y:217.7},{x:284,y:216.85},{x:286,y:210.35},{x:285.775,y:209.75}],
[{x:271.7,y:217.7},{x:272.7,y:212.4},{x:272.7,y:211.45},{x:271.05,y:213.5},{x:269.7,y:216.45},{x:269.7,y:218.2}],
[{x:253.15,y:216.8},{x:253.15,y:215.7},{x:252.5,y:214.1},{x:251.5,y:214.55},{x:251.15,y:216.85},{x:251.15,y:217.55}],
[{x:241.2,y:215.075},{x:239.95,y:213.35},{x:238.25,y:214.375},{x:238.5,y:216.2}],
[{x:252.8,y:241.45},{x:252.45,y:239.4},{x:251.5,y:236.45},{x:248.2,y:235.9},{x:248.4,y:237.5},{x:250.55,y:241.2}],
[{x:241.95,y:239.8},{x:240.275,y:236.25},{x:237.95,y:236.25},{x:237.1,y:237.05},{x:238.25,y:238.95},{x:239.15,y:242.05}],
[{x:221.55,y:247.7},{x:220.25,y:245.6},{x:219.65,y:244.75},{x:220.125,y:242.975},{x:219.7,y:242.85},{x:218.75,y:244.675},{x:219.2,y:247.75},{x:220.5,y:249}],
[{x:230.95,y:213.95},{x:230.95,y:212.05},{x:229.6,y:211.85},{x:228.4,y:211.6},{x:227.65,y:211.575},{x:228.45,y:214.4},{x:228.9,y:215.35}],
[{x:220.1,y:213.85},{x:220.6890625,y:214.878125},{x:220.7,y:211.8375},{x:219.05,y:209.5},{x:217.4,y:213.25},{x:217.4,y:213.95},{x:219.35,y:213.05}],
[{x:226.25,y:195.2},{x:227,y:190.4},{x:227.25,y:187.8},{x:227.35,y:186.65},{x:226.35,y:185.2},{x:225.85,y:183},{x:225.35,y:178.4},{x:224.7,y:178.65},{x:224.2,y:186.375},{x:223.85,y:194.9}],
[{x:120.65,y:257.1},{x:122.6,y:258.6},{x:125.85,y:259.65},{x:136.95,y:261.2},{x:142.05,y:261.2},{x:150.75,y:259.95},{x:156.15,y:258.1},{x:158.35,y:256.1},{x:160.1,y:255.1},{x:161.75,y:253.6},{x:162.7,y:251.85},{x:164.75,y:250},{x:164.75,y:248.5},{x:160.95,y:246.55},{x:161.85,y:245.7},{x:163.95,y:245},{x:169.725,y:244.7},{x:177.15,y:244.7},{x:180.9,y:241.2},{x:181,y:237.7},{x:182.25,y:237.4},{x:183.15,y:237.4},{x:185,y:238.75},{x:185.3,y:238.55},{x:185.2,y:237.7},{x:186.1,y:237.7},{x:187.35,y:238.35},{x:188.1,y:238.35},{x:189.3,y:237.4},{x:190.1,y:237.4},{x:192.05,y:239.75},{x:192.85,y:239.75},{x:193.05,y:238.75},{x:193.9,y:238.75},{x:197.5,y:240.7},{x:198.4,y:240.7},{x:198.8,y:240.35},{x:198.775,y:239.875},{x:198.65,y:238.8},{x:199.5,y:239.25},{x:201.1,y:239.4},{x:202.4,y:239.4},{x:205.3,y:240},{x:205.75,y:239.5},{x:206.25,y:238.75},{x:207.7,y:239.45},{x:211.25,y:241},{x:212.6,y:241},{x:213.3,y:240.95},{x:214.4,y:242.05},{x:214.4,y:243.65},{x:213.45,y:245.1},{x:213.45,y:246},{x:213.75,y:246.55},{x:213.75,y:246.75},{x:213.55,y:248.3},{x:214.1,y:249.2},{x:216.15,y:251.75},{x:217.15,y:254.1},{x:220,y:256.8},{x:222.05,y:257.3},{x:221.8,y:261.65},{x:218.35,y:272.35},{x:218.35,y:279.3},{x:219.6,y:283.95},{x:221.5,y:286.25},{x:221.5,y:288.75},{x:222.3,y:290.4},{x:226.1,y:294.9},{x:226.5,y:295.5},{x:227.05,y:296},{x:228.2,y:296},{x:229,y:295.5},{x:229,y:294.5},{x:228.3,y:293},{x:228.3,y:292.05},{x:229,y:291.3},{x:228.75,y:294.35},{x:232.05,y:302.3},{x:251,y:302.3},{x:288.25,y:303.775},{x:313.925,y:305.25},{x:323.75,y:305.95},{x:329.7,y:306.6},{x:333.55,y:307.15},{x:339.3,y:308.3},{x:344.6,y:309.8},{x:349.1,y:312.85},{x:354,y:315.8},{x:358.5,y:317.85},{x:359.75,y:317.75},{x:360.9,y:320.2},{x:364.85,y:321.8},{x:368.2,y:322.65},{x:376.05,y:326.5},{x:403.3,y:340.6},{x:414.6,y:345},{x:424.1,y:347.85},{x:427.15,y:348.9},{x:436.2,y:354.4},{x:438.45,y:355.3},{x:440.1,y:355.6},{x:440.9,y:355.6},{x:443.05,y:354.65},{x:445.2,y:355.225},{x:450.5,y:356.95},{x:453.1,y:356.95},{x:454.9,y:357.3},{x:458.85,y:357.775},{x:464.05,y:358.5},{x:468.85,y:359},{x:472.05,y:359},{x:475.2,y:358.3},{x:479.1,y:356.15},{x:488,y:349.8},{x:491.15,y:348.95},{x:493.6,y:347.6},{x:496.25,y:346.25},{x:497.45,y:345.9},{x:498.9,y:345.9},{x:500.2,y:345.35},{x:507.2,y:339.2},{x:507.2,y:337.4},{x:506.5,y:337.1},{x:505.1,y:337.1},{x:502,y:338.25},{x:501.7,y:338.9},{x:502.2,y:339.1},{x:502.2,y:340.25},{x:494.1,y:343.05},{x:492.85,y:343.05},{x:492.75,y:342.9},{x:495.85,y:335.1},{x:498.2,y:327.175},{x:497.725,y:325.85},{x:495.75,y:326.75},{x:493.3,y:327.75},{x:492.2,y:329.8},{x:491.4,y:331.65},{x:489.3,y:334.45},{x:488.8,y:335.1},{x:488.3,y:334.2},{x:488.3,y:333.25},{x:488.95,y:332.4},{x:488.95,y:331.8},{x:488,y:330.25},{x:486.1,y:330.6},{x:486.15,y:333.25},{x:485.6,y:334.65},{x:485.3,y:335.85},{x:484.65,y:339.35},{x:482.45,y:346},{x:480.5,y:346},{x:475.85,y:344.7},{x:475.1,y:344.7},{x:472.3,y:346.7},{x:471.45,y:346.7},{x:469.65,y:346},{x:468.7,y:346},{x:466.75,y:346.9},{x:465.6,y:347.2},{x:462.95,y:347.05},{x:461.25,y:347.15},{x:458.6,y:347.3},{x:457,y:346.3},{x:454.5,y:344.2},{x:453.6,y:343.9},{x:451.85,y:344.25},{x:451.85,y:343.075},{x:453.1,y:341.75},{x:455.65,y:339.8},{x:460.5,y:336.2},{x:464.4,y:334.65},{x:469.35,y:333.25},{x:473.75,y:332.65},{x:475.85,y:330.15},{x:478.05,y:330.15},{x:479.65,y:329.25},{x:479.65,y:326.25},{x:478.65,y:325.15},{x:476.15,y:325.15},{x:475.55,y:326.5},{x:473.65,y:327.1},{x:471.5,y:326.9},{x:470,y:327.15},{x:467.8,y:329},{x:466.6,y:329.3},{x:463.45,y:329.3},{x:462.4,y:329.45},{x:461.25,y:330.45},{x:460.65,y:330.65},{x:458.6,y:330.65},{x:457.55,y:331.2},{x:454.8,y:333.85},{x:452.9,y:335.1},{x:445.2,y:336.45},{x:442.85,y:339.1},{x:441.95,y:340.4},{x:441.75,y:341.55},{x:442.1,y:342.7},{x:440.85,y:341.8},{x:439.2,y:340.05},{x:438.05,y:340.05},{x:433.3,y:341.1},{x:432.9,y:341.1},{x:430.55,y:341.25},{x:411.95,y:331.6},{x:386.7,y:316.4},{x:378.1,y:308.75},{x:370.4,y:300.1},{x:367.65,y:298.35},{x:364.35,y:296.25},{x:362.35,y:294.6},{x:361.35,y:294},{x:360.15,y:294},{x:352.65,y:297.15},{x:349.55,y:298.1},{x:346.85,y:298.35},{x:320.05,y:295.85},{x:282.125,y:293.2},{x:264.9,y:293.05},{x:255.4,y:290.8},{x:251.925,y:287.825},{x:252.25,y:285.1},{x:253.4,y:283.15},{x:257.05,y:281.7},{x:258.35,y:280.9},{x:261.85,y:278.8},{x:262.65,y:278.8},{x:266.45,y:279.5},{x:268.35,y:279.425},{x:270.55,y:279.25},{x:272,y:279.6},{x:275.5,y:282.25},{x:278.65,y:282.45},{x:280.475,y:282.8},{x:282.15,y:282.8},{x:285.95,y:282.55},{x:287.8,y:283.2},{x:289.6,y:283.75},{x:291.25,y:284.1},{x:292.4,y:284.4},{x:296.075,y:284.4},{x:299.5,y:284.4},{x:301.3,y:283.75},{x:302.25,y:283.75},{x:303.2,y:284.1},{x:307.15,y:284.4},{x:310.75,y:284.4},{x:313.6,y:283.1},{x:314.25,y:283.1},{x:318.25,y:284.7},{x:320.15,y:284.7},{x:323.05,y:284.35},{x:324.4,y:284.1},{x:325.65,y:282.8},{x:326.5,y:282.8},{x:329.15,y:283.45},{x:332.1,y:283.45},{x:335.85,y:282.05},{x:338.3,y:279.6},{x:341.25,y:279.3},{x:343.8,y:278.65},{x:347.6,y:273.15},{x:348.45,y:272},{x:351.05,y:270.85},{x:349.7,y:268.8},{x:345.8,y:268},{x:338,y:263.4},{x:331.55,y:254.8},{x:328.15,y:250.95},{x:324.8,y:248.25},{x:321,y:245.9},{x:316.85,y:242.85},{x:317.725,y:239.4},{x:320.25,y:239.55},{x:323.2,y:244.05},{x:326.15,y:247.15},{x:333.85,y:254},{x:336.65,y:256.95},{x:341.1,y:261.9},{x:343.8,y:263.55},{x:345.85,y:264.05},{x:349.525,y:264.55},{x:350.85,y:264.05},{x:349.85,y:262},{x:343,y:258.85},{x:340.95,y:256.65},{x:336.45,y:250.9},{x:329.5,y:245.25},{x:326,y:242.15},{x:326.2,y:239.9},{x:326.75,y:240.95},{x:327.75,y:242.4},{x:329.7,y:242.4},{x:330.35,y:241.15},{x:330.5,y:238.35},{x:332,y:238.35},{x:335.2,y:238.9},{x:335.95,y:239.75},{x:335.65,y:240.35},{x:335.65,y:241.9},{x:336.7,y:242.4},{x:338.9,y:242.4},{x:339.8,y:241.1},{x:340.8,y:238.45},{x:341.8,y:237.05},{x:343.75,y:237.05},{x:347.3,y:241.25},{x:347.7,y:242.7},{x:350.3,y:242.625},{x:352.55,y:242.15},{x:352.55,y:240.9},{x:351.5,y:239.2},{x:351.5,y:237.7},{x:352.85,y:236.45},{x:354.3,y:236.45},{x:355.85,y:237.1},{x:356.35,y:237.9},{x:356.35,y:239.9},{x:356.95,y:240.95},{x:359.25,y:242.4},{x:361.5,y:242.4},{x:362.1,y:240.65},{x:361.9,y:237},{x:363.1,y:235.05},{x:366.15,y:235.05},{x:369.05,y:235.5},{x:369.25,y:236.3},{x:367.8,y:238.05},{x:367.8,y:239.25},{x:368.35,y:239.75},{x:369.35,y:239.75},{x:376.15,y:237.05},{x:377.15,y:237.05},{x:377.65,y:237.4},{x:371.7,y:243.55},{x:366.4,y:253.15},{x:366.4,y:279.4},{x:388.75,y:281.1},{x:393.6,y:281.75},{x:394.55,y:281.75},{x:396,y:281.1},{x:396.6,y:279.35},{x:396.8,y:276.45},{x:397.15,y:270.35},{x:400.5,y:267.55},{x:402.35,y:267.5},{x:405.6,y:265.975},{x:410.1,y:262.6},{x:410.9,y:262.6},{x:415,y:266.2},{x:416.45,y:266.2},{x:418.1,y:265.55},{x:419.55,y:265.55},{x:422.05,y:267.25},{x:422.05,y:270.75},{x:420.85,y:272.4},{x:418.1,y:274.6},{x:416.45,y:276.8},{x:418.25,y:280.4},{x:425.9,y:285.1},{x:427.65,y:285.1},{x:433.65,y:282},{x:436.85,y:280.8},{x:440.35,y:280.15},{x:502.375,y:280.45},{x:562.45,y:281.3},{x:566.8,y:281.65},{x:573.15,y:282.65},{x:581.65,y:286.4},{x:586.825,y:290.7},{x:588.5,y:290.7},{x:598.95,y:289.4},{x:600.2,y:289.4},{x:601.45,y:289.5},{x:603.7,y:289.9},{x:609.5,y:293.7},{x:611.7,y:293.7},{x:618.15,y:293.05},{x:619.25,y:293.05},{x:654.55,y:298.45},{x:670.8,y:301},{x:691.15,y:303.7},{x:703.55,y:304.95},{x:710.45,y:305.7},{x:721.775,y:307.95},{x:732.45,y:310.2},{x:738.35,y:312.65},{x:746,y:318.25},{x:748.55,y:318.25},{x:751.35,y:317.2},{x:752.4,y:317.2},{x:753.65,y:318.35},{x:755.45,y:322.95},{x:757.65,y:328.4},{x:759.4,y:331.35},{x:759.55,y:334.7},{x:760.6,y:336.75},{x:762.4,y:343.3},{x:763.25,y:345.9},{x:766.25,y:350.6},{x:767.15,y:352.3},{x:770.65,y:357.6},{x:771.9,y:357.6},{x:772.75,y:358.35},{x:776.925,y:359.95},{x:779.4,y:358.625},{x:779.4,y:356.8},{x:777.7,y:351.5},{x:777.7,y:350.7},{x:779.1,y:347.5},{x:779.1,y:346.7},{x:778.35,y:345.55},{x:778.35,y:339.4},{x:776.7,y:335.35},{x:775.8,y:334.2},{x:775.8,y:332.95},{x:775.95,y:331.2},{x:775.8,y:330.7},{x:775.4,y:330.05},{x:775.4,y:329.15},{x:776.45,y:327.8},{x:776.45,y:326.65},{x:775.2,y:326.15},{x:771.25,y:325.65},{x:770.4,y:323.9},{x:770.25,y:320.65},{x:770,y:319.85},{x:768.15,y:317.65},{x:767.6,y:315.35},{x:766.45,y:310.65},{x:766.45,y:309.35},{x:768,y:306.2},{x:768.95,y:305.65},{x:772,y:304.95},{x:772.7,y:303.2},{x:773.15,y:299.55},{x:773.15,y:295.95},{x:766.55,y:292.75},{x:761.1,y:292.75},{x:756.3,y:296.25},{x:756.2,y:297.85},{x:755.25,y:295.5},{x:751.05,y:295.05},{x:746.75,y:295.05},{x:742.75,y:296.55},{x:741.2,y:296.9},{x:737.8,y:296.65},{x:728.6,y:296.65},{x:674.6,y:282.8},{x:667.1,y:281.05},{x:647.6,y:276.7},{x:635.6,y:274.05},{x:625.3,y:271.9},{x:619.05,y:268.75},{x:611.35,y:263.1},{x:608.9,y:261.65},{x:605.25,y:262},{x:598.95,y:261.35},{x:594.05,y:259.2},{x:591.75,y:257.4},{x:590.2,y:256.8},{x:586.7,y:256.25},{x:585.2,y:256.25},{x:584.05,y:258.9},{x:581.9,y:261.55},{x:571.7,y:265.8},{x:557.9,y:267.5},{x:548.075,y:268.225},{x:514.6,y:268.375},{x:480.2,y:267.7},{x:457.85,y:266.1},{x:447.75,y:265.55},{x:444.45,y:263.85},{x:442.9,y:262.6},{x:442.35,y:262.6},{x:438.85,y:263.25},{x:435.65,y:263.25},{x:430.65,y:260.55},{x:430.65,y:256.75},{x:431,y:255.25},{x:431.75,y:254.5},{x:434.4,y:252},{x:435.9,y:251.2},{x:439.9,y:250.05},{x:442.55,y:247.4},{x:447.15,y:243.15},{x:448.7,y:241.45},{x:449.2,y:239.25},{x:449.2,y:233.65},{x:447.65,y:229.2},{x:444.3,y:225.85},{x:440.3,y:224.15},{x:438.6,y:222.8},{x:435.8,y:219.7},{x:436.5,y:217.75},{x:442.6,y:213.15},{x:448.2,y:207.85},{x:448.2,y:199.85},{x:446.65,y:194.8},{x:444,y:192.6},{x:439.35,y:189.9},{x:437.95,y:189},{x:436.3,y:187.1},{x:435.1,y:187.1},{x:434.15,y:186.85},{x:432.45,y:186.15},{x:430.65,y:186.25},{x:428.2,y:186.1},{x:427.2,y:181.15},{x:434.35,y:177.45},{x:437.75,y:177.45},{x:441.75,y:179.4},{x:443.45,y:179.4},{x:447.4,y:178.75},{x:452.85,y:178.75},{x:470.45,y:178.75},{x:483.65,y:179.8},{x:495.4,y:181.075},{x:513.85,y:183.7},{x:534.1,y:187.55},{x:546.1,y:190.5},{x:558.35,y:193.7},{x:568.45,y:198},{x:572.05,y:199.5},{x:574.65,y:201.6},{x:576.8,y:204.15},{x:579,y:206.6},{x:581.45,y:207.65},{x:584.15,y:207.65},{x:588.8,y:206.6},{x:589.6,y:206.6},{x:594.4,y:206.25},{x:595.25,y:206.25},{x:600.2,y:206.95},{x:601.05,y:206.95},{x:603.4,y:206.6},{x:604.65,y:206.5},{x:608.7,y:206.6},{x:611.6,y:205.8},{x:619.45,y:204.15},{x:626.525,y:203.6},{x:647.3,y:206.25},{x:679.05,y:209.85},{x:701.6,y:210.75},{x:710.8,y:211.05},{x:716.45,y:211.45},{x:720.1,y:211.55},{x:725.75,y:212.2},{x:730.05,y:212.7},{x:733.9,y:214},{x:740.2,y:216.95},{x:744.5,y:218.55},{x:748.6,y:218.55},{x:749.8,y:218.1},{x:751.45,y:216.05},{x:754.3,y:214.85},{x:755,y:214.85},{x:758.95,y:218.2},{x:763.45,y:218.2},{x:770.5,y:213.55},{x:769.8,y:206.25},{x:768.45,y:206.25},{x:767.6,y:206.95},{x:767.4,y:206.8},{x:766.45,y:205.9},{x:766.45,y:205.05},{x:766.8,y:201.25},{x:767.65,y:199.8},{x:771.15,y:197.6},{x:771.15,y:196.65},{x:769.8,y:195.05},{x:769.8,y:194.2},{x:771.6,y:190.2},{x:772.05,y:188.65},{x:772.05,y:186.45},{x:772,y:185.35},{x:772.7,y:184.7},{x:773.35,y:183.9},{x:773.45,y:183.5},{x:773.45,y:181.75},{x:773.15,y:180.55},{x:772.1,y:179.95},{x:770.8,y:179.95},{x:771.4,y:177.85},{x:773.15,y:172.9},{x:771.15,y:165.2},{x:769.65,y:165.2},{x:769.35,y:165.85},{x:768.5,y:165.85},{x:767.15,y:164.55},{x:766.325,y:165.525},{x:765.3,y:166.3},{x:764.4,y:166.3},{x:763.45,y:167.45},{x:762.3,y:169},{x:759.85,y:171.15},{x:759.85,y:172.35},{x:760.55,y:172.85},{x:760.55,y:173.75},{x:759.35,y:174.3},{x:758,y:184},{x:756,y:191.5},{x:754.15,y:193.85},{x:753.95,y:194.8},{x:754.1,y:195.45},{x:753.5,y:196.55},{x:752.2,y:198},{x:750.75,y:198.45},{x:747.05,y:196.95},{x:746,y:196.95},{x:736.9,y:199},{x:735.45,y:199.15},{x:730.5,y:199.25},{x:708.7,y:197.25},{x:659.05,y:187.4},{x:636.25,y:183.1},{x:626.75,y:181.05},{x:619.6,y:179.25},{x:609.6,y:175.15},{x:608.05,y:175.15},{x:604.05,y:178.15},{x:603.5,y:178.15},{x:588.65,y:174.1},{x:587.8,y:174.1},{x:583.35,y:176.85},{x:579.35,y:178.2},{x:574.6,y:178.45},{x:553.3,y:178.45},{x:506.35,y:170.8},{x:485.15,y:167.95},{x:452.25,y:164.55},{x:444.65,y:163.8},{x:438.2,y:161.9},{x:429.25,y:158.75},{x:426.15,y:158.95},{x:424.35,y:158.25},{x:422.75,y:158.25},{x:415.75,y:162.25},{x:415.45,y:164.25},{x:415.45,y:169.3},{x:417.675,y:169.55},{x:419.1,y:171.025},{x:419.1,y:173.95},{x:415.65,y:177.15},{x:413.85,y:177.15},{x:408.35,y:175.8},{x:407.5,y:175.8},{x:402.85,y:177.15},{x:402,y:177.15},{x:398.4,y:175.3},{x:395.75,y:175.1},{x:392.7,y:174.6},{x:391.95,y:172.55},{x:391.7,y:170.6},{x:391.3,y:166.15},{x:388.35,y:164.3},{x:383.2,y:162.9},{x:379.9,y:162.9},{x:372.8,y:163.75},{x:366.4,y:167.75},{x:361.1,y:179.05},{x:361.1,y:187.4},{x:366.75,y:196.3},{x:372.15,y:202.85},{x:374.85,y:204.15},{x:374.4,y:204.85},{x:374.05,y:205.6},{x:374.05,y:206.95},{x:376.7,y:209.4},{x:377.8,y:210.1},{x:375.6,y:210.8},{x:374.95,y:211.5},{x:373.75,y:209.9},{x:372.5,y:209.55},{x:369.05,y:208.9},{x:366.925,y:208.6},{x:366.4,y:209.55},{x:369.7,y:213.25},{x:369.2,y:214.85},{x:366.75,y:212.4},{x:365.9,y:212.85},{x:363.75,y:215.05},{x:363.2,y:215.4},{x:361,y:214.25},{x:360.45,y:213.55},{x:358.85,y:209.25},{x:357.5,y:209.25},{x:356.15,y:209.55},{x:355.2,y:211.375},{x:355.5,y:213.25},{x:356.5,y:214.25},{x:356.5,y:215.35},{x:352.95,y:217.2},{x:350.75,y:217.2},{x:349.95,y:215.95},{x:349.9,y:213.5},{x:349.25,y:212.2},{x:345.75,y:212.2},{x:345.9,y:215.5},{x:346.1,y:217.25},{x:344.05,y:217.9},{x:342.375,y:219.575},{x:340.8,y:220.15},{x:339.3,y:218.85},{x:339.95,y:217.5},{x:339.95,y:216.45},{x:338.7,y:214.85},{x:336.95,y:214.85},{x:335.65,y:215.9},{x:335.65,y:217.5},{x:336.95,y:220.15},{x:336.975,y:221.025},{x:335.1,y:219.7},{x:333.6,y:220.25},{x:331.875,y:221.5},{x:330.9,y:221.85},{x:330.5,y:221.3},{x:330.65,y:220.15},{x:329.175,y:218.55},{x:327.4,y:218.8},{x:326.4,y:220.35},{x:325.65,y:220.15},{x:325.1,y:219.85},{x:324.1,y:219.85},{x:323.8,y:220.15},{x:323.75,y:220.75},{x:323.6,y:221.25},{x:322.7,y:221.2},{x:322.2,y:220},{x:328.85,y:213},{x:331.1,y:209.75},{x:334,y:203.65},{x:336.5,y:200.05},{x:343.2,y:195.1},{x:346.1,y:193.9},{x:346.55,y:193.35},{x:346.55,y:192.2},{x:346.45,y:191.95},{x:344.725,y:191.7},{x:342.15,y:191.7},{x:338.15,y:194.15},{x:337.6,y:193.6},{x:338.3,y:190.25},{x:338.5,y:189.1},{x:338.35,y:187.45},{x:339.45,y:185.95},{x:342.725,y:184.425},{x:342.85,y:182.75},{x:339.05,y:182.75},{x:335.65,y:180.3},{x:332.75,y:177.15},{x:330.35,y:177.15},{x:328.3,y:177.8},{x:327.45,y:177.8},{x:325.05,y:176.25},{x:323.95,y:175.85},{x:321.85,y:175.5},{x:320.85,y:175.5},{x:318.05,y:176.1},{x:317.2,y:176.1},{x:314.25,y:175.15},{x:313.25,y:175.15},{x:310,y:175.55},{x:308.55,y:175.8},{x:307.05,y:176.75},{x:306.2,y:176.75},{x:302.4,y:175.8},{x:299.5,y:175.8},{x:298.4,y:176.65},{x:296.55,y:178.15},{x:295.7,y:178.15},{x:293.1,y:176.75},{x:291.6,y:176.45},{x:286.8,y:176.45},{x:284.75,y:177.35},{x:280.25,y:180.3},{x:279.05,y:180.1},{x:277.3,y:180},{x:273.75,y:180},{x:271.85,y:180.65},{x:268.35,y:182.45},{x:266.65,y:182.35},{x:263.9,y:182.25},{x:262.25,y:182.55},{x:258.15,y:183.4},{x:254.9,y:183.4},{x:248.5,y:177.5},{x:248.5,y:173.8},{x:248.75,y:172.25},{x:252.85,y:169.35},{x:263.95,y:166.95},{x:282.325,y:165.55},{x:315.425,y:162.4},{x:340.75,y:159.25},{x:345.05,y:159.6},{x:350,y:161.6},{x:352,y:162.1},{x:357.4,y:164.55},{x:360.15,y:164.55},{x:361.35,y:164.3},{x:362.1,y:163.7},{x:362.5,y:161.9},{x:363.95,y:160.6},{x:369.3,y:157.1},{x:370.2,y:156.45},{x:372.45,y:153.3},{x:380.95,y:149.3},{x:398.1,y:143},{x:419.4,y:137.1},{x:439.75,y:132.65},{x:450.225,y:131.425},{x:451.55,y:132.25},{x:452.45,y:133.85},{x:452.95,y:135.1},{x:453.85,y:135.4},{x:455.5,y:135.4},{x:457.5,y:134.75},{x:458.45,y:134.75},{x:460.05,y:135.3},{x:461.75,y:135.85},{x:466,y:138.3},{x:471.1,y:138.8},{x:491.6,y:145},{x:492.45,y:145},{x:494.8,y:145.3},{x:495.55,y:145.3},{x:497.7,y:144.65},{x:498.6,y:144.65},{x:500.85,y:145.65},{x:502,y:145.65},{x:505.05,y:144.7},{x:506.25,y:144.1},{x:506.25,y:145},{x:507.5,y:145},{x:509.35,y:141.7},{x:504.35,y:141.85},{x:502.6,y:141.1},{x:501.9,y:140.75},{x:501.2,y:140.75},{x:498.35,y:141.2},{x:497.1,y:141.05},{x:495.4,y:140.05},{x:494.1,y:139.95},{x:488.75,y:139.75},{x:487,y:139.2},{x:483.9,y:137.4},{x:482.85,y:137.4},{x:482.6,y:137.45},{x:480.75,y:136.85},{x:478.05,y:136.15},{x:470.3,y:134.4},{x:468.2,y:132},{x:469.35,y:131.75},{x:472.75,y:131.75},{x:480.7,y:134.75},{x:481.85,y:134.75},{x:482.5,y:134.1},{x:483.25,y:134.1},{x:484.8,y:135.4},{x:486.1,y:135.6},{x:488.7,y:135.05},{x:489.8,y:135.25},{x:493.4,y:136.2},{x:495.15,y:136.2},{x:496.9,y:137.05},{x:501.2,y:138.05},{x:504.55,y:138.05},{x:505.9,y:137.4},{x:506.7,y:137.4},{x:512.85,y:138.7},{x:513.65,y:138.7},{x:515.95,y:137.7},{x:516.75,y:137.7},{x:518.25,y:138.35},{x:519.2,y:138.35},{x:520.1,y:137.65},{x:519.35,y:136.45},{x:517.7,y:134.4},{x:516.8,y:134.4},{x:516.1,y:135.05},{x:515.3,y:135.05},{x:513.75,y:133.45},{x:512.95,y:133.45},{x:510.45,y:133.05},{x:509.6,y:133.05},{x:507.15,y:133.75},{x:506.3,y:133.75},{x:503.15,y:132.4},{x:502.3,y:132.4},{x:499.55,y:132.1},{x:487.9,y:132.1},{x:478.55,y:127.75},{x:474.35,y:127.75},{x:470.9,y:126.3},{x:470.4,y:125.05},{x:474.3,y:124.45},{x:475.55,y:124.45},{x:482.5,y:125.65},{x:484.475,y:125.8},{x:485.8,y:125.8},{x:488.15,y:126.45},{x:491.1,y:126.45},{x:501.7,y:129.1},{x:504.45,y:129.1},{x:507.75,y:128.8},{x:510.15,y:129.15},{x:512.65,y:130.1},{x:514.85,y:130.1},{x:519.7,y:129.75},{x:521.25,y:129.75},{x:522.45,y:128.65},{x:522.2,y:127.3},{x:520.2,y:125.5},{x:519.2,y:125.5},{x:518.7,y:126.45},{x:517.95,y:126.45},{x:515.95,y:125.1},{x:509.8,y:125.1},{x:506.3,y:124.15},{x:501.95,y:122.7},{x:499.55,y:122.15},{x:493.75,y:122.15},{x:490.95,y:121.6},{x:484.35,y:119.5},{x:483.7,y:119.5},{x:478.25,y:120.15},{x:476.1,y:120.15},{x:470.25,y:118.9},{x:471.9,y:117.4},{x:478.95,y:115.85},{x:479.95,y:115.85},{x:482.5,y:116.55},{x:483.5,y:116.55},{x:488.4,y:116.3},{x:498.2,y:117.95},{x:504.5,y:118.85},{x:509,y:118.35},{x:513.05,y:119.15},{x:514,y:119.15},{x:514.85,y:118.5},{x:515.65,y:118.5},{x:516.2,y:119.5},{x:517.1,y:119.5},{x:519.1,y:118.05},{x:519.1,y:116.8},{x:517.65,y:115.15},{x:516.3,y:115.15},{x:515.95,y:115.85},{x:515.15,y:115.85},{x:513,y:114.85},{x:507.5,y:114.4},{x:502.1,y:112.7},{x:501.1,y:111.55},{x:500.25,y:111.55},{x:497.15,y:112.2},{x:496.3,y:112.2},{x:484.2,y:110.25},{x:481.85,y:110.25},{x:475.4,y:112.5},{x:471.1,y:112.5},{x:470.2,y:112.45},{x:470.4,y:111.55},{x:474.45,y:110.7},{x:475.4,y:108.9},{x:476.4,y:108.55},{x:481.45,y:103.6},{x:482.75,y:103.6},{x:483.65,y:103.8},{x:484.2,y:103.3},{x:485.8,y:100.95},{x:486.9,y:99.9},{x:490.65,y:97.45},{x:490.65,y:95.95},{x:490.25,y:94.8},{x:489.45,y:94.7},{x:488.1,y:95.05},{x:486.95,y:96.85},{x:485.85,y:97.4},{x:483.25,y:97.85},{x:482.65,y:98},{x:480,y:98.65},{x:479.2,y:99.6},{x:477.2,y:101.6},{x:475.7,y:102.5},{x:471,y:104.2},{x:468.95,y:105.6},{x:464.75,y:109.45},{x:462.9,y:110.35},{x:460.75,y:110.9},{x:459.65,y:110.9},{x:459,y:110.25},{x:457.85,y:110.25},{x:455.5,y:112.4},{x:455.3,y:113.4},{x:454.7,y:113.55},{x:452.05,y:115.15},{x:451.2,y:115.15},{x:449.2,y:114.2},{x:447.1,y:114.2},{x:439.45,y:118.5},{x:436.3,y:119.5},{x:412.05,y:125.3},{x:386.55,y:132.3},{x:371,y:139.4},{x:364.4,y:141.95},{x:362.05,y:141.7},{x:361.05,y:142},{x:360.2,y:142},{x:358,y:141.35},{x:355.55,y:141.35},{x:353.55,y:141.95},{x:351.1,y:143.7},{x:348,y:145.9},{x:341.85,y:149.4},{x:333.15,y:152.05},{x:319.5,y:153.95},{x:284.45,y:156.4},{x:276.175,y:156.95},{x:265.75,y:157.6},{x:257.6,y:158.25},{x:244.15,y:155.25},{x:241.2,y:155.25},{x:233.9,y:157.4},{x:231.95,y:164.55},{x:231.35,y:167.2},{x:228.7,y:166.7},{x:228.05,y:163.05},{x:227.35,y:160.55},{x:224.8,y:161.15},{x:223.65,y:165.85},{x:222.65,y:168.4},{x:221.25,y:172.55},{x:220.9,y:173.75},{x:219.7,y:175.6},{x:219.2,y:179.6},{x:218.05,y:190.5},{x:218.05,y:193.15},{x:220.2,y:203.15},{x:219.65,y:204.65},{x:217.35,y:206.1},{x:216,y:207.65},{x:213.9,y:210.75},{x:213.05,y:211.6},{x:211.9,y:211.8},{x:211.55,y:212.15},{x:211.45,y:212.75},{x:211.45,y:213.9},{x:212.75,y:216.55},{x:212.75,y:217.5},{x:212.525,y:217.525},{x:212.45,y:217.2},{x:212.1,y:216.85},{x:211,y:216.85},{x:208.65,y:218.3},{x:205.05,y:219.4},{x:203.4,y:220.25},{x:201.05,y:221.3},{x:199.25,y:220.15},{x:198.3,y:220.15},{x:195.85,y:222.15},{x:195.05,y:222.15},{x:193.05,y:220.85},{x:192.25,y:220.85},{x:190.75,y:222.15},{x:188.3,y:222.15},{x:187.55,y:219},{x:187.55,y:215.65},{x:188.25,y:210.5},{x:188.25,y:209.4},{x:184.85,y:207.15},{x:178.85,y:205.95},{x:174.5,y:205.95},{x:170.7,y:204.6},{x:166.05,y:204.6},{x:162.8,y:203.55},{x:162.7,y:201.55},{x:162.85,y:199.65},{x:161.9,y:197.55},{x:158.75,y:196.2},{x:155.95,y:195.95},{x:151.35,y:196.05},{x:148.5,y:196},{x:142.8,y:194.725},{x:140.55,y:194.3},{x:134.6,y:196},{x:125.3,y:196.3},{x:118.8,y:199.25},{x:110.1,y:203.45},{x:106.15,y:218.4},{x:104.8,y:224.45},{x:104.8,y:237.35},{x:110.05,y:247.25}]];
*/
/*
//バイク
private var sample_AE:Array = [[{x:182.65,y:372.2453125},{x:182.65,y:376.75},{x:189.4,y:382.45},{x:195.9,y:386.45},{x:203.5,y:389.65},{x:212.5,y:392.85},{x:216.9056640625,y:393.7953125},{x:221.0560546875,y:394.05},{x:224.278125,y:394.05},{x:228.2376953125,y:393.7587890625},{x:234.25,y:392.85},{x:243.2,y:391.05},{x:250.1,y:388.35},{x:257.6,y:383.5},{x:257.6,y:377.65},{x:256.75,y:375.05},{x:254.375,y:374.15},{x:251.65,y:376.75},{x:245.3,y:381.05},{x:237.65,y:383.95},{x:229.65,y:385.9},{x:223.25,y:385.9},{x:216.2,y:385.3},{x:208.85,y:383},{x:201.85,y:379.65},{x:195.75,y:374.7},{x:190.3,y:368.9},{x:187.55,y:364.675},{x:185.4974609375,y:365.211328125}],
[{x:173.822265625,y:323.8068359375},{x:172.35,y:328.35},{x:170.8,y:335.8},{x:170.775,y:341.85},{x:170.75,y:345.05},{x:172.1,y:347.25},{x:179.225,y:350.95},{x:182.2,y:349.2},{x:181.7,y:344.8},{x:182.15,y:337.2},{x:184.4,y:329.45},{x:187.3,y:322.25},{x:191.75,y:315.25},{x:196.55,y:309.25},{x:202.7,y:304.45},{x:209.6,y:300.65},{x:214.45,y:299.45},{x:213.5,y:295.05},{x:207.95,y:290.85},{x:201.45,y:293.8},{x:195,y:297.4},{x:188.812109375,y:302.25},{x:183.91171875,y:306.958984375},{x:180.8947265625,y:310.865234375},{x:178.5833984375,y:314.1521484375}],
[{x:271.503515625,y:339.837109375},{x:273.85,y:342.05},{x:273.85,y:343.75},{x:274.5,y:348.75},{x:274.5,y:351.1},{x:273.4,y:356.1},{x:270.6,y:360.3},{x:267,y:360.3},{x:265.75,y:359.7},{x:264.65,y:359.5},{x:263.85,y:361.1},{x:266.35,y:362.8},{x:273.05,y:362.8},{x:277.4,y:356.3},{x:279.45,y:348.8},{x:279.45,y:339.55},{x:278.05,y:331.3},{x:276.05,y:323.1},{x:274.5,y:319.55},{x:273.7,y:321.1},{x:274.5,y:322.2},{x:275.75,y:323.45},{x:275.75,y:325.35},{x:272,y:329.7},{x:272,y:331.25},{x:272.9466796875,y:332.706640625},{x:273.25,y:333.8009765625},{x:273.25,y:334.217578125}],
[{x:271.503515625,y:339.837109375},{x:273.85,y:342.05},{x:273.85,y:343.75},{x:274.5,y:348.75},{x:274.5,y:351.1},{x:273.4,y:356.1},{x:270.6,y:360.3},{x:267,y:360.3},{x:265.75,y:359.7},{x:264.65,y:359.5},{x:263.85,y:361.1},{x:266.35,y:362.8},{x:273.05,y:362.8},{x:277.4,y:356.3},{x:279.45,y:348.8},{x:279.45,y:339.55},{x:278.05,y:331.3},{x:276.05,y:323.1},{x:274.5,y:319.55},{x:273.7,y:321.1},{x:274.5,y:322.2},{x:275.75,y:323.45},{x:275.75,y:325.35},{x:272,y:329.7},{x:272,y:331.25},{x:272.9466796875,y:332.706640625},{x:273.25,y:333.8009765625},{x:273.25,y:334.217578125}],
[{x:281.7197265625,y:148.6841796875},{x:281.25,y:149.75},{x:281.95,y:151.1},{x:283.95,y:155.65},{x:287,y:158.5},{x:289.25,y:155.4},{x:293.45,y:151.7},{x:296.95,y:151.7},{x:297.25,y:151.85},{x:296.95,y:145.45},{x:296.15,y:143.775},{x:293,y:144.5},{x:289.2681640625,y:145.6681640625}],
[{x:268.25,y:163.38984375},{x:268.25,y:164.8},{x:262.6,y:169.8},{x:262.6,y:171.45},{x:263.85,y:174.9},{x:265.1,y:175.45},{x:266.6,y:175.65},{x:267,y:177},{x:267,y:178.85},{x:265.75,y:177.6},{x:265.75,y:178.85},{x:266.75,y:180.7},{x:271.85,y:184.45},{x:273.575,y:184.525},{x:272.9,y:182.4},{x:270.1,y:174.8},{x:270.1,y:172.7},{x:271,y:168.8},{x:276.5,y:164.2},{x:282,y:162},{x:278.35,y:154.75},{x:277.3,y:151.85},{x:277.9,y:149.9},{x:275.75,y:150.75},{x:269.4,y:154.55},{x:267.321484375,y:156.306640625}],
[{x:568,y:358.65546875},{x:568,y:360.7},{x:569.8,y:364},{x:575.3,y:369.9},{x:581.65,y:374.9},{x:589.8,y:380.3},{x:595.35,y:381.6},{x:601.1,y:383.35},{x:609,y:385.3},{x:614.05,y:385.225},{x:617.85,y:384.9},{x:626.1,y:383.6},{x:633.25,y:381.3},{x:641.7,y:377},{x:641.7,y:371.85},{x:640.95,y:369.5},{x:640.2,y:368.75},{x:638.05,y:366.15},{x:633.2,y:362.15},{x:632.275,y:362.15},{x:631.45,y:362.2},{x:628.15,y:363.75},{x:621.8,y:366.55},{x:616.575,y:366.525},{x:613.3,y:366.25},{x:605.6,y:364.1},{x:600.2,y:361.25},{x:596.45,y:358.1},{x:593.45,y:357},{x:590.05,y:356.35},{x:582.65,y:355.2},{x:580.15,y:354.45},{x:574.7,y:352.2},{x:573.3048828125,y:352.2}],
[{x:512.5056640625,y:284.53515625},{x:518.75,y:285.05},{x:515.55,y:282.85},{x:512.456640625,y:282.85}],
[{x:498.7,y:270.3009765625},{x:509,y:267.25},{x:520.35,y:264.55},{x:524.6,y:268.6},{x:525.55,y:270.5},{x:525.55,y:276.15},{x:524.45,y:277.95},{x:522.85,y:280.25},{x:528.2,y:284.65},{x:529.95,y:285.375},{x:531.45,y:286.05},{x:538.8,y:286.4},{x:540.125,y:286.275},{x:541.6,y:284.15},{x:546.55,y:277.55},{x:552.3,y:271.25},{x:557.9,y:265.95},{x:560.4,y:262.35},{x:554.35,y:256.65},{x:549.45,y:252.2},{x:541.9,y:246.25},{x:535.825,y:250.875},{x:527.65,y:262.85},{x:526.45,y:262.85},{x:523.4,y:262.1},{x:518.65,y:261.8},{x:511.2,y:261.85},{x:503.25,y:262.25},{x:499.9427734375,y:264.1357421875}],
[{x:631.825,y:307.12265625},{x:635.65,y:309.35},{x:641.65,y:314.55},{x:646,y:321.35},{x:649.2,y:328.95},{x:649.2,y:334},{x:648.75,y:337.9},{x:647.35,y:342.6},{x:644.85,y:349.65},{x:644.85,y:350.65},{x:646.15,y:352.5},{x:650.15,y:356.35},{x:652.8,y:358.9},{x:653.4,y:359.05},{x:656,y:359.05},{x:659.3,y:357.45},{x:663.15,y:351.05},{x:665.2,y:342.55},{x:666.7,y:333.6},{x:666.7,y:325.25},{x:664.3,y:317.4},{x:661.15,y:310.45},{x:656.7,y:303.3},{x:652.55,y:297.45},{x:648.75,y:293.575},{x:644.6,y:294.3},{x:640.85,y:296.45},{x:641.4,y:300.3},{x:638.15,y:302.3},{x:631.45,y:302.2}],
[{x:573.025,y:245.525},{x:575.4,y:251.3},{x:578.225,y:253.9},{x:582.45,y:249.4},{x:584.45,y:247.3},{x:587.7,y:247.575},{x:588.95,y:249.45},{x:588.3,y:250.7},{x:592.5,y:249.85},{x:601,y:247.55},{x:603.6,y:247.2},{x:607.35,y:247.25},{x:615.05,y:247.25},{x:621.7,y:247.7},{x:629.95,y:249},{x:638.4,y:250.8},{x:658.275,y:244.45},{x:673.825,y:236.25},{x:670.9,y:233.2},{x:666.9,y:230},{x:657.025,y:230.4},{x:647.35,y:228.95},{x:645,y:228.35},{x:637.75,y:228.3},{x:636.1,y:222.325},{x:636.35,y:216.4},{x:638.9,y:214.8},{x:643.1,y:215.15},{x:642.525,y:214.5},{x:632.05,y:212.3},{x:630.5,y:212.3},{x:623.6,y:214.95},{x:608.325,y:221.875},{x:593.35,y:229},{x:589.05,y:231.4},{x:586.7,y:233.2},{x:583.2,y:238.65},{x:581.725,y:239.85},{x:579.75,y:240.15},{x:574.318359375,y:240.59375}],
[{x:204.186328125,y:169.862890625},{x:198.9,y:177.15},{x:196.825,y:179.475},{x:190.85,y:186.3},{x:179.9,y:201.9},{x:179.9,y:207.65},{x:182.35,y:210.55},{x:194.8,y:212.05},{x:194.15,y:213.05},{x:192.4,y:213.7},{x:191.65,y:215.75},{x:188.15,y:224.25},{x:188.5,y:227.6},{x:195.9,y:228.1},{x:198.8,y:227.55},{x:207.8,y:226.45},{x:210.35,y:228.45},{x:214.15,y:232.7},{x:218.2,y:238.7},{x:221.75,y:243.8},{x:224.575,y:248.05},{x:230.75,y:251.9},{x:223,y:254.05},{x:209.3,y:254.9},{x:194.25,y:257.7},{x:180.25,y:263.85},{x:175.25,y:269.4},{x:179.6,y:271.25},{x:177,y:273.75},{x:167.45,y:280.1},{x:156.7,y:291.35},{x:148.4,y:304.65},{x:142.55,y:319.35},{x:139.35,y:334.8},{x:139.35,y:346.05},{x:142.25,y:361.45},{x:145,y:369.4},{x:148.65,y:378.45},{x:155.9697265625,y:389.70859375},{x:161.1947265625,y:395.580859375},{x:168.25,y:402.6},{x:181.4,y:411.15},{x:195.95,y:416.9},{x:211.65,y:419.9},{x:220.075,y:419.9},{x:228.95,y:419.75},{x:244.25,y:417.1},{x:259.1,y:411.8},{x:272.5,y:404},{x:280.8923828125,y:396.46796875},{x:286.210546875,y:390.7861328125},{x:293.4,y:380.9},{x:299.9,y:366.8},{x:303.7,y:351.75},{x:305.15,y:336.25},{x:305.25,y:329.25},{x:307.25,y:335.7},{x:308.85,y:342.8},{x:309.85,y:354.025},{x:309.5,y:362.15},{x:307.95,y:369.8},{x:307.95,y:372.8},{x:310.85,y:377.25},{x:362.925,y:376.175},{x:416.175,y:375.325},{x:423.35,y:374.8},{x:426.15,y:373.7},{x:428,y:371.8},{x:429.75,y:371.8},{x:434.75,y:373.7},{x:438.85,y:373.7},{x:444.45,y:372.4},{x:455.8,y:369.35},{x:464.7,y:369.475},{x:466.7,y:370.05},{x:475.35,y:372.15},{x:483.45,y:371.8},{x:484.5,y:372.45},{x:486.55,y:372.45},{x:489.55,y:370.1},{x:492.4,y:366.85},{x:492.8,y:364.35},{x:495.15,y:362.45},{x:497.6,y:362.05},{x:508.8,y:355.25},{x:518.8,y:349.3},{x:525.75,y:351},{x:529.65,y:363.35},{x:536.75,y:377.25},{x:545.8337890625,y:389.073046875},{x:551.5111328125,y:394.353125},{x:557.9,y:400.05},{x:571.1,y:408.15},{x:585.6,y:413.8},{x:601.2,y:416.8},{x:615.3,y:416.8},{x:629.2,y:415.15},{x:644.45,y:410.85},{x:658.65,y:404.2},{x:668.7076171875,y:397.0052734375},{x:674.5046875,y:391.790234375},{x:682.05,y:383.8},{x:690.35,y:370.45},{x:695.75,y:355.85},{x:698.3,y:340.5},{x:698.3,y:325.65},{x:695.35,y:310.55},{x:689.75,y:295.8},{x:681.95,y:282.25},{x:679.75,y:274.8},{x:691.6,y:269.2},{x:698,y:265.8},{x:702.4,y:262.15},{x:702.25,y:258.25},{x:701.425,y:255.025},{x:706.15,y:252.55},{x:711.35,y:251.4},{x:712.05,y:249.3},{x:711.975,y:245.625},{x:711.3,y:240.35},{x:708.15,y:231.95},{x:704.4,y:231.95},{x:695.925,y:234.5},{x:688.9,y:231.3},{x:683.95,y:216.925},{x:686.05,y:209.2},{x:687.05,y:206.8},{x:687.05,y:201.75},{x:684,y:198.85},{x:680.8,y:191.35},{x:680.8,y:187.75},{x:680.6,y:185.95},{x:680.7,y:184.775},{x:682.6,y:183.6},{x:692.5,y:177.7},{x:694.7,y:175.875},{x:695.7,y:173.15},{x:699.25,y:163.15},{x:698.275,y:160.75},{x:697.35,y:159.15},{x:700.8,y:153.4},{x:700.8,y:151.35},{x:700.5,y:151.05},{x:696.1,y:150.75},{x:678.925,y:152.3},{x:664.8,y:153.85},{x:660.15,y:152},{x:658.45,y:152},{x:646.25,y:153.15},{x:627.55,y:155.3},{x:613.75,y:157.1},{x:598.25,y:159.5},{x:581.3,y:162.75},{x:571.55,y:165.5},{x:567.5,y:171.7},{x:566,y:179.3},{x:561.15,y:182.45},{x:550.9,y:184.925},{x:534.7,y:188.1},{x:517.55,y:191.2},{x:502.7,y:193.4},{x:487.95,y:194.85},{x:478.1,y:190.4},{x:469.55,y:178.6},{x:458.3,y:166.9},{x:444.5,y:156.9},{x:433.75,y:155.7},{x:424.7,y:155},{x:415.25,y:155.1},{x:413.775,y:155.1},{x:401.8,y:155.2},{x:395.4,y:156.75},{x:390.65,y:158.8},{x:385.45,y:160.05},{x:376.2,y:161.35},{x:365.45,y:162.65},{x:354.7,y:164},{x:339.85,y:167.55},{x:332.4,y:171.1},{x:330.75,y:173.55},{x:327.65,y:172.6},{x:323.7,y:170.65},{x:322,y:168.2},{x:319.8,y:163.2},{x:317.15,y:159.8},{x:312.9,y:157.45},{x:308.6,y:153.875},{x:309.45,y:151.55},{x:309.85,y:150.4},{x:309.35,y:146.85},{x:308.45,y:142.5},{x:309.2,y:140.85},{x:310.45,y:139.3},{x:310.45,y:136.45},{x:307.5,y:135.7},{x:308.45,y:133.75},{x:313.6,y:128.8},{x:318.55,y:121.65},{x:318.55,y:118.5},{x:315.4,y:115.65},{x:313.4,y:112.1},{x:309.35,y:109.4},{x:301.35,y:105.5},{x:295.8,y:101.35},{x:293.2,y:97.675},{x:290.1,y:98},{x:280.45,y:104.75},{x:275.95,y:106.25},{x:271.4,y:107.95},{x:268.65,y:110.375},{x:260.5,y:116.35},{x:248.75,y:125.4},{x:236.15,y:135.95},{x:227.65,y:143.6},{x:219.85,y:152.75},{x:215.15,y:158.2},{x:210.7306640625,y:161.9236328125}]];
*/
//
private var sample_AE:Array = [[{x:128.1,y:290.2},{x:118.1,y:302.1},{x:112.65,y:321.65},{x:115.25,y:340.3},{x:125.9,y:354.05},{x:134.7,y:360.45},{x:137.7,y:362.1},{x:140.85,y:364.35},{x:149.05,y:373.75},{x:153.15,y:390.3},{x:160.7,y:405.05},{x:177,y:415.95},{x:196.45,y:415.35},{x:207.65,y:410.35},{x:211.55,y:408.15},{x:226.45,y:400.6},{x:236.15,y:400.6},{x:246.45,y:404},{x:256.75,y:409.4},{x:265.1,y:413.4},{x:280.9,y:417},{x:299.1,y:410.95},{x:311.85,y:394.6},{x:315.25,y:380.5},{x:319.9,y:369.65},{x:327.35,y:362.45},{x:331.45,y:360.1},{x:339,y:354.95},{x:349.9,y:342.05},{x:353.75,y:322.95},{x:348.85,y:305.35},{x:339.75,y:290.85},{x:324.75,y:282.4},{x:314.7,y:280.7},{x:309.8,y:280.45},{x:300.5,y:279.05},{x:285.5,y:272.1},{x:274.6,y:258.75},{x:261.6,y:247.7},{x:245.55,y:241.25},{x:235.775,y:240.475},{x:231.65,y:240.25},{x:224.5,y:240.7},{x:210.1,y:244.6},{x:193.65,y:256},{x:181.2,y:271.25},{x:167.1,y:278.7},{x:157.15,y:280.1},{x:152.7,y:280.35},{x:145.1,y:281.5},{x:139.65,y:283.65}]];
public function DrawTest() {
super();
//サンプルデータを座標リストに反映
var i:int;
var j:int;
for(i=0; i<sample_AE.length; i++) {
var list:Array = sample_AE[i];
addRoot();
for(j=0; j<list.length; j++) {
addNode(list[j].x, list[j].y);
}
}
}
public function setup():void {
size( stage_width, stage_height );
background( 0 );
noFill();
stroke( 255, 0.1 );
//timer start
_startTime = getTimer();
}
public function draw():void {
background( 0, 1 );//塗りつぶし
var len:int = _pointListList.length;
var _list:Array;
var j:int;
var _listlen:int;
var nx:Number;
var ny:Number;
var dist:Number;
var i:int;
//stroke( 255*random(0.8,1.0), 255*random(0.4,1.0), 255*random(0,1.0), 0.4 );
stroke( 255, 255, 255, 0.5 );
var x1:Number, y1:Number, x2:Number, y2:Number, x3:Number, y3:Number, x4:Number, y4:Number;
for(i=0; i<len; i++) {
_list = _pointListList[i];
_listlen = _list.length;
if(_listlen>0) {
for(j=0;j<_listlen;j++) {
//curveVertex( _list[j].x+random(20,-20), _list[j].y+random(20,-20) );
if(_list[j].lifeCnt<15000) {
//if(_list[j].lifeCnt<50) {
pushMatrix();
translate( _list[j].x, _list[j].y );
rotate(_list[j].r);
beginShape();
var ramx:Number = random(-10,10);
//描画の場合
/*x1 = 0;
y1 = 0;
x2 = ramx+random(-4,4);
y2 = 10*random(-2,2);
x3 = ramx+random(-4*_list[j].vect,4*_list[j].vect);
y3 = 10+random(10*_list[j].vect,12*_list[j].vect);
x4 = ramx+random(-4*_list[j].vect,4*_list[j].vect);
y4 = 10+random(30*_list[j].vect,60*_list[j].vect);
x1 = x1/2;
y1 = y1/2;
x2 = x2/random(1,2);
y2 = y2/random(2,4);
x3 = x3/random(1,2);
y3 = y3/random(2,4);
x4 = x4/random(1,2);
y4 = y4/random(2,4);
*/
// x1 = x1/8;
// y1 = y1/8;
// x2 = x2/random(4,8);
// y2 = y2/random(8,16);
// x3 = x3/random(4,8);
// y3 = y3/random(8,16);
// x4 = x4/random(4,8);
// y4 = y4/random(8,16);
//アニメの場合
x1 = 0;
y1 = 0;
x2 = 5*sin( _list[j].lifeCnt*Math.PI/180);
y2 = 2*_list[j].vect;
x3 = 10*cos( _list[j].lifeCnt*Math.PI/180);
y3 = 5*_list[j].vect;
x4 = 20*sin( _list[j].lifeCnt*Math.PI/180);
y4 = 10*_list[j].vect;
//A
/*
strokeWeight(4);
curveVertex( x1, y1 );
strokeWeight(3);
curveVertex(x2,y2);
strokeWeight(2);
curveVertex(x3,y3);
strokeWeight(1);
curveVertex(x4,y4);
*/
//B
strokeWeight(4);
line(x1,y1,x2,y2);
strokeWeight(2);
line(x2,y2,x3,y3);
strokeWeight(1);
line(x3,y3,x4,y4);
//C
/*
strokeWeight(1);
curve(x1,y1,x2,y2,x3,y3,x4,y4);
*/
endShape();
popMatrix();
_list[j].lifeCnt++;
}
//_paintField.graphics.lineTo(_list[j].x, _list[j].y);
}
}
}
}
public function mousePressed():void {
addRoot();
}
public function mouseReleased():void {}
public function mouseMoved():void {
if (isMousePressed == true) {
addNode(_field.mouseX, _field.mouseY);
}
}
/**
* node Action
*/
private function addRoot():void {
_currentListIndex = _pointListList.length;
_pointListList.push(new Array());
}
private function addNode(px:Number, py:Number):void {
var _list:Array = _pointListList[_currentListIndex];
_list.push(new LinePoint(px, py));
var i:int = _list.length-1;
_list[i].color = _col;
if(_list[i-1]) {
var _pt:LinePoint = _list[i];
var _dx:Number = _list[i].x - _list[i-1].x;
var _dy:Number = _list[i].y - _list[i-1].y;
var _distance:Number = Math.sqrt(_dx*_dx+_dy*_dy);
_pt.vx = _list[i].x - _list[i-1].x;
_pt.vy = _list[i].y - _list[i-1].y;
_pt.genRotation();
_pt.genVect();
}
}
}
}
import flash.display.Sprite;
import flash.geom.Point;
class LinePoint extends Point {
public var vx:Number, vy:Number, r:Number, lifeCnt:int;
public var vect:Number;
public var spectrum:Number = 0;
public var color:Number;
public function LinePoint(x:Number=0, y:Number=0) {
super(x,y);
lifeCnt = 0;
}
public function genRotation():void {
r = Math.atan2(vy, vx);
}
public function genVect():void {
vect = Math.sqrt(vx*vx+vy*vy);
}
}