forked from: 粒子あやつる forked from: 流体パーティクル
--------------------------------------------------------------------------------//
ForceMap2の改造版。スペースキーで粒子の軌道を入れ替えます。
--------------------------------------------------------------------------------//
↑ ↑ ↑ ↑ forked ↑ ↑ ↑ ↑
--------------------------------------------------------------------------------//
http://wonderfl.net/code/23f89f2a5e8d9df21c8a72210c2a22c9c7490600
via StreamLine
http://gofar2.iobb.net/~htaka/wordpress/archives/953
フォースマップをマウスドラッグでいじります。
粒子はマウスから発生して、フォースマップに従って流れていきます。
スペースキーを押すと粒子表示/フォースマップ編集が切り替わります。
フォースマップ編集時には前に描いたフォースマップはリセットされます。
--------------------------------------------------------------------------------//
package
{
//--------------------------------------------------------------------------------//
// ForceMap2の改造版。スペースキーで粒子の軌道を入れ替えます。
//--------------------------------------------------------------------------------//
// ↑ ↑ ↑ ↑ forked ↑ ↑ ↑ ↑
//--------------------------------------------------------------------------------//
// forked from 流体パーティクル
// http://wonderfl.net/code/23f89f2a5e8d9df21c8a72210c2a22c9c7490600
// via StreamLine
// http://gofar2.iobb.net/~htaka/wordpress/archives/953
//
// フォースマップをマウスドラッグでいじります。
// 粒子はマウスから発生して、フォースマップに従って流れていきます。
// スペースキーを押すと粒子表示/フォースマップ編集が切り替わります。
// フォースマップ編集時には前に描いたフォースマップはリセットされます。
//--------------------------------------------------------------------------------//
import frocessing.display.F5MovieClip2DBmp;
[SWF(width="465", height="465", frameRate="30")]
public class ForceMap3 extends F5MovieClip2DBmp
{
private var vectorF:VectorField;
private var strokeColor:Number;
private var numOfLine:int = 100;
private var myParticle:Array;
private var drawflg:int = 0;
private var arr1:Array = [
[{vecX:-0.003666267831983114, vecY:-0.0033002865808013757}, {vecX:-0.0031305727042844744, vecY:-0.0004190655767243838}, {vecX:-0.0007803055815229355, vecY:-0.0016729521202656526}, {vecX:0.001065567655643743, vecY:-0.000040848233240374564}, {vecX:-0.0005602143774516063, vecY:-0.0065505560582331925}, {vecX:-0.006265072811983663, vecY:-0.012755776205443714}, {vecX:-0.015089519924407782, vecY:-0.013884592649759733}, {vecX:-0.02954654239054983, vecY:-0.006949072497184189}, {vecX:-0.04244335364188303, vecY:0.008255539912130147}, {vecX:-0.03559196952012205, vecY:0.019335237225999516}, {vecX:-0.023310408755786986, vecY:0.018861070662264025}, {vecX:-0.02675721879732498, vecY:0.017981454178382077}, {vecX:-0.01704541250251034, vecY:0.026858323822163216}, {vecX:-0.004622571872288853, vecY:0.02717933035508511}, {vecX:0.004027224439225615, vecY:0.015093975648076347}, {vecX:0.005959936445569805, vecY:0.0006899404468761918}, {vecX:0.0001651224151224537, vecY:-0.002342576732905432}, {vecX:-0.00018458799130632422, vecY:-0.004595015419310375}, {vecX:0.0030866215208221054, vecY:-0.003364184596176777}, {vecX:0.0037625372576505123, vecY:-0.006422366986900828}, {vecX:0.003184238332165547, vecY:-0.003095931590192969}, {vecX:0.0027097482949894184, vecY:-0.005675151545695485}, {vecX:0.0021714186918366024, vecY:-0.0012466940184384168}, {vecX:0.003798107995763651, vecY:-0.0048129142134838935}, ],
[{vecX:0.00005482793594002923, vecY:-0.002267503217590996}, {vecX:0.0019396219916345428, vecY:0.0009686402434583844}, {vecX:0.004193398726971548, vecY:0.0015433859176501282}, {vecX:0.009168921186538542, vecY:0.003564209425577525}, {vecX:0.01725791163377362, vecY:-0.0036924053029113724}, {vecX:0.027110555706568444, vecY:-0.011466141322502761}, {vecX:0.015116504620103367, vecY:-0.03599272573158989}, {vecX:-0.029403463076720416, vecY:-0.04381792957831986}, {vecX:-0.05919754605073257, vecY:0.010350381189885013}, {vecX:-0.033948231624805245, vecY:0.04204813908467129}, {vecX:-0.011798368870002704, vecY:0.04868605179660952}, {vecX:-0.02155972956512208, vecY:0.041496901178319785}, {vecX:-0.030935738211727716, vecY:0.04142962295881272}, {vecX:0.0015066960502502652, vecY:0.040536292913923876}, {vecX:0.02121033008866589, vecY:0.02873222229078016}, {vecX:0.013138692238701382, vecY:0.005061416052467861}, {vecX:-0.005051334775785739, vecY:0.002039086564122815}, {vecX:0.0017520394992945794, vecY:-0.002523014847687079}, {vecX:0.000886043628389356, vecY:-0.003030971526576872}, {vecX:-0.0007900942936767286, vecY:-0.0077558022417384}, {vecX:-0.0021025397412513056, vecY:-0.0036532407084149203}, {vecX:-0.0018655267623398605, vecY:-0.005355319485738203}, {vecX:-0.0009757840503576129, vecY:-0.001215112969566269}, {vecX:-0.001132257114021413, vecY:-0.0033742790220927833}, ],
[{vecX:-0.001184890611859214, vecY:-0.0008448406836774307}, {vecX:0.00035515673828162835, vecY:0.0029708191153801663}, {vecX:0.0026909079382864054, vecY:0.004130734981070126}, {vecX:0.0067507742928179315, vecY:0.010012249176256047}, {vecX:0.028432098247198338, vecY:0.019629869348025592}, {vecX:0.036819371335613596, vecY:0.01908242368035244}, {vecX:0.011065646525121002, vecY:0.021275225495238397}, {vecX:-0.03687339416054902, vecY:0.04966869764123414}, {vecX:-0.10767985784884543, vecY:0.0015510568688559482}, {vecX:-0.08095427275598664, vecY:0.05231999053786882}, {vecX:-0.022835312106663185, vecY:0.06211854601707335}, {vecX:-0.02836427824767414, vecY:0.058482076138083774}, {vecX:-0.03520988839879267, vecY:0.049257113670654364}, {vecX:-0.0031382743768674066, vecY:0.04146120878478549}, {vecX:0.04341729397729821, vecY:0.03154806539151003}, {vecX:0.01746739301445498, vecY:0.023464307601943325}, {vecX:0.002898950315391677, vecY:0.0230374002573747}, {vecX:0.014833303567499616, vecY:0.0015915313022889321}, {vecX:0.007491854551223046, vecY:-0.008548677636385506}, {vecX:0.00037556134789664157, vecY:-0.011030527257322283}, {vecX:-0.0011061066783742486, vecY:-0.0031726291666765273}, {vecX:0.0001386860657846307, vecY:-0.0043541253044062835}, {vecX:0.0010648596080037268, vecY:-0.00040039089669685797}, {vecX:0.0018139610898694632, vecY:-0.003596372676760261}, ],
[{vecX:0.0017553825809220047, vecY:0.000846494544222481}, {vecX:0.004903938624061553, vecY:0.005968087280760644}, {vecX:0.006690865337871724, vecY:0.005256144729504594}, {vecX:0.006936242742165091, vecY:0.013192083186646483}, {vecX:0.014413136173433422, vecY:0.047545815884914175}, {vecX:0.009538607076269858, vecY:0.11553837615706336}, {vecX:0.013620605554981206, vecY:0.18869981340938607}, {vecX:0.006090425859113635, vecY:0.18091454196920292}, {vecX:-0.04896583997494775, vecY:0.16207331855423868}, {vecX:-0.09056382458609008, vecY:0.07464459262370114}, {vecX:-0.035619268653011384, vecY:0.07196618991668578}, {vecX:-0.018359768280066215, vecY:0.052673468869589006}, {vecX:-0.03736984239752582, vecY:0.04166334429235972}, {vecX:-0.00750597690893515, vecY:0.026591735487430376}, {vecX:0.036981596173990536, vecY:0.04155186202756553}, {vecX:0.0008065375915142307, vecY:0.04933409495842234}, {vecX:0.018253034233501993, vecY:0.04523843573185604}, {vecX:0.037015824884752246, vecY:0.014719719946650866}, {vecX:0.01396878522701246, vecY:-0.003863747330647924}, {vecX:-0.014190889641175793, vecY:-0.010131075182318922}, {vecX:-0.007614805425768422, vecY:0.0010223349474566036}, {vecX:-0.0033644724737499406, vecY:-0.003053963722362051}, {vecX:-0.0018978449230538635, vecY:0.000692248614174096}, {vecX:-0.0015736615944238657, vecY:-0.0036157273771354782}, ],
[{vecX:0.0012383448284661233, vecY:0.004132589806657425}, {vecX:0.003801640138877102, vecY:0.008393843371876222}, {vecX:0.010471135503765909, vecY:0.011286810717088001}, {vecX:0.014747258060182232, vecY:0.011682917159772772}, {vecX:-0.021386041164615607, vecY:0.020432474594098457}, {vecX:-0.07522487935446323, vecY:0.0936069147943354}, {vecX:-0.05827824799870668, vecY:0.20118792038635055}, {vecX:0.09286577707976652, vecY:0.2643340017866343}, {vecX:0.008268075513075969, vecY:0.2235846924742603}, {vecX:-0.03163895491993901, vecY:0.13938139518782725}, {vecX:-0.027203316868277563, vecY:0.07568051695083793}, {vecX:-0.01911750777418303, vecY:0.03523083669539147}, {vecX:-0.02253503075157809, vecY:0.023491576037241897}, {vecX:-0.008710217300185846, vecY:0.0026003996613011126}, {vecX:0.00008413898179443382, vecY:0.024796429755011236}, {vecX:0.007513758140439536, vecY:0.040445264164358154}, {vecX:0.02131364621988039, vecY:0.04536088056871851}, {vecX:0.07655739847578776, vecY:0.026226612174924405}, {vecX:0.023068602728606235, vecY:0.007620487564540982}, {vecX:-0.015710122012849558, vecY:0.004363519253635078}, {vecX:-0.0026461370827517753, vecY:0.006167809657007784}, {vecX:0.0002569518577852203, vecY:-0.0010460165393577515}, {vecX:0.002117046258529472, vecY:0.0020110233826101352}, {vecX:0.0019029765849486917, vecY:-0.004824388490522298}, ],
[{vecX:0.0029467934801119, vecY:0.007596649791130663}, {vecX:0.00721190306151116, vecY:0.011758188279213221}, {vecX:0.008408821373292802, vecY:0.01578887948642145}, {vecX:0.018446351302931246, vecY:0.021494500876494106}, {vecX:-0.04722471148939773, vecY:0.0713846754439746}, {vecX:-0.14443412582345885, vecY:0.08078922477067853}, {vecX:-0.09711321606452175, vecY:0.13119557688221953}, {vecX:0.009498480460599971, vecY:0.16194627694304553}, {vecX:0.07679714483974416, vecY:0.16327834543947606}, {vecX:0.0211313848321193, vecY:0.09838570976394716}, {vecX:0.0032548003067934266, vecY:0.05421945882460122}, {vecX:-0.013644103011572267, vecY:0.008789758063039978}, {vecX:-0.020678241406711956, vecY:-0.002102955037521563}, {vecX:-0.020553445664700798, vecY:-0.011440390304912238}, {vecX:-0.02541390513413309, vecY:-0.0047987157354695996}, {vecX:-0.016502176452091677, vecY:0.001720863353854112}, {vecX:0.01743443671782351, vecY:0.01778912426542905}, {vecX:0.07995443615516287, vecY:0.02097055627280389}, {vecX:0.020634460986392954, vecY:0.03844207464167489}, {vecX:-0.01051602242806114, vecY:0.020367512286252908}, {vecX:-0.0018837889981971475, vecY:0.011860034984351755}, {vecX:0.0016065817180152817, vecY:-0.00034478220995229846}, {vecX:-0.0002514243552016227, vecY:0.0013118773807320224}, {vecX:0.00019271065531298358, vecY:-0.0038951771517103558}, ],
[{vecX:0.0016930724420149488, vecY:0.006909278970924512}, {vecX:0.00025766965741490304, vecY:0.015275265896218592}, {vecX:0.011513990597681932, vecY:0.024725041121464748}, {vecX:-0.029620387509360028, vecY:0.08801664536650543}, {vecX:-0.11627916961372063, vecY:0.17064857259700134}, {vecX:-0.166435472397279, vecY:0.2803507963017036}, {vecX:-0.06730897044371582, vecY:0.19955859979974647}, {vecX:0.03452520158172406, vecY:0.0935998206435543}, {vecX:0.072216957347092, vecY:0.06622556166455748}, {vecX:0.061929732155693515, vecY:0.05508188093525429}, {vecX:0.018591666071885678, vecY:0.025847260391518107}, {vecX:-0.005727231496402627, vecY:0.008632714070451117}, {vecX:-0.014943239166193821, vecY:-0.007019146527517522}, {vecX:-0.021937664927324543, vecY:-0.01915482928418571}, {vecX:-0.028907748697403382, vecY:-0.02187147601744211}, {vecX:-0.03110239543667868, vecY:-0.017084371217189222}, {vecX:0.011243585449492164, vecY:-0.000881935444509986}, {vecX:0.03844791528573611, vecY:0.03488258479614175}, {vecX:0.035867944890838985, vecY:0.05665894482277868}, {vecX:0.016622428955606994, vecY:0.0287279844876126}, {vecX:0.014848584036011843, vecY:0.010357951293260873}, {vecX:0.00726509381456523, vecY:-0.002935818024095586}, {vecX:0.003816602767600975, vecY:-0.0014035839253058392}, {vecX:0.001259610275074592, vecY:-0.00329257332768427}, ],
[{vecX:0.00514523393908443, vecY:0.005242332147063455}, {vecX:-0.0013221939385673544, vecY:0.009039382057827838}, {vecX:-0.015314443717860272, vecY:0.028224996120829637}, {vecX:-0.10593256587846292, vecY:0.08173921639756308}, {vecX:-0.20079163527747704, vecY:0.13602030631296297}, {vecX:-0.1665557708207586, vecY:0.14625672287548652}, {vecX:-0.0020390899297755526, vecY:0.139112695201176}, {vecX:0.09234937284255423, vecY:0.11672449682976066}, {vecX:0.08876110315915244, vecY:0.04614426752929048}, {vecX:0.0478549669886401, vecY:0.03551618497578794}, {vecX:0.013849557456834373, vecY:0.03194841277850156}, {vecX:-0.008356315826694645, vecY:0.02434237902987586}, {vecX:-0.016476925367146074, vecY:0.015524439158490616}, {vecX:-0.02404636256944963, vecY:-0.000523027258320346}, {vecX:-0.032123509599878475, vecY:-0.006701798974846373}, {vecX:-0.04484992953620983, vecY:-0.018301953661298127}, {vecX:-0.03332817236115293, vecY:0.013466573829086349}, {vecX:-0.00444787927507337, vecY:0.051625502237131846}, {vecX:0.043670232855147026, vecY:0.060897286613013774}, {vecX:0.04962582160664472, vecY:0.03297757546490496}, {vecX:0.029587440313816136, vecY:-0.0008023305766547415}, {vecX:0.0020236846850971864, vecY:-0.011138245682634731}, {vecX:-0.001522998380725769, vecY:-0.00019633037955391628}, {vecX:-0.0006204254200843541, vecY:-0.006154246405321168}, ],
[{vecX:0.009846155126973516, vecY:0.009499156251015122}, {vecX:0.006175652143954565, vecY:-0.0053553729067945715}, {vecX:-0.03903273224309229, vecY:-0.005160114027315459}, {vecX:-0.1338590599049896, vecY:0.020101637695915626}, {vecX:-0.2427609798444632, vecY:0.06291181563677004}, {vecX:-0.1572213871910643, vecY:0.06076356052937259}, {vecX:0.020865204708892648, vecY:0.03428817872828712}, {vecX:0.10338258286051363, vecY:0.004621988424919877}, {vecX:0.08125295441842173, vecY:0.03430380862359525}, {vecX:0.03289926566302686, vecY:0.0337473094271108}, {vecX:0.0026458782159568222, vecY:0.041401976722363475}, {vecX:-0.004754562263885426, vecY:0.03252123401813307}, {vecX:-0.011611039766542146, vecY:0.026697770664672296}, {vecX:-0.014020667170482913, vecY:0.014754567457139415}, {vecX:-0.025077974802758387, vecY:0.008187623203107819}, {vecX:-0.03860095062734422, vecY:-0.0017561065856855627}, {vecX:-0.06749648886729546, vecY:0.008985968184983092}, {vecX:-0.01686073391471945, vecY:0.0056193485125447026}, {vecX:0.04647296366169071, vecY:0.0229265263417526}, {vecX:0.10598903885537835, vecY:-0.016888213240222077}, {vecX:0.030003221918764117, vecY:-0.01751195136278379}, {vecX:-0.003280587111394072, vecY:-0.011604505710008917}, {vecX:-0.00031538670671869763, vecY:-0.0003115530133273037}, {vecX:0.0008324491660186213, vecY:-0.003988614938169043}, ],
[{vecX:0.01669168174698904, vecY:0.012233686541573459}, {vecX:0.023424773255650514, vecY:-0.005027314671710362}, {vecX:-0.08976151992129933, vecY:0.05366656930455985}, {vecX:-0.19029302137262483, vecY:0.11051897895442837}, {vecX:-0.22341018987122477, vecY:0.08841118343450617}, {vecX:-0.10572358250926853, vecY:0.04445033712549371}, {vecX:0.027655179673291605, vecY:0.003172426387842554}, {vecX:0.09389284093487753, vecY:0.01577971258993228}, {vecX:0.05735959939834432, vecY:0.023881032449163724}, {vecX:0.018005197094000232, vecY:0.03186903329345969}, {vecX:-0.0029465063956045402, vecY:0.034751230092871524}, {vecX:-0.011180668394805015, vecY:0.02353737816858227}, {vecX:-0.017575392375958503, vecY:0.02243042503041287}, {vecX:-0.018768913676974842, vecY:0.015418764386441745}, {vecX:-0.023112996153032236, vecY:0.013121530658127569}, {vecX:-0.04538313379137589, vecY:0.004128187988448569}, {vecX:-0.0612351826710946, vecY:-0.013693379512103879}, {vecX:-0.01137169161187104, vecY:-0.03732083606004853}, {vecX:0.06359856391685131, vecY:-0.08007725654266691}, {vecX:0.07907106877481095, vecY:-0.045376592794484104}, {vecX:0.01456043405565182, vecY:-0.00850834874203575}, {vecX:-0.01343534874601432, vecY:0.0006489891299332026}, {vecX:-0.003561052473141526, vecY:0.000274448824278739}, {vecX:-0.0010364902748850294, vecY:-0.0009022187047812793}, ],
[{vecX:0.03339097821171253, vecY:0.026384536674337856}, {vecX:-0.027497872954171894, vecY:0.04411843108620573}, {vecX:-0.14544511058121856, vecY:0.1164174397538709}, {vecX:-0.2417152713278422, vecY:0.18027327103577925}, {vecX:-0.16496516820698715, vecY:0.2286669845523497}, {vecX:-0.018366582610073446, vecY:0.09234901047707654}, {vecX:0.03520445837901261, vecY:0.04462146259609977}, {vecX:0.08226032282990295, vecY:0.020391302831719294}, {vecX:0.043514671095056315, vecY:0.02647395886118516}, {vecX:0.0052239505347270905, vecY:0.024769486566263627}, {vecX:-0.003466933979049837, vecY:0.026185335102944546}, {vecX:-0.009712129455280081, vecY:0.017623915683078566}, {vecX:-0.01342693107483065, vecY:0.018234361915212542}, {vecX:-0.01831027241406356, vecY:0.013537964861392854}, {vecX:-0.017120019103607678, vecY:0.015190034584782889}, {vecX:-0.032112161611339285, vecY:0.004285921120964868}, {vecX:-0.04217854895971226, vecY:-0.003575962226825008}, {vecX:0.0135711786902676, vecY:-0.02429145240714714}, {vecX:0.06301011948229884, vecY:-0.00005298573256677531}, {vecX:0.04308240665666995, vecY:0.004672304487756925}, {vecX:0.0074801547097081995, vecY:0.023400388391744527}, {vecX:-0.002583747232056548, vecY:0.009006397121877811}, {vecX:0.0013330978887424042, vecY:0.005708182226005899}, {vecX:0.0019072188536286244, vecY:-0.00323726894336572}, ],
[{vecX:0.011075027692722866, vecY:0.04087140789690338}, {vecX:-0.04957662718152744, vecY:0.04174666718187912}, {vecX:-0.1867382937751897, vecY:0.07215036164836623}, {vecX:-0.29044476900270116, vecY:0.04542160816102555}, {vecX:-0.10791262684641867, vecY:0.00477416965869911}, {vecX:0.033141746329581924, vecY:0.020232792585807943}, {vecX:0.042468314378174395, vecY:0.027668248615100095}, {vecX:0.06962156671707181, vecY:0.03690439371846288}, {vecX:0.04282599548114734, vecY:0.04028393515426628}, {vecX:0.007285722486025096, vecY:0.023662133757063945}, {vecX:-0.005124302345648075, vecY:0.013479526969451148}, {vecX:-0.017188567019385856, vecY:0.012020263666603907}, {vecX:-0.02394827548459083, vecY:0.013363503846931638}, {vecX:-0.026810095579401755, vecY:0.010663661495629969}, {vecX:-0.02679266166623277, vecY:0.019272025174170624}, {vecX:-0.034413674809093256, vecY:0.015306904150222143}, {vecX:-0.03617375657257771, vecY:0.020665322995758916}, {vecX:-0.003182431271337481, vecY:0.027582695889784445}, {vecX:0.0398895062337523, vecY:0.05139898751687509}, {vecX:0.03562546892052099, vecY:0.051297000834412416}, {vecX:0.01736691610124761, vecY:0.034500067620545194}, {vecX:0.007189467284864646, vecY:0.0101590874306465}, {vecX:0.003926411760170256, vecY:0.005209281513341765}, {vecX:0.0023300666131047345, vecY:-0.0037605924128808767}, ],
[{vecX:-0.011352975012841505, vecY:0.02891940340104802}, {vecX:-0.059287467989948855, vecY:0.025233853640533047}, {vecX:-0.15139565175540765, vecY:-0.0023551756775516443}, {vecX:-0.1942093322935101, vecY:-0.09419687366993672}, {vecX:-0.1136212605759097, vecY:-0.13164732776243188}, {vecX:-0.04020923400634122, vecY:-0.06694345782020832}, {vecX:0.001863606206253035, vecY:0.019770960429329645}, {vecX:0.057398074554048543, vecY:0.062388150187551644}, {vecX:0.04719474304005182, vecY:0.06769574713539421}, {vecX:0.02353013648990395, vecY:0.05290016778255797}, {vecX:-0.004435126520290181, vecY:0.04509067347979139}, {vecX:-0.012495972575314653, vecY:0.029032266097199628}, {vecX:-0.01573700492341519, vecY:0.026734639900088446}, {vecX:-0.025864506660723978, vecY:0.01646821036423886}, {vecX:-0.030248354360403695, vecY:0.02279510176037601}, {vecX:-0.031878096880733765, vecY:0.026913726708133214}, {vecX:-0.04337054935731515, vecY:0.035456079211600655}, {vecX:-0.010445465716618441, vecY:0.04316807463304783}, {vecX:0.03558487870522865, vecY:0.03769759432061889}, {vecX:0.05244755477193682, vecY:0.0290648068357155}, {vecX:0.04311063846440817, vecY:0.015848357135202145}, {vecX:0.02026188696923158, vecY:-0.00037740631599713454}, {vecX:0.008830090885908524, vecY:0.0010509236519679582}, {vecX:0.0059953646976730205, vecY:-0.004033305886808089}, ],
[{vecX:-0.019330927125496365, vecY:0.01281183372759059}, {vecX:-0.038205754060998534, vecY:-0.009398168619859593}, {vecX:-0.0909369367962725, vecY:-0.048763579422949996}, {vecX:-0.10646552222863677, vecY:-0.1353145126410822}, {vecX:-0.16566366478485542, vecY:-0.12505559725245644}, {vecX:-0.14960737173420174, vecY:-0.050266735016419095}, {vecX:-0.05835962836659533, vecY:0.06166096853847639}, {vecX:0.039016575653924336, vecY:0.07916794835693076}, {vecX:0.04742443835183794, vecY:0.08625277419737297}, {vecX:0.016381117722540372, vecY:0.09316281162183435}, {vecX:0.0006219021250737114, vecY:0.09645416996372255}, {vecX:-0.01095919570806097, vecY:0.09408554350976708}, {vecX:0.011325719098557903, vecY:0.04930965411576393}, {vecX:-0.037395708985405056, vecY:0.024677338420460024}, {vecX:-0.046469371671678215, vecY:0.03312299830851741}, {vecX:-0.03839774803438781, vecY:0.03223724322599958}, {vecX:-0.03859659993118736, vecY:0.021477759929761194}, {vecX:-0.0069358092965803924, vecY:-0.012638854124795748}, {vecX:0.03412235351807795, vecY:-0.006588924020297541}, {vecX:0.0633249232577376, vecY:-0.029243515140803325}, {vecX:0.04172292698891197, vecY:-0.02329523047195729}, {vecX:0.011683305149448672, vecY:-0.015562623595292457}, {vecX:0.005641981521291653, vecY:-0.0012369787802167982}, {vecX:0.0038658586110616893, vecY:-0.006356252553088807}, ],
[{vecX:-0.012269948698727395, vecY:0.002935443547999476}, {vecX:-0.016256141931089745, vecY:-0.022382798608133032}, {vecX:0.001424149499813807, vecY:-0.07461779774089053}, {vecX:-0.07801649951147961, vecY:-0.10123564237559075}, {vecX:-0.2202977796230826, vecY:-0.07351355575695111}, {vecX:-0.28396626480926423, vecY:0.05136795110735858}, {vecX:-0.06495763754478086, vecY:0.055387118915605826}, {vecX:0.05004387036401206, vecY:0.04221081802401953}, {vecX:0.014227373001096139, vecY:0.053626061876802376}, {vecX:0.004262139755292812, vecY:0.10142111226715571}, {vecX:-0.009176948551315274, vecY:0.1135532293597121}, {vecX:0.03432328137073074, vecY:0.08133957093641027}, {vecX:0.03764076093276194, vecY:0.06437744808040012}, {vecX:-0.024105029384721435, vecY:0.05714828395075463}, {vecX:-0.0476313398570876, vecY:0.047791113713665324}, {vecX:-0.02180918362023633, vecY:0.03683998855874531}, {vecX:0.0015240993506974883, vecY:0.003568424625044883}, {vecX:0.027147336723040483, vecY:-0.040380046439339096}, {vecX:0.04715564033763017, vecY:-0.07752548373525717}, {vecX:0.060356523607021165, vecY:-0.06843119897042269}, {vecX:0.021551989494684336, vecY:-0.031068500464183375}, {vecX:0.002944905684117445, vecY:-0.016255185646623763}, {vecX:0.006275936403944112, vecY:-0.0032547096372158354}, {vecX:0.004658463133787929, vecY:-0.007732117876475902}, ],
[{vecX:0.001993125984560501, vecY:0.002262475849235784}, {vecX:0.010950250037949251, vecY:-0.016738900088342924}, {vecX:0.04080588331291139, vecY:-0.0327257715548149}, {vecX:-0.07072098531307539, vecY:-0.05942410085964732}, {vecX:-0.2723843291356852, vecY:-0.05910098646583275}, {vecX:-0.34674483420141183, vecY:-0.0637428961379206}, {vecX:-0.046996938799248135, vecY:-0.0249655383938547}, {vecX:0.024931055563398856, vecY:0.0050471660578707035}, {vecX:-0.03430951758468027, vecY:0.04461566823959447}, {vecX:-0.03542026249149638, vecY:0.08011325271274598}, {vecX:0.006180028122341871, vecY:0.07778419529495333}, {vecX:0.04726171642151184, vecY:0.07876020311964078}, {vecX:0.023887278601357483, vecY:0.07573307262875788}, {vecX:-0.007900987246249793, vecY:0.05873676081535064}, {vecX:-0.05066328709278148, vecY:0.0468296353177493}, {vecX:-0.01815546891221909, vecY:0.03334217680395371}, {vecX:0.023892134038070834, vecY:0.039381681828513204}, {vecX:0.06214165950822444, vecY:0.008644345424659295}, {vecX:0.0625103796752667, vecY:-0.005294746865624108}, {vecX:0.026282665331570143, vecY:-0.014551456619699532}, {vecX:0.0041693528463696405, vecY:0.00004949600156832712}, {vecX:-0.00476880428444628, vecY:-0.009295746247535422}, {vecX:0.00016547449904824664, vecY:-0.0019488395329830051}, {vecX:0.0017189099439429715, vecY:-0.009102025805970203}, ],
[{vecX:0.009506818863102314, vecY:0.014167520551866833}, {vecX:0.024758607017095906, vecY:-0.004435032583591621}, {vecX:0.04988444625599815, vecY:0.009951833454298183}, {vecX:-0.03158159614879666, vecY:-0.010759759810240039}, {vecX:-0.24403180075994563, vecY:-0.05234779968311076}, {vecX:-0.30874273510359945, vecY:-0.12680373322045918}, {vecX:-0.10592719818761086, vecY:-0.1317431865765235}, {vecX:-0.061988790745609, vecY:-0.03469506808607288}, {vecX:-0.0825414334198293, vecY:0.08322532250907753}, {vecX:0.004300840950372959, vecY:0.056393827829291865}, {vecX:-0.011613896290546972, vecY:0.05158435918540259}, {vecX:0.03522736928380544, vecY:0.06983776775475874}, {vecX:0.05297531360212179, vecY:0.0821595999055069}, {vecX:0.016924714795277462, vecY:0.05271129200884683}, {vecX:-0.016488622735243107, vecY:0.021221392932203605}, {vecX:-0.013532817756753438, vecY:0.003354503735749897}, {vecX:0.016475766745321075, vecY:0.014762379103498141}, {vecX:0.07376391988177168, vecY:0.036781552760746544}, {vecX:0.07545149559254791, vecY:0.04877054079753429}, {vecX:0.042272713813664584, vecY:0.02089031640282445}, {vecX:0.010859774803595384, vecY:0.01059783433246584}, {vecX:0.004089611260220487, vecY:-0.006002237238914331}, {vecX:0.003510589336022726, vecY:-0.0008870916823073184}, {vecX:0.002810172359629418, vecY:-0.00931075518814448}, ],
[{vecX:0.013463137530978572, vecY:0.021458351131072386}, {vecX:0.01980603193653775, vecY:0.009868819396755591}, {vecX:0.03952849584451084, vecY:0.04049628462082633}, {vecX:-0.025429395419278897, vecY:0.029289400045105145}, {vecX:-0.15684156544514605, vecY:-0.013478744155661304}, {vecX:-0.21598524108024958, vecY:-0.12989652262819282}, {vecX:-0.15033495482775086, vecY:-0.16939576996780403}, {vecX:-0.2449280228427304, vecY:-0.04205269081888621}, {vecX:-0.05926509537300066, vecY:-0.005079935683937089}, {vecX:0.006527539599387604, vecY:-0.03018575482260087}, {vecX:-0.02314728436158478, vecY:-0.02060245921269097}, {vecX:-0.023616921168268284, vecY:0.025326246736185144}, {vecX:0.05032497666281817, vecY:0.05243896813779666}, {vecX:0.06668958207272233, vecY:0.010297365373773366}, {vecX:0.020245860887105095, vecY:-0.051040454201646386}, {vecX:-0.02380227760880211, vecY:-0.08752916690769919}, {vecX:-0.01470259256947979, vecY:-0.05601009374004985}, {vecX:0.05230169143182679, vecY:-0.04521618479527149}, {vecX:0.07404967704542488, vecY:-0.03475199088385649}, {vecX:0.03555540914680277, vecY:-0.0188553680864532}, {vecX:0.013202259282955077, vecY:-0.003422570052173395}, {vecX:0.0028206794480956847, vecY:-0.009133576232509405}, {vecX:-0.0006999371343694703, vecY:-0.0018553911953751608}, {vecX:-0.0004459060408821988, vecY:-0.008788841557982657}, ],
[{vecX:0.009962455430486584, vecY:0.023257171809535453}, {vecX:0.013106208994937254, vecY:0.017556646688302344}, {vecX:0.011781858433765632, vecY:0.05120657067608105}, {vecX:0.0028935935477386585, vecY:0.056620182171494234}, {vecX:-0.08673377518190258, vecY:0.0327396399098352}, {vecX:-0.11192728709837584, vecY:-0.04085086372814599}, {vecX:-0.1406479322660722, vecY:-0.09180731512884424}, {vecX:-0.3060602052933716, vecY:-0.17626035249675676}, {vecX:-0.030998809141794655, vecY:-0.16895384034169442}, {vecX:0.04137093762581392, vecY:-0.18155180295232762}, {vecX:-0.08343975965086485, vecY:-0.1557357236330338}, {vecX:-0.04861267362875442, vecY:-0.12061918213143323}, {vecX:0.036455323679136044, vecY:-0.07373286612452386}, {vecX:0.11919168480476511, vecY:-0.06198150040915677}, {vecX:0.0724309684791361, vecY:-0.08146659213552268}, {vecX:0.027691236948258723, vecY:-0.14159748730318536}, {vecX:-0.008904461928974627, vecY:-0.21088373065932645}, {vecX:0.017610866708303582, vecY:-0.1959826978144549}, {vecX:0.022630250125001312, vecY:-0.09652076144916055}, {vecX:0.016696201250785355, vecY:-0.04685069572035985}, {vecX:0.009806939182040186, vecY:-0.014013065093696457}, {vecX:0.0047856631639575575, vecY:-0.01394593704392835}, {vecX:0.0029912163165982386, vecY:-0.0023580938137806834}, {vecX:0.0012500452753399962, vecY:-0.009773278887348111}, ],
[{vecX:0.002243701226517045, vecY:0.025481199178566113}, {vecX:0.0009206254840283282, vecY:0.01715329714123366}, {vecX:-0.006044659513481585, vecY:0.04332028466446822}, {vecX:-0.019659853024842758, vecY:0.04200300978571891}, {vecX:-0.04451411404731029, vecY:0.057024940980551456}, {vecX:-0.05944984781071478, vecY:0.019040075067746468}, {vecX:-0.11387335660691213, vecY:-0.002192828842905363}, {vecX:-0.17714878355325656, vecY:-0.09713743417688926}, {vecX:-0.06310885846178424, vecY:-0.18230671879744637}, {vecX:0.011790455797796334, vecY:-0.16735611552380228}, {vecX:-0.0623591872332402, vecY:-0.17072759026948184}, {vecX:-0.09063404093805803, vecY:-0.20671262999103893}, {vecX:-0.009404487300340967, vecY:-0.18337228729832672}, {vecX:0.06229693816076252, vecY:-0.12322733904583706}, {vecX:0.08037310321075161, vecY:-0.06325082842820967}, {vecX:0.054843941379986015, vecY:-0.06540358896280916}, {vecX:0.01686669610038621, vecY:-0.05128013871745241}, {vecX:-0.03345835304186828, vecY:-0.06096610901782452}, {vecX:-0.03559071107711582, vecY:-0.05142481943307351}, {vecX:-0.01601660790143099, vecY:-0.033843819902229254}, {vecX:-0.00650394873080613, vecY:-0.015053133067110466}, {vecX:-0.0034312106121985146, vecY:-0.014854406969989332}, {vecX:-0.004081894134078221, vecY:-0.003894754256958714}, {vecX:-0.003576816893012059, vecY:-0.00947271224436217}, ],
[{vecX:-0.0025813326696161394, vecY:0.024270374838021865}, {vecX:-0.005759220700350292, vecY:0.013863157708554997}, {vecX:-0.009612346756229852, vecY:0.0357920130437574}, {vecX:-0.01803822358940306, vecY:0.027490211061895378}, {vecX:-0.02966946461483618, vecY:0.03505223765647434}, {vecX:-0.044350196998156226, vecY:0.029003727710934055}, {vecX:-0.06080703147206563, vecY:0.013044398248020046}, {vecX:-0.08205568207920456, vecY:-0.03754054002517819}, {vecX:-0.037281679719443586, vecY:-0.06453203498530696}, {vecX:0.023060420050928582, vecY:-0.0732847588574206}, {vecX:-0.03629868960039524, vecY:-0.0974747006532928}, {vecX:-0.050771100899818455, vecY:-0.12166704955681985}, {vecX:-0.029371019603815877, vecY:-0.12697483557458697}, {vecX:0.013137835106552108, vecY:-0.10245408943349708}, {vecX:0.0464799923184506, vecY:-0.05009622393242862}, {vecX:0.04529908269385417, vecY:0.0029176343291875562}, {vecX:0.012823530555556996, vecY:0.027720664129300323}, {vecX:-0.01441568957713992, vecY:0.021059379201733296}, {vecX:-0.02621975983371728, vecY:0.006884320276713434}, {vecX:-0.018294330653022862, vecY:-0.017019698183224307}, {vecX:-0.005986358062702902, vecY:-0.010056623025170611}, {vecX:-0.003107130194849861, vecY:-0.01389895102546855}, {vecX:-0.0015209927936897906, vecY:-0.0039147563221991625}, {vecX:-0.0013755825546185783, vecY:-0.008802222698984345}, ],
[{vecX:-0.009159303172825527, vecY:0.02219125827310376}, {vecX:-0.011737775772980328, vecY:0.010185913642584152}, {vecX:-0.018360781858962772, vecY:0.028993124967866234}, {vecX:-0.02558038664819863, vecY:0.01864361751537746}, {vecX:-0.030915071308026728, vecY:0.026932905517731018}, {vecX:-0.04144697449653483, vecY:0.011910424277849233}, {vecX:-0.04785402128176822, vecY:0.0072738204219620645}, {vecX:-0.042844756388929935, vecY:-0.014611402631484163}, {vecX:-0.03880597594890887, vecY:-0.02476652184147756}, {vecX:-0.017147714671269316, vecY:-0.024501489481760827}, {vecX:-0.005945646429557037, vecY:0.0018008225197425744}, {vecX:-0.04059960504975065, vecY:-0.02752301053961021}, {vecX:-0.04886998307883135, vecY:-0.04349351531991892}, {vecX:-0.0220068784061976, vecY:-0.042759884513356425}, {vecX:-0.0032008394340069584, vecY:-0.028065659062377932}, {vecX:0.004183547837609907, vecY:-0.012909452893842743}, {vecX:-0.0007220171622539767, vecY:0.006166634214169584}, {vecX:-0.010914594826633128, vecY:0.0051816113197879765}, {vecX:-0.017966185528114423, vecY:0.003906427200600045}, {vecX:-0.017324212021190683, vecY:-0.005474402419492689}, {vecX:-0.013827011983152452, vecY:-0.005796746160544054}, {vecX:-0.009428659407689177, vecY:-0.01088124744677877}, {vecX:-0.00842115527617111, vecY:-0.004338818368210807}, {vecX:-0.008884745014211272, vecY:-0.008696340151941645}, ],
[{vecX:-0.011301450797201802, vecY:0.02347964682383249}, {vecX:-0.01609652814855878, vecY:0.01868150889226389}, {vecX:-0.011604521484507965, vecY:0.030613381353468146}, {vecX:-0.01939374522139645, vecY:0.028483131016297677}, {vecX:-0.021201441742255214, vecY:0.03541328002648478}, {vecX:-0.025239318418608856, vecY:0.028312893412337194}, {vecX:-0.02470959732562437, vecY:0.026983464656015893}, {vecX:-0.026969087370692077, vecY:0.018403046090838513}, {vecX:-0.01292198403513014, vecY:0.013785189731752771}, {vecX:-0.007746648106764869, vecY:0.015753115321523018}, {vecX:-0.01084735499902893, vecY:0.016020781268483036}, {vecX:-0.009787791970209276, vecY:0.024756311082247545}, {vecX:-0.014287792031397838, vecY:0.019066530345863412}, {vecX:-0.012014240634952138, vecY:0.0003534412075079001}, {vecX:-0.0021287783707843355, vecY:0.0032247447850963593}, {vecX:0.0012247509286813056, vecY:0.0051800127515573965}, {vecX:0.00046640627381964794, vecY:0.012889709586383568}, {vecX:-0.0046207903673067515, vecY:0.011861567655265193}, {vecX:-0.0043705453326103845, vecY:0.014441906885995899}, {vecX:-0.006511168814078893, vecY:0.006505154582569954}, {vecX:-0.004769204148608282, vecY:0.009506067023578696}, {vecX:-0.0037331653493324294, vecY:0.000890244680596287}, {vecX:-0.004006709144930557, vecY:0.007378553110989433}, {vecX:-0.00028930366287313277, vecY:-0.0031738679823980465}, ],
[{vecX:-0.0203439596543187, vecY:0.012246851057213263}, {vecX:-0.02281313115244555, vecY:-0.0008609151664331017}, {vecX:-0.02983154663847549, vecY:0.006894842470504447}, {vecX:-0.035332505855677515, vecY:0.0012285396075407838}, {vecX:-0.03722460646429745, vecY:0.004738659686549232}, {vecX:-0.04047886434677564, vecY:-0.0021963535397059378}, {vecX:-0.04230987164606968, vecY:-0.002389570644104358}, {vecX:-0.03334310430914343, vecY:-0.012216330709489588}, {vecX:-0.034274436600391374, vecY:-0.01667126058626908}, {vecX:-0.03657240521981615, vecY:-0.01700363353776422}, {vecX:-0.02471892999330866, vecY:-0.014204068527967826}, {vecX:-0.026066792802611954, vecY:-0.013217836380849168}, {vecX:-0.03141831918622388, vecY:-0.013556640188924881}, {vecX:-0.024190328392825165, vecY:-0.012538314117245855}, {vecX:-0.017449484725039842, vecY:-0.016836297127399428}, {vecX:-0.014536930942283439, vecY:-0.015328494082469763}, {vecX:-0.010817466290500928, vecY:-0.011043460868886093}, {vecX:-0.01187768156757401, vecY:-0.007785956554341748}, {vecX:-0.011337254256550319, vecY:-0.006353998387194347}, {vecX:-0.01602971185248921, vecY:-0.0058521887624133125}, {vecX:-0.008579033760768358, vecY:-0.005563950119681422}, {vecX:-0.01375800950998566, vecY:-0.008805578958586134}, {vecX:-0.004882856641540342, vecY:-0.0044945783481288686}, {vecX:-0.007820499409301518, vecY:-0.013275877079638865}, ],
];
private var arr2:Array = [
[{vecX:-0.0053678660001444355, vecY:-0.00568410271874429}, {vecX:-0.004305559207202436, vecY:-0.0013278147940853527}, {vecX:-0.004933039977051804, vecY:-0.005427719114795149}, {vecX:-0.005702430895324004, vecY:-0.0029776511052549996}, {vecX:-0.006996177262748254, vecY:-0.0065712891303332955}, {vecX:-0.008673869972144702, vecY:-0.005865539005370457}, {vecX:-0.009746807340820677, vecY:-0.009810204935430434}, {vecX:-0.010185441332644608, vecY:-0.010435894093276724}, {vecX:-0.011150076357613756, vecY:-0.014295675573782975}, {vecX:-0.014733233753774467, vecY:-0.01606208374118682}, {vecX:-0.022028393983660743, vecY:-0.021908103947331687}, {vecX:-0.033524293314316375, vecY:-0.028675176078946672}, {vecX:-0.049002163156483425, vecY:-0.043212375367261684}, {vecX:-0.07141698222815544, vecY:-0.05946026519093111}, {vecX:-0.11235376451112809, vecY:-0.08041617113075687}, {vecX:-0.1707295702233466, vecY:-0.08204258207874836}, {vecX:-0.22500225937226873, vecY:-0.045481059888544714}, {vecX:-0.2202850269962381, vecY:0.03560511245839144}, {vecX:-0.16399958059913164, vecY:0.08059578772167351}, {vecX:-0.11101233405181976, vecY:0.08475905318354623}, {vecX:-0.07703615532202282, vecY:0.05921734844518846}, {vecX:-0.05624828923746824, vecY:0.05502358675691616}, {vecX:-0.04308757497326443, vecY:0.02437822403994724}, {vecX:-0.03710964849528488, vecY:0.04242703155806423}, ],
[{vecX:-0.000047011316730389746, vecY:-0.004450766259726702}, {vecX:0.0001005955072496694, vecY:-0.0013512376361808816}, {vecX:0.00020706806033739166, vecY:-0.00592530448946127}, {vecX:0.0004315910601535613, vecY:-0.003024933649044917}, {vecX:0.0006530552280919373, vecY:-0.0075962887860292466}, {vecX:0.0011205178264469364, vecY:-0.0060507694607159455}, {vecX:0.0010495642529900417, vecY:-0.010768865422217812}, {vecX:0.00016208359075307437, vecY:-0.010803348260550247}, {vecX:-0.0010386393135692772, vecY:-0.01609357933580095}, {vecX:-0.00134810437448814, vecY:-0.018156802436248416}, {vecX:-0.0005082924683832579, vecY:-0.026268733576051494}, {vecX:0.001130417583176551, vecY:-0.03417173572932267}, {vecX:0.004184782746838063, vecY:-0.05013932039539122}, {vecX:0.0058939018065928455, vecY:-0.0732390201747188}, {vecX:-0.006816433507285741, vecY:-0.12028453374382043}, {vecX:-0.0847721474829945, vecY:-0.14631675045822926}, {vecX:-0.22100057177643442, vecY:-0.08935586873478753}, {vecX:-0.21974592259193473, vecY:0.039081157016622674}, {vecX:-0.09478789367459019, vecY:0.11011919398993598}, {vecX:-0.004052038953922037, vecY:0.12008485714465357}, {vecX:0.004525111361078418, vecY:0.06644487352887848}, {vecX:0.00025187975188173243, vecY:0.06431069614858398}, {vecX:-0.002481038791763745, vecY:0.0255189103688378}, {vecX:-0.005332634222881411, vecY:0.044412676276035526}, ],
[{vecX:-0.0031458016829147293, vecY:-0.004609771737752245}, {vecX:-0.003346604846757626, vecY:-0.001245428498018179}, {vecX:-0.003220016701935788, vecY:-0.0057980529297144085}, {vecX:-0.0034873096668347407, vecY:-0.0031949551738745634}, {vecX:-0.004067479788884234, vecY:-0.007784973215310721}, {vecX:-0.004891392360821764, vecY:-0.006218535005017001}, {vecX:-0.005273255726916966, vecY:-0.01105391681746887}, {vecX:-0.004760883903147749, vecY:-0.010893405703766934}, {vecX:-0.004142296625607604, vecY:-0.016585657519366467}, {vecX:-0.005279227489481485, vecY:-0.019111120177475634}, {vecX:-0.00829742627482777, vecY:-0.027492802714065675}, {vecX:-0.01200515969146339, vecY:-0.03501668995638435}, {vecX:-0.01724016352863833, vecY:-0.05147500484184294}, {vecX:-0.020554482855821378, vecY:-0.07350853599569535}, {vecX:-0.010905935053160341, vecY:-0.12307680543406148}, {vecX:-0.18970434166023692, vecY:-0.1572942181543334}, {vecX:-0.4730245466639918, vecY:-0.13539098332331795}, {vecX:-0.5028617639459141, vecY:0.02026033776432211}, {vecX:-0.21251966148642018, vecY:0.12038045204160727}, {vecX:-0.019453225124801923, vecY:0.12251618730618198}, {vecX:-0.02858825913010951, vecY:0.063455659677043}, {vecX:-0.026040835564884058, vecY:0.06557410195644818}, {vecX:-0.022763971869465462, vecY:0.024799449712746724}, {vecX:-0.0180862981103344, vecY:0.04695821526014001}, ],
[{vecX:0.00064366519456731, vecY:-0.004318649241940057}, {vecX:0.0014011824864483655, vecY:-0.0009798368657922096}, {vecX:0.001543530588454508, vecY:-0.005794708315112392}, {vecX:0.0019432805746139134, vecY:-0.003065842767216118}, {vecX:0.002572824091378395, vecY:-0.00786471222725418}, {vecX:0.0035065889518102293, vecY:-0.00602894370457924}, {vecX:0.003888646513614333, vecY:-0.011243313922197743}, {vecX:0.0031995700927157176, vecY:-0.010880713196167454}, {vecX:0.002146301097797127, vecY:-0.017033031744344403}, {vecX:0.003111899045666959, vecY:-0.018835078868501737}, {vecX:0.0067952421344319456, vecY:-0.02710369971962085}, {vecX:0.012257075920586655, vecY:-0.03365169258131006}, {vecX:0.022481080177812002, vecY:-0.0478510017968668}, {vecX:0.04002924910715453, vecY:-0.062898689438512}, {vecX:0.07390764409374981, vecY:-0.09015970920198853}, {vecX:-0.12961413332032803, vecY:-0.10372898458104676}, {vecX:-0.46475045351548583, vecY:-0.06538592042074015}, {vecX:-0.5706607742174725, vecY:0.03733566401973876}, {vecX:-0.182700636628927, vecY:0.07991990677897047}, {vecX:0.06485560472389111, vecY:0.08763781849116574}, {vecX:0.02880191150093938, vecY:0.053145301263799884}, {vecX:0.014825152207748982, vecY:0.06445512464172633}, {vecX:0.0067921776600976475, vecY:0.02116231617523583}, {vecX:0.00011144220240840753, vecY:0.048592287099092725}, ],
[{vecX:-0.0011475130261556072, vecY:-0.003711774743094054}, {vecX:-0.0012060008277501814, vecY:-0.0008876818743517319}, {vecX:-0.00077261640151731, vecY:-0.005311130778313855}, {vecX:-0.0003556229382566154, vecY:-0.0027326768545945564}, {vecX:-0.00026555719158122347, vecY:-0.007478268876435872}, {vecX:-0.0004220059787259495, vecY:-0.005638070982110441}, {vecX:0.000006767971768786611, vecY:-0.010823355132367702}, {vecX:0.002196522312379843, vecY:-0.009799994066285022}, {vecX:0.005130683971949026, vecY:-0.016232858209576234}, {vecX:0.0070919404195844155, vecY:-0.016708398007764688}, {vecX:0.006826976502554819, vecY:-0.025812001408622526}, {vecX:0.008711115404589145, vecY:-0.027597418204119338}, {vecX:0.012853150073666898, vecY:-0.03953923724775445}, {vecX:0.02321279012227346, vecY:-0.043302645009675185}, {vecX:0.04840136318831332, vecY:-0.05068878557819015}, {vecX:-0.18605624332845822, vecY:-0.019217076268497446}, {vecX:-0.6036576048687295, vecY:0.027475441011236}, {vecX:-0.6823326879023615, vecY:0.0640922530002982}, {vecX:-0.1966099179625332, vecY:0.037168162662120974}, {vecX:0.021645107672555838, vecY:0.057168970027067334}, {vecX:0.011945562793711511, vecY:0.03786091162610231}, {vecX:0.001493336741372778, vecY:0.05531052893389479}, {vecX:-0.0037438353373511796, vecY:0.01703676525669206}, {vecX:-0.004868897985898225, vecY:0.04491203991140021}, ],
[{vecX:0.0018774850624445182, vecY:-0.002847477068438613}, {vecX:0.003130083082992988, vecY:-0.0005578693300532829}, {vecX:0.0036390436897807735, vecY:-0.004698598289591635}, {vecX:0.004247527208335308, vecY:-0.0023197323615015506}, {vecX:0.005188059047330229, vecY:-0.006860615783858555}, {vecX:0.006679682208773179, vecY:-0.004920549700389527}, {vecX:0.007968226671486682, vecY:-0.0098235580008804}, {vecX:0.0075918589794594996, vecY:-0.008986404549188459}, {vecX:0.0068939852485445105, vecY:-0.014810159798018618}, {vecX:0.008532776618216706, vecY:-0.01453104860201472}, {vecX:0.015143217350941011, vecY:-0.0216438739986778}, {vecX:0.02279708396188506, vecY:-0.022227540101085706}, {vecX:0.03140410491206147, vecY:-0.032160059731533915}, {vecX:0.04955090475619042, vecY:-0.022175382633160195}, {vecX:0.07364169697191386, vecY:-0.022536682672941843}, {vecX:-0.20370308084563174, vecY:0.01701281608599307}, {vecX:-0.634485599017236, vecY:0.08602900168260161}, {vecX:-0.5696293662302677, vecY:0.10666197329808896}, {vecX:-0.16858213448405113, vecY:0.0346829565832308}, {vecX:0.05596920474018208, vecY:0.043436934709049475}, {vecX:0.03782753618247169, vecY:0.02375173350756543}, {vecX:0.02266318526731751, vecY:0.04380313008493872}, {vecX:0.01377790132926041, vecY:0.014421708088867082}, {vecX:0.006281226780179031, vecY:0.03890535988159677}, ],
[{vecX:0.0013501406304879074, vecY:-0.001561249446101496}, {vecX:0.0015545961899785588, vecY:-0.00038704337235127644}, {vecX:0.0023329701533635143, vecY:-0.003582089677120899}, {vecX:0.0034571837820897254, vecY:-0.001703543826691549}, {vecX:0.00417700398145183, vecY:-0.005816452280311527}, {vecX:0.004888259512118273, vecY:-0.0037618345118271587}, {vecX:0.0060162647277403674, vecY:-0.008565723511107185}, {vecX:0.009556367527007167, vecY:-0.007080503931722052}, {vecX:0.015364188771492834, vecY:-0.011606112901914345}, {vecX:0.01929639029332, vecY:-0.012164102606619633}, {vecX:0.01961022143897771, vecY:-0.017086548115690898}, {vecX:0.023070885174707487, vecY:-0.015670335637398794}, {vecX:0.032393740414065404, vecY:-0.02078738800568649}, {vecX:0.027462617566619215, vecY:-0.020332377362324856}, {vecX:0.02587222395033531, vecY:-0.001879289344337663}, {vecX:-0.2835152357386861, vecY:0.08273152951620978}, {vecX:-0.7661390384345433, vecY:0.1583508523860069}, {vecX:-0.48806910705540035, vecY:0.14155461120382407}, {vecX:-0.1294826435542972, vecY:0.04322056466496635}, {vecX:0.03472347292967528, vecY:0.020269078429122685}, {vecX:0.019146504738084123, vecY:0.013200953038190721}, {vecX:0.01331476585856521, vecY:0.03335782075964028}, {vecX:0.007822734704719819, vecY:0.01048970232226301}, {vecX:0.004829274797412479, vecY:0.03234723119181213}, ],
[{vecX:0.003871752657616786, vecY:-0.0002143182658956579}, {vecX:0.005411137992594055, vecY:0.000009866341910797165}, {vecX:0.006416459513035093, vecY:-0.002195303907556982}, {vecX:0.007022171266030245, vecY:-0.001360404214534118}, {vecX:0.008433763213542236, vecY:-0.004028179745594854}, {vecX:0.01025657055485884, vecY:-0.0030160441745607754}, {vecX:0.012319770747532412, vecY:-0.006120308440077915}, {vecX:0.013351399197937137, vecY:-0.004954187753079798}, {vecX:0.010895227144701394, vecY:-0.010380779889306689}, {vecX:0.013285973731050954, vecY:-0.007066487511050541}, {vecX:0.022957094305154996, vecY:-0.012199211491498217}, {vecX:0.027021623045256894, vecY:-0.013032479785759816}, {vecX:0.03393654421763544, vecY:-0.007187467445588985}, {vecX:0.05664782215160224, vecY:-0.01615214283590177}, {vecX:-0.07303928761107945, vecY:0.08901020371183391}, {vecX:-0.3751482017940287, vecY:0.21013134980378587}, {vecX:-0.7132363425635786, vecY:0.23515873448339863}, {vecX:-0.34546100269847135, vecY:0.13315435252576913}, {vecX:-0.04037814173894193, vecY:0.025469090766433077}, {vecX:0.03685047042551606, vecY:0.00491181050744502}, {vecX:0.029752717727221694, vecY:0.005883500069982936}, {vecX:0.021728978998378425, vecY:0.026819796119485945}, {vecX:0.01606638727508874, vecY:0.005873104085282281}, {vecX:0.011157183895997607, vecY:0.029061166142394377}, ],
[{vecX:0.004279110278183805, vecY:0.001944625404872004}, {vecX:0.0051463610780404885, vecY:0.0002575588059770849}, {vecX:0.005834237915245941, vecY:-0.00074979801397677}, {vecX:0.007736871968819927, vecY:-0.0002975643015451956}, {vecX:0.008877777836778435, vecY:-0.002538521843113269}, {vecX:0.010260145596191603, vecY:-0.001300526976312582}, {vecX:0.012225223911781385, vecY:-0.003807547130062748}, {vecX:0.01579363455752333, vecY:-0.0026669099669482973}, {vecX:0.027075280247332103, vecY:-0.0038425840388651637}, {vecX:0.030135060330871412, vecY:-0.008154156691603198}, {vecX:0.02690598859768552, vecY:-0.004669493470027408}, {vecX:0.03908072917686236, vecY:-0.004322928487951888}, {vecX:0.03399450570023798, vecY:-0.014068321047642773}, {vecX:-0.06013396680971787, vecY:0.12195368531237312}, {vecX:-0.22267745443893897, vecY:0.24207293666375654}, {vecX:-0.5162420149029479, vecY:0.4436080911755584}, {vecX:-0.5398936668440332, vecY:0.34108622867502303}, {vecX:-0.210068343752961, vecY:0.11332555757091306}, {vecX:0.015057759845276613, vecY:0.003345079082514731}, {vecX:0.015217859454774614, vecY:0.009116308333022053}, {vecX:0.0181558586006444, vecY:-0.002480751308018685}, {vecX:0.013993029636587585, vecY:0.022997479804587443}, {vecX:0.01195415888498872, vecY:0.0019939579252921933}, {vecX:0.010190481638670916, vecY:0.026267431676975504}, ],
[{vecX:0.007124311218428616, vecY:0.0039301214185043995}, {vecX:0.008184255308997268, vecY:0.00019925768277002757}, {vecX:0.009591907853962882, vecY:0.0014040324914013518}, {vecX:0.010272113054873272, vecY:0.00013144444756105707}, {vecX:0.01146883728889997, vecY:-0.0006299004902343319}, {vecX:0.013639456485966482, vecY:0.00034383862728815546}, {vecX:0.016172012181716083, vecY:-0.0009542787223241018}, {vecX:0.018021653532412595, vecY:-0.00010212637824848618}, {vecX:0.013145474803445786, vecY:-0.0000019006667230263886}, {vecX:0.023825166976747754, vecY:0.0017446321930959414}, {vecX:0.026706337983268637, vecY:-0.014916183081391506}, {vecX:0.018437295028699063, vecY:0.00982945874801956}, {vecX:-0.0774709425556308, vecY:0.1387132064882531}, {vecX:-0.19447892159009292, vecY:0.2638088175437536}, {vecX:-0.43768076526344035, vecY:0.534197598063441}, {vecX:-0.43621226698521026, vecY:0.4691976078819763}, {vecX:-0.23363332782446117, vecY:0.21421278633549606}, {vecX:-0.06006601445108647, vecY:0.05937897926765258}, {vecX:0.03361167555483289, vecY:-0.011155994107894762}, {vecX:0.021685180331449446, vecY:0.011850985909546105}, {vecX:0.01954427877188563, vecY:-0.0044183312982367575}, {vecX:0.0182520876812415, vecY:0.019480039740104583}, {vecX:0.014884926383192656, vecY:0.00010536594012738076}, {vecX:0.012392304255118286, vecY:0.02389972428774815}, ],
[{vecX:0.008189704450737793, vecY:0.0049162141279102236}, {vecX:0.009149745183398166, vecY:0.0012331497965932174}, {vecX:0.00983475010144675, vecY:0.0024627978405923614}, {vecX:0.011416485838013626, vecY:0.0013346200358473244}, {vecX:0.014007167512210634, vecY:0.001954329829703099}, {vecX:0.015461864142650515, vecY:0.001384924134857122}, {vecX:0.01538419554529813, vecY:0.00045952286850413755}, {vecX:0.02265095473676777, vecY:0.00760047257308945}, {vecX:0.03292695185642314, vecY:-0.002304681227372432}, {vecX:0.03605790029356967, vecY:0.01785805336419388}, {vecX:-0.009421010920631202, vecY:0.08428820413837247}, {vecX:-0.10008158489699179, vecY:0.2381222539938952}, {vecX:-0.1877556700793964, vecY:0.36514076138463664}, {vecX:-0.4388026665897231, vecY:0.6181420213732841}, {vecX:-0.33022010476923375, vecY:0.44164969359160855}, {vecX:-0.20984386364096036, vecY:0.23438072145110686}, {vecX:-0.08046914662122352, vecY:0.06420849009658897}, {vecX:0.01638513019588948, vecY:-0.004199174147755675}, {vecX:0.017930715871242474, vecY:-0.017885860419928866}, {vecX:0.018675850592488705, vecY:0.007399491719442971}, {vecX:0.015397928105924342, vecY:-0.0053856611542618}, {vecX:0.01323131992362796, vecY:0.016988570323189175}, {vecX:0.012182735781553416, vecY:-0.0018189100830805851}, {vecX:0.010932658058967419, vecY:0.02208130046029575}, ],
[{vecX:0.01037907719011377, vecY:0.0047210439264314405}, {vecX:0.011097382754148595, vecY:0.003106666294767189}, {vecX:0.012435181476697971, vecY:0.0026120849830163603}, {vecX:0.014414986630864378, vecY:0.0047468737841566315}, {vecX:0.012812740251466857, vecY:-0.0004694886238066913}, {vecX:0.01654681765406366, vecY:0.008997516621403582}, {vecX:0.02261900757188023, vecY:-0.001158548297578106}, {vecX:0.011363374498718918, vecY:0.005229669857480064}, {vecX:-0.0226614695186529, vecY:0.0588573287399646}, {vecX:-0.08242435949508897, vecY:0.18417729151586057}, {vecX:-0.14091694628829796, vecY:0.32456019032903055}, {vecX:-0.23163343263098915, vecY:0.45818071737187954}, {vecX:-0.34237680278605326, vecY:0.5544060821536669}, {vecX:-0.28092304064611473, vecY:0.34135319157266725}, {vecX:-0.15266704281222718, vecY:0.18854963190785345}, {vecX:-0.04193099632186637, vecY:0.05565068200768626}, {vecX:0.01710513710807898, vecY:-0.030137728733707278}, {vecX:0.020756256490852294, vecY:-0.006017187074785685}, {vecX:0.017979974710955388, vecY:-0.017298543597442737}, {vecX:0.017453545679572975, vecY:0.00703088058682064}, {vecX:0.01687926690831368, vecY:-0.008869251279463121}, {vecX:0.014460882274083455, vecY:0.015887167631863874}, {vecX:0.012823607191876623, vecY:-0.0034033666160366988}, {vecX:0.010863612907338848, vecY:0.020455684986128098}, ],
[{vecX:0.010016561564022726, vecY:0.007317508381893572}, {vecX:0.013009991640353713, vecY:0.004221937479670883}, {vecX:0.014393973810826839, vecY:0.004218594691135144}, {vecX:0.014963639408156057, vecY:0.005689834827533432}, {vecX:0.019904335983940175, vecY:0.0019260005292031}, {vecX:0.01578501707268784, vecY:0.0062167859597382575}, {vecX:0.01840673794260197, vecY:0.010316093151817932}, {vecX:-0.04200053374165565, vecY:0.0936085191662491}, {vecX:-0.122081888557537, vecY:0.19556907260169087}, {vecX:-0.2215736933268415, vecY:0.3979573110658088}, {vecX:-0.1985654725079691, vecY:0.4713402659056818}, {vecX:-0.24762197647889478, vecY:0.45153601178658126}, {vecX:-0.1725937757076873, vecY:0.24497790232404532}, {vecX:-0.12969154192618162, vecY:0.15577191189237524}, {vecX:-0.0007625713710692302, vecY:-0.020261187475857787}, {vecX:0.007876722192702487, vecY:-0.023834569942912272}, {vecX:0.012369764903002308, vecY:-0.02625583196149671}, {vecX:0.012831426269450044, vecY:-0.005786303097775166}, {vecX:0.016045813410589332, vecY:-0.017091322213210854}, {vecX:0.014752205320034375, vecY:0.005003622080651422}, {vecX:0.013391161826875471, vecY:-0.008777315037712058}, {vecX:0.012491857905405515, vecY:0.012477542834412656}, {vecX:0.01070271887526552, vecY:-0.0034201559309323146}, {vecX:0.009150349565844103, vecY:0.016960110707064536}, ],
[{vecX:0.012128625427540585, vecY:0.015265639974855088}, {vecX:0.01450441636876655, vecY:0.0016430269042663089}, {vecX:0.017320337854063755, vecY:0.01099740892231009}, {vecX:0.018161333260637805, vecY:0.00032168160026177213}, {vecX:0.014286887300874398, vecY:0.008360404372495472}, {vecX:0.022495553917271024, vecY:0.003871729821590199}, {vecX:-0.061102215720821536, vecY:0.06779293926541467}, {vecX:-0.17033015722110018, vecY:0.20055342815859023}, {vecX:-0.35766225128124707, vecY:0.4304230300639121}, {vecX:-0.25310655802428966, vecY:0.45112419323782693}, {vecX:-0.15482302591888525, vecY:0.3200009332454522}, {vecX:-0.12281564586505604, vecY:0.18091998401058113}, {vecX:-0.06601924601501574, vecY:0.08070091411995865}, {vecX:0.008717092063749337, vecY:-0.029430464887284225}, {vecX:0.010401983022334875, vecY:-0.021058353330637762}, {vecX:0.007632071130386414, vecY:-0.017168022416309034}, {vecX:0.014814745427308923, vecY:-0.021246662480877677}, {vecX:0.015776356424260844, vecY:-0.009372200214994499}, {vecX:0.013359748000204468, vecY:-0.012707646378908644}, {vecX:0.014169697352468232, vecY:0.00013628750805800614}, {vecX:0.013215546149434161, vecY:-0.006225175161311657}, {vecX:0.012046528212535575, vecY:0.007857081099643707}, {vecX:0.010519850320801931, vecY:-0.002115511118037008}, {vecX:0.008614812086727899, vecY:0.012198058350673772}, ],
[{vecX:0.01438804747607681, vecY:0.01902466230785232}, {vecX:0.016244327563623588, vecY:0.0021160756000417995}, {vecX:0.021006556654415306, vecY:0.01810251080262351}, {vecX:0.02595469235002087, vecY:-0.0009942891778720498}, {vecX:0.02393588469553508, vecY:0.0037831215363801204}, {vecX:0.009727061474935478, vecY:0.002448856053502562}, {vecX:-0.17973208395621962, vecY:0.10265287571281788}, {vecX:-0.38553534425211955, vecY:0.2917317326960839}, {vecX:-0.3237010627814692, vecY:0.30489617859941653}, {vecX:-0.11689594467297393, vecY:0.16826862619920882}, {vecX:-0.026469965767524604, vecY:0.09734933920707088}, {vecX:0.010825824884902824, vecY:-0.004833501387643765}, {vecX:0.013430941276618326, vecY:-0.039745502974245506}, {vecX:0.015482897651993332, vecY:-0.024234146551814464}, {vecX:0.01692916164759499, vecY:-0.023123516711920325}, {vecX:0.01571755906900485, vecY:-0.019084373505565078}, {vecX:0.01119249399261096, vecY:-0.016672702171093012}, {vecX:0.012149010290505791, vecY:-0.012028033229932358}, {vecX:0.013886367121335558, vecY:-0.01073106495719743}, {vecX:0.012484945252101816, vecY:-0.0024317664306231983}, {vecX:0.011747849436716072, vecY:-0.0053483682410502735}, {vecX:0.010573896179373524, vecY:0.00463730298514122}, {vecX:0.009492323392424682, vecY:-0.0015039836822170046}, {vecX:0.00813711161625705, vecY:0.008326280904612085}, ],
[{vecX:0.013306860365650014, vecY:0.017374161948574423}, {vecX:0.01664387200834045, vecY:0.008959867689556925}, {vecX:0.02021450667045705, vecY:0.019591582466016715}, {vecX:0.03097294570771693, vecY:0.013223213891600185}, {vecX:0.0439401579089171, vecY:0.0005140230136222299}, {vecX:-0.04140882276726611, vecY:0.012805524774892624}, {vecX:-0.3419855919784533, vecY:0.13034945687231914}, {vecX:-0.49595133156282156, vecY:0.21219690522797624}, {vecX:-0.20010021560617003, vecY:0.14656239353647882}, {vecX:-0.055208389908529734, vecY:0.03741042036243458}, {vecX:0.023516552718101814, vecY:-0.04325599652285644}, {vecX:0.011676351713603912, vecY:-0.021909120947675793}, {vecX:0.0043138141547748345, vecY:-0.02742730458132704}, {vecX:0.013315735107958134, vecY:-0.02549846761617459}, {vecX:0.008773521381799298, vecY:-0.02495514537811744}, {vecX:0.009117033895728082, vecY:-0.018120834904029298}, {vecX:0.012640143251125134, vecY:-0.01863819649362564}, {vecX:0.011866060732718271, vecY:-0.009880105127911763}, {vecX:0.011057253372712909, vecY:-0.011950443588393627}, {vecX:0.010819326496930463, vecY:-0.0028517365444431994}, {vecX:0.010596241523420995, vecY:-0.0058885789161255}, {vecX:0.009679771199063382, vecY:0.0030870900785163052}, {vecX:0.008813566816434732, vecY:-0.0019015479451695786}, {vecX:0.007956684500096697, vecY:0.006511751075059002}, ],
[{vecX:0.012160315954141462, vecY:0.021405086435061813}, {vecX:0.01413718588831696, vecY:0.01024282477993548}, {vecX:0.020684071472949234, vecY:0.028426145622387013}, {vecX:0.032463494144870673, vecY:0.02692651244441121}, {vecX:0.0667062142851362, vecY:0.034020656802276984}, {vecX:-0.07896623733581375, vecY:0.04903041422318935}, {vecX:-0.4574024998454156, vecY:0.10354176010462429}, {vecX:-0.39047490353900843, vecY:0.03673735878329032}, {vecX:-0.1318233488462464, vecY:-0.00988131740328161}, {vecX:0.07861712990450667, vecY:-0.02979704565828102}, {vecX:0.03444391729854072, vecY:-0.03844378306859379}, {vecX:0.03552123001151919, vecY:-0.03748422269345782}, {vecX:0.026558236034911163, vecY:-0.028177734370982147}, {vecX:0.015277731412476302, vecY:-0.027026621495771078}, {vecX:0.017380746203229998, vecY:-0.02586619043392613}, {vecX:0.015942192566348552, vecY:-0.01830483097117329}, {vecX:0.012020160385425123, vecY:-0.01885312325200798}, {vecX:0.011529331837768591, vecY:-0.010930089435592826}, {vecX:0.011192881402338681, vecY:-0.012045717076147834}, {vecX:0.01060916017971087, vecY:-0.0035781111550992404}, {vecX:0.009486065688336166, vecY:-0.006508383770353644}, {vecX:0.00869080999945059, vecY:0.0019951689195012597}, {vecX:0.007896622710110096, vecY:-0.002470018458123689}, {vecX:0.0072644412013475115, vecY:0.0055911577629125025}, ],
[{vecX:0.007727721846666216, vecY:0.025188183546731188}, {vecX:0.009520582011377272, vecY:0.010229457767152669}, {vecX:0.012367828443557197, vecY:0.03783364465198204}, {vecX:0.015160132351850432, vecY:0.032090739995030905}, {vecX:0.04267813375877752, vecY:0.09061715079885006}, {vecX:-0.12680311267967626, vecY:0.11055454008948933}, {vecX:-0.3834640130684692, vecY:0.043205980494323615}, {vecX:-0.33355643256649564, vecY:-0.03852383608721451}, {vecX:-0.1338017489096793, vecY:-0.08947986828600274}, {vecX:0.022705193105179978, vecY:-0.08622709947511788}, {vecX:0.008139910152623471, vecY:-0.0407522248102796}, {vecX:0.004218908727466153, vecY:-0.03801946966395081}, {vecX:0.006366902399896537, vecY:-0.03445748770466682}, {vecX:0.009798696876829282, vecY:-0.028595578307588528}, {vecX:0.006985056229980459, vecY:-0.025007859478203793}, {vecX:0.006280504390019752, vecY:-0.021306267403737807}, {vecX:0.008135055225484394, vecY:-0.017919168164902254}, {vecX:0.008334240065093831, vecY:-0.012155688230745657}, {vecX:0.007929378574504023, vecY:-0.011561430207014717}, {vecX:0.0076909247408990305, vecY:-0.004884573080465144}, {vecX:0.0076418001095062875, vecY:-0.006374140967755196}, {vecX:0.007266722710080363, vecY:0.0006905930285913207}, {vecX:0.006677648464690464, vecY:-0.002548704101944147}, {vecX:0.006072221114935466, vecY:0.004432234548215374}, ],
[{vecX:0.005183289170398542, vecY:0.02405733771731985}, {vecX:0.0059695800589628905, vecY:0.013939454649839422}, {vecX:0.0055706214512817685, vecY:0.03657193559379402}, {vecX:0.008221555071864759, vecY:0.03879568658209512}, {vecX:-0.018305070583968304, vecY:0.08490357996287994}, {vecX:-0.08586403336351867, vecY:0.0882907171826049}, {vecX:-0.28084902912107956, vecY:0.04476910567569268}, {vecX:-0.2596792274673933, vecY:-0.047968417119086074}, {vecX:-0.055051356463130814, vecY:-0.07085490683089024}, {vecX:0.005720572930812765, vecY:-0.06472017584156803}, {vecX:0.03634734517036856, vecY:-0.04619765915683009}, {vecX:0.030310842613405765, vecY:-0.042531539299520416}, {vecX:0.024268326030425193, vecY:-0.03383994097964741}, {vecX:0.017460890761490492, vecY:-0.032588765824609844}, {vecX:0.014456366966234218, vecY:-0.02683283640328753}, {vecX:0.013002216373536959, vecY:-0.021639992911311978}, {vecX:0.01036574940731513, vecY:-0.018367358788085285}, {vecX:0.008713480087563256, vecY:-0.01316058208770507}, {vecX:0.00833936376964241, vecY:-0.011335514158565943}, {vecX:0.007671355952339937, vecY:-0.006016950779821378}, {vecX:0.006958451328718438, vecY:-0.006003792523413206}, {vecX:0.006244223239933744, vecY:-0.0007690609039612836}, {vecX:0.00565998966810097, vecY:-0.0022623579866142235}, {vecX:0.0049817027367582535, vecY:0.0028621741517877454}, ],
[{vecX:-0.0013670702331093788, vecY:0.025945525526373144}, {vecX:-0.0019825699308327763, vecY:0.012222058031627072}, {vecX:-0.0037531942792489734, vecY:0.03611974925590902}, {vecX:-0.012527568944189682, vecY:0.03312443187562241}, {vecX:-0.03717212088295025, vecY:0.039403657074759006}, {vecX:-0.09030261194649625, vecY:0.0236487869267894}, {vecX:-0.20463514990514384, vecY:0.002522090611714908}, {vecX:-0.23808100259806267, vecY:-0.030002646017991103}, {vecX:-0.1155050821010811, vecY:-0.015934971731404828}, {vecX:-0.011979139826712597, vecY:-0.03176150463264785}, {vecX:-0.007438583244848667, vecY:-0.04398900154433052}, {vecX:0.000570436142705172, vecY:-0.04276768008142897}, {vecX:0.0011500150171738154, vecY:-0.039066737906250794}, {vecX:0.000824825512611511, vecY:-0.03449459367150351}, {vecX:0.0014103991750707167, vecY:-0.027345958689190986}, {vecX:0.0006436630613634663, vecY:-0.023347757331813036}, {vecX:0.0020341873465158666, vecY:-0.01790553704865369}, {vecX:0.003362188188932061, vecY:-0.01394667230447234}, {vecX:0.00367098160370737, vecY:-0.010614746844944197}, {vecX:0.004099763942485773, vecY:-0.006976943571967194}, {vecX:0.004354962292803788, vecY:-0.005501506004570886}, {vecX:0.004470790057386173, vecY:-0.0018697477470059063}, {vecX:0.004262565070950399, vecY:-0.001954129701838143}, {vecX:0.003803696485958783, vecY:0.001416790350677333}, ],
[{vecX:-0.0019438589766314683, vecY:0.026436863569160234}, {vecX:-0.003990646766640717, vecY:0.009068432501107341}, {vecX:-0.005480595246450678, vecY:0.03601280195820261}, {vecX:-0.011949479510164096, vecY:0.017988120244674704}, {vecX:-0.00912289083961862, vecY:0.032722005437491625}, {vecX:-0.048264624002902747, vecY:-0.0215409379298971}, {vecX:-0.13400771351444588, vecY:-0.07384634713677436}, {vecX:-0.25448012890595556, vecY:-0.08494509181212191}, {vecX:-0.07026282899885694, vecY:-0.04485483206423309}, {vecX:0.03392922078455823, vecY:-0.03878367810229749}, {vecX:0.04358520680354852, vecY:-0.03672665156690624}, {vecX:0.03227887780048031, vecY:-0.05332733967436762}, {vecX:0.018423930331409513, vecY:-0.04178244690791435}, {vecX:0.012388902170166275, vecY:-0.03813910233564546}, {vecX:0.007841489037579842, vecY:-0.027663289495176237}, {vecX:0.007307838925065176, vecY:-0.024330812752049673}, {vecX:0.005759960939981523, vecY:-0.017079835328348295}, {vecX:0.004752755890993116, vecY:-0.014451578231349942}, {vecX:0.0044960410174475435, vecY:-0.010057762376836863}, {vecX:0.004214428186803032, vecY:-0.00738675853194063}, {vecX:0.003996590099010643, vecY:-0.0050543307820718275}, {vecX:0.003592362532668549, vecY:-0.002605322771264671}, {vecX:0.0032963329589504923, vecY:-0.001722809237733204}, {vecX:0.0029609685183573293, vecY:0.0003912368609876142}, ],
[{vecX:-0.008803717564770882, vecY:0.023670019138099782}, {vecX:-0.0101299855609022, vecY:0.008462221146027217}, {vecX:-0.014465599885424108, vecY:0.030793450508950843}, {vecX:-0.014404174330378593, vecY:0.016800012985258538}, {vecX:-0.01911806555115775, vecY:0.032022810146674054}, {vecX:-0.00932493838663833, vecY:0.0044975040378567996}, {vecX:-0.07146196094663237, vecY:-0.0273298202898916}, {vecX:-0.24895770179141377, vecY:-0.13816833500954182}, {vecX:-0.15150966387445386, vecY:-0.14153692695047246}, {vecX:-0.02872438218623538, vecY:-0.1154120962995189}, {vecX:0.00759581293108961, vecY:-0.07681932518727633}, {vecX:-0.010813589677428077, vecY:-0.06695903667600095}, {vecX:-0.014385903471701794, vecY:-0.04557801116962555}, {vecX:-0.013240602549756876, vecY:-0.039233265313232575}, {vecX:-0.009812523178699881, vecY:-0.02768846027911858}, {vecX:-0.008160518871286868, vecY:-0.023187287773208998}, {vecX:-0.005255273133584782, vecY:-0.01686599255457055}, {vecX:-0.00303313250739139, vecY:-0.013450485427922685}, {vecX:-0.0011602920796525648, vecY:-0.00944272962607086}, {vecX:0.000014780422193188103, vecY:-0.007108331611505388}, {vecX:0.0009547129844752265, vecY:-0.004610663228017429}, {vecX:0.0016126538089027032, vecY:-0.002795277067233687}, {vecX:0.0020029262113297488, vecY:-0.0014386121130552034}, {vecX:0.0021077803362325423, vecY:-0.0001234705793807553}, ],
[{vecX:-0.00922226829787324, vecY:0.026476979417936565}, {vecX:-0.015536047654539092, vecY:0.02381030668539773}, {vecX:-0.007915419153409693, vecY:0.03661991588283806}, {vecX:-0.01490233885000062, vecY:0.04192283659609417}, {vecX:-0.0059540966899696394, vecY:0.05005575938088197}, {vecX:0.009580122992911553, vecY:0.06958253924597714}, {vecX:-0.0345515923452475, vecY:0.06896636776146955}, {vecX:-0.09603728611727015, vecY:0.02821101572210372}, {vecX:-0.11933066598107746, vecY:-0.0798248440315723}, {vecX:-0.021365625187008873, vecY:-0.04384479831914971}, {vecX:0.01888500724744845, vecY:-0.01015588998024893}, {vecX:0.017418049177566588, vecY:0.019742063717933578}, {vecX:0.007962135867343784, vecY:0.016672547075031425}, {vecX:0.008118662925640433, vecY:0.01306824672557302}, {vecX:0.0022405818110814955, vecY:0.008836250832602293}, {vecX:0.005205811971979123, vecY:0.004076664440407558}, {vecX:0.0018245185528599805, vecY:0.0030369588570133004}, {vecX:0.0033230713295986118, vecY:-0.00007336656899649849}, {vecX:0.0016667821719648567, vecY:0.00008310579756115958}, {vecX:0.002330544997299672, vecY:-0.0011781316836552164}, {vecX:0.0017451252560178848, vecY:-0.000823054406387168}, {vecX:0.0018436764125001, vecY:-0.0008342430425896791}, {vecX:0.0014462586838608015, vecY:-0.0006977263508271328}, {vecX:0.0014504893614937218, vecY:0.00018690548902470646}, ],
[{vecX:-0.024498910383273436, vecY:0.017889536736650204}, {vecX:-0.024478236481007037, vecY:-0.00016976523737296536}, {vecX:-0.03238879979434277, vecY:0.014917494524456353}, {vecX:-0.03273466987177043, vecY:0.006778649893830614}, {vecX:-0.04142301419844729, vecY:0.02149279413244649}, {vecX:-0.041904407432773176, vecY:0.02621219359936175}, {vecX:-0.061110848766706846, vecY:0.0628234088939716}, {vecX:-0.09190554118707149, vecY:0.04435543443007926}, {vecX:-0.11801954325994855, vecY:-0.003781185031354282}, {vecX:-0.12353268033394015, vecY:-0.0944870701991365}, {vecX:-0.045034120525811905, vecY:-0.11122835407207343}, {vecX:-0.014054084177648531, vecY:-0.09330196194362098}, {vecX:-0.004979404411614517, vecY:-0.07650324686405156}, {vecX:-0.0013312031555824894, vecY:-0.05366872264450541}, {vecX:-0.0026082528590378176, vecY:-0.044503920566046566}, {vecX:-0.0005405705876931706, vecY:-0.030480854929649855}, {vecX:-0.0014902621306661587, vecY:-0.02479243211791035}, {vecX:0.0002883143206777802, vecY:-0.016769365996736462}, {vecX:0.00039818341294019233, vecY:-0.012765355346904043}, {vecX:0.0014815521986798392, vecY:-0.008704833321001413}, {vecX:0.0013447767999393801, vecY:-0.005873562635023744}, {vecX:0.002044239608124731, vecY:-0.0037679195274831177}, {vecX:0.0014621898994531396, vecY:-0.001995339560322504}, {vecX:0.0020308772334279536, vecY:-0.0006516284029565194}, ],
]
;
public function ForceMap3()
{
super();
}
public function setup():void {
size(465,465);
background(0);
vectorF = new VectorField(this,width/20,height/20,0.1,54655465);
strokeColor = color(150,255,255,20);
var i:int;
myParticle = [];
for(i=0;i < numOfLine;i++){
myParticle[i] = new Particle(mouseX,mouseY,0,0,this,vectorF);
}
}
public function keyPressed():void {
switch(keyCode){
case 32:
if(drawflg==0) {
vectorF.resetVecArray(arr1);
drawflg=1;
// vectorF.resetVector();
} else {
// var ar1:Array = vectorF.getCellsVec();
vectorF.resetVecArray(arr2);
drawflg=0;
}
break;
}
}
public function draw():void {
fill(0, 0, 0, 1);
noStroke();
rect(0, 0, width, height);
// if(drawflg==0) {
noFill();
var i:int;
for(i=0;i<numOfLine;i++) {
myParticle[i].draw();
}
noStroke();
// } else {
// vectorF.drawVector()
// }
}
}
}
class VectorField {
private var numOfCellX:int;
private var numOfCellY:int;
private var cellWidth:Number, cellHeight:Number;
public var cells:Array;
private var rootMC:F5MovieClip2DBmp;
private var mox:Number, moy:Number;
public function VectorField(_root:F5MovieClip2DBmp, _numOfCellX:int, _numOfCellY:int, noiseFactor:Number, seed:int) {
rootMC = _root;
numOfCellX = _numOfCellX;
numOfCellY = _numOfCellY;
cellWidth = rootMC.width / numOfCellX;
cellHeight = rootMC.height / numOfCellY;
mox = rootMC.mouseX;
moy = rootMC.mouseY;
var offsetAX:Number = rootMC.mouseX;
var offsetAY:Number = rootMC.mouseY;
var offsetBX:Number = (Math.random()*rootMC.width)-rootMC.width/2;
var offsetBY:Number = (Math.random()*rootMC.height)-rootMC.height/2;
var i:int;
var j:int;
cells = [];
for(i=0;i<numOfCellX+1; i++) {
cells[i]=[];
}
for(j=0;j<numOfCellY+1;j++) {
for(i=0;i<numOfCellX+1; i++) {
cells[i][j] = new Cell(i,j,
rootMC.noise((i + offsetAX) *noiseFactor, (j+offsetAY) * noiseFactor) - 0.5,
rootMC.noise((i+offsetBX) *noiseFactor, (j+offsetBY) * noiseFactor ) - 0.5,
cellWidth, cellHeight);
}
}
var gridData:Cell;
//隣接するグリッドをセットしていく。
for(j=0;j<numOfCellY+1;j++) {
for(i=0;i<numOfCellX+1; i++) {
gridData = cells[i][j];
if (j > 0) {
var up:Cell = cells[i][j - 1];//上
gridData.up = up;
up.low = gridData;//下
}
if (i > 0) {
var left:Cell = cells[i - 1][j];//左
gridData.left = left;
left.right = gridData;//右
}
if (j > 0 && i > 0) {
var upperLeft:Cell = cells[i - 1][j - 1];
gridData.upperLeft = upperLeft;
upperLeft.lowerRight = gridData;
}
if (j > 0 && i < numOfCellX - 1) {
var upperRight:Cell = cells[i + 1][j - 1];
gridData.upperRight = upperRight;
upperRight.lowerLeft = gridData;
}
}
}
}
public function getCellsVec():Array {
var arr:Array = [];
var i:int,j:int;
var s:String = "";
for(i=0;i<numOfCellX+1; i++) {
arr[i]=[];
}
s+="[\n";
for(i=0;i<numOfCellX+1; i++) {
s+="["
for(j=0;j<numOfCellY+1;j++) {
arr[i][j] = {vecX:cells[i][j].vecX, vecY:cells[i][j].vecY};
s+="{vecX:"+cells[i][j].vecX+", "+"vecY:"+cells[i][j].vecY+"}, ";
}
s+="],\n"
}
s+="]";
trace(s);
return arr;
}
public function getCell(_posX:Number,_posY:Number):Cell {
return cells[int(_posX/cellWidth)][int(_posY/cellHeight)];
}
public function getVecX(_posX:Number,_posY:Number):Number {
return cells[int(_posX/cellWidth)][int(_posY/cellHeight)].getVecX;
}
public function getVecY(_posX:Number,_posY:Number):Number {
return cells[int(_posX/cellWidth)][int(_posY/cellHeight)].getVecY;
}
public function drawGrid():void {
rootMC.noSmooth();
rootMC.stroke(128,128);
var i:int;
for(i=0;i<numOfCellX;i++) {
rootMC.line(cellWidth*i,0,cellWidth*i,rootMC.height);
}
for(i=0;i<numOfCellY;i++) {
rootMC.line(0,cellHeight*i,rootMC.width,cellHeight*i);
}
}
public function resetVecArray(arr:Array):void {
var i:int,j:int;
for(j=0;j<numOfCellY+1;j++) {
for(i=0;i<numOfCellX+1; i++) {
cells[i][j].vecX = arr[i][j].vecX;
cells[i][j].vecY = arr[i][j].vecY;
}
}
}
public function resetVector():void {
var i:int,j:int;
for(j=0;j<numOfCellY+1;j++) {
for(i=0;i<numOfCellX+1; i++) {
cells[i][j].resetVec();
}
}
}
public function drawVector():void {
var drawVectorLength:Number = (cellWidth+cellHeight)/2*10;
var mnx:Number = rootMC.mouseX;
var mny:Number = rootMC.mouseY;
rootMC.stroke(0xFFFFFF);
var i:int,j:int;
for(j=0;j<numOfCellY+1;j++) {
for(i=0;i<numOfCellX+1; i++) {
if(rootMC.isMousePressed){
cells[i][j].CulcMouseVec(mnx, mny, mnx-mox, mny-moy);
cells[i][j].updatePressure();
}
rootMC.line(cellWidth*i+cellWidth/2, cellHeight*j+cellHeight/2,cellWidth*i+cellWidth/2+cells[i][j].getVecX*drawVectorLength, cellHeight*j+cellHeight/2+cells[i][j].getVecY*drawVectorLength);
}
}
for(j=0;j<numOfCellY+1;j++) {
for(i=0;i<numOfCellX+1; i++) {
if(rootMC.isMousePressed)
cells[i][j].apdateVelocity();
}
}
mox = rootMC.mouseX;
moy = rootMC.mouseY;
}
}
import frocessing.display.F5MovieClip2DBmp;
import frocessing.math.Random;
import flash.geom.Rectangle;
class BaseGridData {
public var posX:int = 0;
public var posY:int = 0;
public var x:int = 0;
public var y:int = 0;
public var vecX:Number = 0;
public var vecY:Number = 0;
public var pressure:Number = 0;
public var color:Number = 0;
public var rgb:uint;
public var rectangle:Rectangle;
}
class NullGridData extends BaseGridData {}
class Cell extends BaseGridData {
private var cellWidth:Number, cellHeight:Number;
public function Cell(_posX:int, _posY:int, _vecX:Number, _vecY:Number, _cW:Number, _cH:Number) {
posX = _posX;
posY =_posY;
vecX = _vecX;
vecY = _vecY;
cellWidth = _cW;
cellHeight = _cH;
x = posX * cellWidth;
y = posY * cellHeight;
}
//すべてのグリッドが8方向に隣接したグリッドを持つわけではないので、
//空のデータをセットしておく。
public var upperLeft:BaseGridData = new NullGridData();//左上
public var up:BaseGridData = new NullGridData();//上
public var upperRight:BaseGridData = new NullGridData();//右上
public var left:BaseGridData = new NullGridData();//左
public var right:BaseGridData = new NullGridData();//右
public var lowerLeft:BaseGridData = new NullGridData();//左下
public var low:BaseGridData = new NullGridData();//下
public var lowerRight:BaseGridData = new NullGridData();//右下
public function get getVecX():Number {
return vecX;
}
public function get getVecY():Number {
return vecY;
}
public function resetVec():void {
vecX = 0;
vecY = 0;
}
public function CulcMouseVec(mx:Number, my:Number, mvx:Number, mvy:Number):void {
var dx:Number = mx - posX*cellWidth;
var dy:Number = my - posY*cellHeight;
var distance:Number = Math.sqrt(dx*dx+dy*dy);
var penSize:Number = 40;
if(distance<penSize) {
if(distance<4) {
distance=penSize;
}
var power:Number = 0.005*penSize/distance;
vecX += mvx * power;
vecY += mvy * power;
}
}
public function updatePressure():void {
var pressureX:Number = (
upperLeft.vecX * 0.5 //左上
+ left.vecX //左
+ lowerLeft.vecX * 0.5 //左下
- upperRight.vecX * 0.5 //右上
- right.vecX //右
- lowerRight.vecX * 0.5 //右下
);
var pressureY:Number = (
upperLeft.vecY * 0.5 //左上
+ up.vecY //上
+ upperRight.vecY * 0.5 //右上
- lowerLeft.vecY * 0.5 //左下
- low.vecY //下
- lowerRight.vecY * 0.5 //右下
);
pressure = (pressureX + pressureY) * 0.25;
}
public function apdateVelocity():void {
vecX += (
upperLeft.pressure * 0.5 //左上
+ left.pressure //左
+ lowerLeft.pressure * 0.5 //左下
- upperRight.pressure * 0.5 //右上
- right.pressure //右
- lowerRight.pressure * 0.5 //右下
) * 0.25;
vecY += (
upperLeft.pressure * 0.5 //左上
+ up.pressure //上
+ upperRight.pressure * 0.5 //右上
- lowerLeft.pressure * 0.5 //左下
- low.pressure //下
- lowerRight.pressure * 0.5 //右下
) * 0.25;
vecX *= 0.99;
vecY *= 0.99;
}
}
class Particle {
public var posX:Number, posY:Number, oldPosX:Number, oldPosY:Number;
public var velocityX:Number, velocityY:Number;
public var noLineflg:Boolean = false;
private var root:F5MovieClip2DBmp;
private var vectorF:VectorField;
private var resolution:int = 10;
public function Particle(_px:Number,_py:Number,_velx:Number, _vely:Number, rMC:F5MovieClip2DBmp,vec:VectorField) {
root = rMC;
posX = _px;
posY = _py;
oldPosX = _px;
oldPosY = _py;
velocityX = _velx;
velocityY = _vely;
vectorF = vec;
noLineflg = false;
}
public function draw():void {
update();
if(noLineflg) {
oldPosX = posX;
oldPosY = posY;
noLineflg = false;
} else {
root.stroke(0xFFFFFF);
root.moveTo(posX, posY);
root.lineTo(oldPosX, oldPosY);
oldPosX = posX;
oldPosY = posY;
}
}
public function update():void {
if( (posX<0)||(posY<0)||(posX>root.width)||(posY>root.height) ) {
clear();
} else {
var absvX:Number = velocityX; //絶対値
absvX = absvX < 0 ? -absvX : absvX;
var absvY:Number = velocityY; //絶対値
absvY = absvY < 0 ? -absvY : absvY;
if(absvX<0.01&&absvY<0.01) {
clear();
return;
}
var _cell:Cell = vectorF.getCell(posX, posY);
var ax:Number = (posX % resolution) / resolution;
var ay:Number = (posY % resolution) / resolution;
velocityX += (1 - ax) * _cell.vecX * 0.5;
velocityY += (1 - ay) * _cell.vecY * 0.5;
velocityX += ax * _cell.right.vecX * 0.5;
velocityY += ax * _cell.right.vecY * 0.5;
velocityX += ay * _cell.low.vecX * 5;
velocityY += ay * _cell.low.vecY * 5;
velocityX += vectorF.getVecX(posX,posY);
velocityY += vectorF.getVecY(posX,posY);
posX += velocityX*5;
posY += velocityY*5;
velocityX *= 0.6;
velocityY *= 0.6;
}
}
private function clear():void {
posX = root.mouseX;
posY = root.mouseY;
velocityX = Math.random() * 10 - 5;
velocityY = Math.random() * 10 - 5;
noLineflg = true;
}
}