Skip to content

Instantly share code, notes, and snippets.

@claytantor
Created August 6, 2014 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claytantor/eafe33f2af0e2b1ba27b to your computer and use it in GitHub Desktop.
Save claytantor/eafe33f2af0e2b1ba27b to your computer and use it in GitHub Desktop.
single page simulation
<!DOCTYPE html>
<html>
<head>
<title>P5</title>
<script src="{{ STATIC_URL }}js/jquery-1.11.1.min.js"></script>
<script src="{{ STATIC_URL }}js/jquery-ui-core.min.js"></script>
<script src="{{ STATIC_URL }}js/three.js"></script>
<script src="{{ STATIC_URL }}js/gldev.jquery.js"></script>
<script>
$( document ).ready(function() {
console.log("ready!");
$( "#threejs_canvas_area" ).parse({
"renderer": {
"name": "main-renderer",
"type": "WebGLRenderer",
"alpha": true
},
"camera":
{
"name": "camera1",
"type": "PerspectiveCamera",
"fov": 70,
"aspect": "element-centered",
"near": 0.5,
"far": 500,
"position": {
"x": 0,
"y": 0,
"z": 20
}
},
"scene":{
"metadata": {
"version": 4.3,
"type": "Object",
"generator": "ObjectExporter"
},
"geometries": [
{
"uuid": "D725F687-1A3A-4CC6-AAA0-898496C8947E",
"type": "Geometry",
"data": {
"vertices": [2.778204,0.9652808,-0.8546475,2.778204,-1.034719,-0.8546475,0.7782035,-1.034719,-0.8546475,0.778204,0.9652813,-0.8546475,2.778204,0.9652804,0.3444144,2.778203,-1.03472,0.3444144,0.7782035,-1.034719,0.3444144,0.7782037,0.9652808,0.3444144,4.133425,0.9652804,-0.8546475,4.133425,-1.034719,-0.8546475,4.133425,0.9652799,-0.2483288,4.133424,-1.03472,-0.2483288,4.566657,0.9652804,-0.8546475,4.566657,-1.03472,-0.8546475,4.566658,0.9652799,-0.2483288,4.566657,-1.03472,-0.2483288,5.526319,0.9652799,-0.854647,5.526319,-1.03472,-0.854647,5.52632,0.9652794,-0.2483285,5.526319,-1.03472,-0.2483285,5.969153,0.9652799,-0.854647,5.969153,-1.03472,-0.854647,5.969154,0.9652794,-0.2483285,5.969153,-1.034721,-0.2483285,6.722322,0.9652796,-0.854647,6.722322,-1.03472,-0.854647,6.722322,0.9652792,-0.2483285,6.722321,-1.034721,-0.2483285,7.151834,0.9652796,-0.854647,7.151834,-1.03472,-0.854647,7.151834,0.9652792,-0.2483285,7.151834,-1.034721,-0.2483285,3.814333,1.171831,1.172675,3.814331,-1.241271,1.172675,4.33705,1.171831,1.172675,4.337049,-1.241271,1.172675,5.494932,1.17183,1.172676,5.49493,-1.241271,1.172676,6.029233,1.17183,1.172676,6.029232,-1.241272,1.172676,6.93797,1.17183,1.172676,6.937968,-1.241272,1.172676,7.456198,1.17183,1.172676,7.456196,-1.241272,1.172676,3.814333,1.171831,2.021423,3.814331,-1.241271,2.021423,4.33705,1.171831,2.021423,4.337049,-1.241271,2.021423,5.494932,1.17183,2.021423,5.49493,-1.241271,2.021423,6.029233,1.17183,2.021423,6.029232,-1.241272,2.021423,6.93797,1.17183,2.021423,6.937968,-1.241272,2.021423,7.456198,1.17183,2.021423,7.456196,-1.241272,2.021423,7.02956,0.7453414,3.853393,7.02956,-0.814783,3.853393,7.364606,0.7453411,3.853393,7.364605,-0.8147832,3.853393,7.02956,0.7453414,4.279498,7.02956,-0.01568263,4.279498,7.364606,0.7453411,4.279498,7.364605,-0.01568287,4.279498,5.662597,0.4145907,3.378022,5.662597,-0.4840314,3.378022,5.861567,0.4145904,3.378022,5.861567,-0.4840316,3.378022,5.662597,0.4145907,5.000695,5.662597,-0.003461062,5.000695,5.861567,0.4145904,5.000695,5.861567,-0.003461062,5.000695,3.935458,0.6126602,3.05624,3.935457,-0.6821,3.05624,4.215924,0.61266,3.05624,4.215923,-0.6821,3.05624,3.935458,0.9978388,4.606354,3.935457,0.3491371,4.606354,4.215924,0.9978386,4.606354,4.215923,0.3491371,4.606354,0.5099878,-1.818569,-0.8546475,0.5099883,1.749131,-0.8546475,0.5099878,-1.818568,0.1096714,0.5099881,1.74913,0.1096714,-0.3854597,-1.818569,-0.854648,-0.3854597,1.749131,-0.854648,-0.3854606,-1.818568,-0.09350287,-0.3854597,1.749131,-0.09350287,-0.7014616,-0.4768333,-0.8546485,-0.7014606,0.4073959,-0.8546485,-0.7014616,-0.4768331,-0.2483297,-0.7014616,0.4073957,-0.2483297,4.215924,0.8859654,4.156131,4.215923,0.02158027,4.113984,4.215924,0.7910916,3.774321,4.215923,-0.2405061,3.720026,5.662597,-0.1906815,4.368535,5.662597,0.4145907,4.335022,5.662597,0.4145907,3.950226,5.662597,-0.3082361,3.971605,5.231795,-0.107752,4.304136,5.231795,0.3138225,4.280795,5.231795,0.3138225,4.012783,5.231795,-0.1896293,4.027673,4.805103,0.3372845,4.216415,4.805102,-0.1143109,4.194395,4.805103,0.2877179,4.016939,4.805102,-0.2512371,3.988573,7.017637,-0.8703027,3.61491,7.01757,0.801172,3.613574,6.986199,-1.016688,2.986117,6.985068,0.9525173,2.963476,5.861567,0.4145904,3.542907,5.861567,-0.4378654,3.533905,5.861567,0.4145904,4.050516,5.861567,-0.3038167,3.986528,6.177727,0.2404978,3.542907,6.177726,-0.3715156,3.533905,6.177727,0.2404978,4.050516,6.177726,-0.2374669,3.986528,6.651915,0.2861297,3.864522,6.651915,-0.1491795,3.864522,6.639991,-0.2046992,3.626039,6.639925,0.3419604,3.624703],
"normals": [0,0,-1,0,0,1,0.4007246440302944,-2.0036228197069705e-7,0.9161985372542099,0.4007247,-2.38851e-7,0.9161986,-5.000001250698578e-7,-0.9999999999998751,0,-4.76837e-7,-1,1.98838e-7,-0.6585908568441786,6.585909227222091e-8,0.752501218126088,-0.6585906,0,0.7525015,2.499999999794038e-7,0.9999999999998819,4.169927131858727e-7,2.38419e-7,1,3.97675e-7,0.9778217192458872,0,-0.2094389776785048,0.9778219,-4.66262e-7,-0.2094385,0,-0.9999999999986399,-0.000001649297638582511,-1.75926e-7,-1,-0.00000117967,5.148500846605597e-7,0.9999999999998119,3.335941205465932e-7,5.25786e-7,1,3.97675e-7,-3.12610064773698e-7,1.5630504022394898e-13,0.9999999999999512,-2.4844e-7,0,1,-0.000002308232079202629,-0.999999999997336,0,-5.50325e-7,-1,-7.86447e-7,0,0.9999999999996599,8.246488192920967e-7,0,1,7.86446e-7,0,0.9896003979791658,-0.14384384699901723,0,0.9896004,-0.1438441,0,-1,0,-2.4844e-7,-1,-7.86447e-7,5.210165168196296e-7,0.9999999999995242,8.246482318156412e-7,4.9688e-7,1,7.86446e-7,5.210167746131439e-7,0,-0.9999999999998642,4.9688e-7,0,-1,0,-0.9999999999986399,-0.0000016492981822530126,0,-1,-0.00000117967,0,0.9999999999996598,8.246490911273475e-7,0,1,7.86447e-7,0,-0.9896003781526794,-0.14384398339893645,-4.55281e-7,-0.9896004,-0.1438441,0,-0.99999999999864,-0.0000016492981822530128,-3.16554e-7,-1,-0.00000117967,2.655450045749427e-7,0.9999999999997471,6.597192729751791e-7,3.16554e-7,1,7.86447e-7,1,0,0,1,-4.76837e-7,0,0,-0.9999999999986401,-0.0000016492981822530128,-5.55093e-7,-1,-7.86447e-7,0,0.9999999999997823,6.597192729752023e-7,0.9999999999996566,-8.288087280979796e-7,0,1,-7.90413e-7,0,0,1,0,9.20131e-7,1,0,0,-0.9999999999999999,0,-4.60065e-7,-1,0,-0.9886800892767638,4.943399952734802e-7,0.15003893183919287,-0.9886801,4.71439e-7,0.1500387,-0.0000018521367863425736,-0.9896003892978215,-0.1438439067119972,-4.41584e-7,-0.9896005,-0.143844,0,0.9896004178056339,-0.1438437105990898,0,0.9896004,-0.143844,0.9991074316316515,-4.1403447963820804e-7,-0.04224144952808228,0.9991074,-3.94854e-7,-0.04224115,-0.999756122179277,4.998782111229737e-7,-0.022083843977088628,-0.9997562,7.15081e-7,-0.02208364,0,-0.9896003680660481,-0.1438440527917028,0,-0.9896004,-0.143844,0,0.9896003581527888,-0.14384412099169094,4.5137e-7,0.9896003,-0.143844,0.9871958742731329,-4.935979618854586e-7,0.15951271365587355,0.9871959,-7.06097e-7,0.1595127,-0.9757027432083258,4.878513960649236e-7,-0.21909850956934826,-0.9757028,6.97877e-7,-0.219098,0,-0.8797739130608101,0.47539232418884325,0,-0.8797737,0.4753926,-0.0000016342422897393593,-0.873178923964153,0.4873998017460954,-3.89634e-7,-0.8731789,0.4873998,-5.813877243890356e-7,-0.9739552505616155,0.22674031380220605,-3.46534e-7,-0.9739553,0.2267403,-0.9999999999996566,8.288087284660446e-7,0,-1,7.90413e-7,0,-0.0000018716007050618964,-0.9999999999982485,0,-4.46225e-7,-1,0,0,0.9999999999999999,0,0.9999999999999142,-4.1440436386506406e-7,0,1,-3.95207e-7,0,-0.9999999999996565,8.28809071928141e-7,0,-1,5.9281e-7,0,-4.56114e-7,-1,0,4.56114e-7,1,0,0.9999999999999142,-4.1440436386506395e-7,0,1,-5.9281e-7,0,-0.9999999999996565,8.288087282820119e-7,0,-2.80868464903151e-7,-0.47051787410385115,0.8823904635413472,-1.67411e-7,-0.4705183,0.8823902,0.0000010791243332965846,0.9739552807427724,0.22674018415821875,8.96779e-7,0.9739553,0.2267402,0.998752523045501,-6.401749675875856e-7,0.04993393345047421,0.9987525,-6.10518e-7,0.04993385,-0.9987525355806951,4.871980229144472e-7,0.04993368272914735,-0.9987525,4.64344e-7,0.04993379,8.953994378802236e-7,0.9999999999995991,0,7.116e-7,1,0,0.9999999999991367,-0.0000013140190579528193,0,1,-0.00000125315,0,-1,0,0,-1.43371809752414e-7,-0.9588337173623898,0.28396813632694823,-3.18624e-7,-0.9588337,0.2839681,0,0.8731791393288942,0.48739941592173824,0,0.873179,0.4873996,0.9924488262180557,-4.1127512449755817e-7,0.1226593956378159,0.9924489,-3.92223e-7,0.122659,-0.9924487651074467,8.22550539945215e-7,0.12265989008647964,-0.9924488,5.88334e-7,0.1226596,0.9999999999999999,0,0,1,-0.00000106126,3.14304e-7,1,-0.00000111874,0,0,-0.8325883453980679,0.5538922703083221,0,-0.8325884,0.5538923,0,0.8797739841757326,0.47539219258161763,4.01277e-7,0.8797739,0.4753923,0.9932192191563454,-7.671068146182887e-7,0.11625653830159947,0.9932192,-7.3157e-7,0.1162562,-0.9932192226554835,8.231887608346225e-7,0.11625650840688294,-0.9932193,5.8879e-7,0.1162566,1.449740148457064e-7,0.9704876168495844,-0.24115096006774064,5.73946e-7,0.9704878,-0.2411508,0.999999999999488,-9.82215742421048e-7,2.440648429151801e-7,1,-9.36714e-7,2.32758e-7,-0.9999999999995699,7.723437901005514e-7,-5.138135455239431e-7,-1,5.52423e-7,-3.67508e-7,-0.22127251762940256,5.581896506961651e-8,0.975212014354798,-0.2212726,0,0.9752119,0.9461430624585012,0.3237488306718121,5.319583003478175e-7,0.9461432,0.3237487,5.541e-7,0.9461429738983531,-0.3237490894856389,0,0.9461431,-0.3237488,0,-0.43998331411364344,1.1099170156710022e-7,0.8980059483664696,-0.4399834,0,0.8980059,0,1,6.26473e-7,-2.3529216431276774e-7,-0.9999999999994345,0.000001037001348972018,0,-1,4.94481e-7,5.583800278171404e-7,0,-0.9999999999998441,5.32513e-7,0,-1,-0.973368863251163,0.22924453330624597,-0.000001529756221692797,-0.9733689,0.2292444,-0.00000144086,-0.9733688175591744,-0.22924472731718942,-8.497554315629428e-7,-0.9733688,-0.2292446,-0.00000107596,0.0000015822613697403905,-1.7894244725076816e-12,-0.9999999999987482,0.00000150896,0,-1,0.9999999999987383,-0.0000015415410633989845,3.830482487430618e-7,1,-0.00000147013,3.65303e-7,0.41499373261566375,0.047819238249244236,-0.9085667407202296,0.4149944,0.04781883,-0.9085664,-0.9999999999999999,0,0,-0.13692851633045994,-0.02928553944150232,-0.9901479377321145,-0.1369293,-0.02928483,-0.9901479,-0.2213914800249074,-0.9350402408569649,0.2769215783403857,-0.221391,-0.9350404,0.2769215,-0.22776060790987185,0.9737171588734205,0,-0.2277605,0.9737172,0,-0.13730062543663982,0.05476023165735562,0.9890145880034027,-0.1373013,0.05475956,0.9890145,0.9999999999973327,-0.0000022415303580687573,5.569844926018715e-7,1,-0.00000213769,5.31182e-7,-0.25852909819733716,-0.8042834957772528,0.5350614579705711,-0.2585295,-0.8042832,0.5350618,0.6804048770546629,0.7112087100762265,-0.17672400513778252,0.6804051,0.7112084,-0.1767239,-0.14597030452311485,-0.04818062103397627,0.9881150226336048,-0.1459711,-0.04818034,0.988115,-0.030865617020976215,-0.0008001503237559481,-0.9995232230645639,-0.0308662,-0.00079991,-0.9995232,-0.9987524681761184,-1.2157771224254788e-7,0.04993503091114298,-0.9987525,2.96273e-7,0.04993396,0.027836282056168893,-0.13264080824051164,0.9907732118858449,0.02783638,-0.1326416,0.9907731,1,-0.00000228124,0,0.9999999999978114,-0.000002092204717498153,0,1,-0.00000199528,0,0.19726875379704287,-0.939992161720446,0.2783878134536149,0.1972683,-0.9399921,0.278388,0.48235391488149576,0.8759764270792307,0,0.4823547,0.875976,0,0.005814454438076186,0.01055931105137247,-0.9999273438953992,0.005814552,0.01055949,-0.9999274,-0.9987523702088663,0,0.04993699031952014,-0.9987525,0,0.04993408,-0.8578702990439839,-0.4893538537911237,0.15681631228275048,-0.8578702,-0.4893546,0.156814,-0.7570159909683877,0.627007252155653,0.18381701543210613,-0.7570156,0.6270079,0.1838163,0.029456687247076927,0,0.9995660576352259,0.02945762,0,0.999566,0.40072464403023234,-2.0036233205977317e-7,0.9161985372542369,0.4007246,-2.8207e-7,0.9161986,0,-0.9999999999996523,-8.339853014589408e-7,0,-1,-3.97675e-7,-0.658590918435739,5.5379484351785936e-8,0.7525011642210043,-0.6585908,0,0.7525013,1.9999997000574052e-7,0.9999999999999243,3.335941205466307e-7,0.9778219769658302,-8.104273890362995e-7,-0.20943777443904074,0.977822,-7.73357e-7,-0.209438,-3.647665559034882e-7,-0.9999999999995857,-8.339856056688311e-7,-5.25786e-7,-1,-3.97676e-7,2.951548123969072e-7,0.9999999999996163,8.246488192920606e-7,3.51852e-7,1,7.86446e-7,-3.1261006477361654e-7,1.5630507927606365e-13,0.9999999999999512,0,-0.99999999999864,-0.0000016492976385825113,0,0,-0.9999999999999999,0,0.9896003979791657,-0.14384384699901723,9.21132e-7,0.9896004,-0.143844,5.210163450732354e-7,0.9999999999995242,8.246479599809571e-7,0,0,0.9999999999999999,-0.000002258182524185548,-0.9999999999974505,0,-5.38392e-7,-1,-7.86447e-7,0,0.9999999999996599,8.246490911273475e-7,0,-0.9896003781526796,-0.1438439833989365,0,-0.9999999999986398,-0.0000016492981822530126,3.983169779332261e-7,0.9999999999995808,8.246484341838152e-7,3.16554e-7,1,7.86446e-7,1,0,-0.00000157289,-0.9886800143944242,8.194266255792614e-7,0.15003942527339187,-0.9886801,7.81945e-7,0.1500392,-0.0000022346982640042957,-0.9896003711234903,-0.14384403174013297,-5.32793e-7,-0.9896004,-0.143844,0.9991074260271549,-4.995536127289887e-7,-0.04224158208618178,0.9991075,-4.76412e-7,-0.04224127,-0.9997561334489519,8.286069531175151e-7,-0.022083333772664884,-0.9997561,5.91943e-7,-0.02208381,0,-0.9896003680660481,-0.14384405279170281,-4.36758e-7,-0.9896003,-0.143844,0,0.9896003581527887,-0.14384412099169094,0.9871958949351674,-4.0909828685835244e-7,0.15951258578239796,0.987196,-5.83433e-7,0.1595125,-0.9757028497048025,8.086710380426494e-7,-0.21909803531130406,-0.9757028,5.76641e-7,-0.2190982,0,-0.87977391306081,0.4753923241888432,-4.01277e-7,-0.8797739,0.4753925,-8.776991615371312e-7,-0.8731790109825838,0.4873996458541047,-7.71267e-7,-0.8731788,0.4873999,0,-0.9739553087732952,0.22674006375652964,-4.48083e-7,-0.9739553,0.2267403,-6.127227544131388e-7,-0.9739552404939038,0.2267403570476298,-2.23889e-7,-0.9739553,0.2267402,4.5312071303671895e-8,-0.9739553038981582,0.22674008469753248,-4.50797e-7,-0.9739552,0.2267403,-3.3704214465537036e-7,-0.47051785576565563,0.8823904733198199,-2.94664e-7,-0.4705183,0.8823902,0,0.9739553999235046,0.22673967222311645,8.91836e-7,0.9739553,0.2267402,3.484546841495697e-7,0.9739552119264636,0.22674047975859044,7.49599e-7,0.9739553,0.2267403,8.720790991082215e-7,0.9739553792578198,0.2267397609904267,6.93066e-7,0.9739552,0.2267403,0.9987525331910211,-8.277748167189697e-7,0.04993373052189024,0.9987525,-7.89427e-7,0.04993367,-0.9987525751337692,8.277748518490913e-7,0.04993289159440934,-0.9987525,7.89427e-7,0.04993307,0.9999999999990722,-6.409745685897272e-7,0.0000012020581529943524,1,-6.11281e-7,0.00000114637,-9.63797441614581e-7,-0.9588338847509402,0.28396757112827514,-0.00000115164,-0.9588336,0.283968,-9.226932299519921e-7,-0.958833775376136,0.2839679404388709,-6.5691e-7,-0.9588338,0.2839681,0,-0.9588337296491559,0.28396809484005375,0,-0.9588338,0.283968,-9.087735432097682e-7,-0.9588338259091322,0.28396776981134647,-6.41665e-7,-0.9588338,0.2839679,-0.0000011850687474468657,-0.958833807850699,0.2839678307856796,-0.00000108877,-0.9588338,0.283968,0.000001316548707501302,0.8731789878991489,0.4873996872072085,0.00000115689,0.8731789,0.4873998,0.9924488873282811,0,0.12265890118885289,0.9924489,-0.0000010554,0.1226599,-0.9924488873282812,0,0.12265890118885225,-0.9924489,0,0.1226589,0.000001507764989459589,0.9999999999988634,0,0.00000119826,1,0,0.0000015077649894595888,0.9999999999988632,0,0.0000015077649894595892,0.9999999999988634,0,0.0000015077649894595886,0.9999999999988632,0,-0.0000012631887161048612,-0.8325886191713807,0.5538918587817465,6.273657999438841e-7,0.8797738823479415,0.47539238102649145,7.22715e-7,0.8797739,0.4753925,0,-0.8325882873445648,0.5538923575719785,2.624499658934498e-7,-0.8325883965372776,0.5538921934378713,0.9932191456123494,-4.1159434821612336e-7,0.11625716661309685,0.9932193,-5.8879e-7,0.1162565,-0.9932192342570826,7.671067077875292e-7,0.11625640929078357,-0.9932193,5.52309e-7,0.1162565,6.920537270238515e-7,0.970487702989451,-0.24115061340535748,8.24991e-7,0.9704875,-0.2411507,6.920537224957382e-7,0.9704876966087561,-0.2411506390838559,8.30309e-7,0.9704877,-0.2411506,9.444432096810403e-7,0.9704876799187744,-0.24115070625022528,8.64847e-7,0.9704877,-0.2411507,0.9999999999995699,-7.723439094035557e-7,5.138137277597945e-7,1,-7.36564e-7,4.90011e-7,-0.9999999999987386,0.0000015415405881293612,-3.830482439219593e-7,-1,0.0000011026,-2.73977e-7,-0.2212723766238916,1.860631505283222e-8,0.9752120463484926,-0.2212724,0,0.975212,0.9461430020755219,0.323749007138834,3.717217636006926e-7,0.9461431,0.3237488,3.16876e-7,0.9461431004129233,-0.32374871975176694,3.357278591124703e-7,0.9461432,-0.3237487,1.49215e-7,-0.43998394460383533,0,0.8980056394538117,-0.4399841,0,0.8980056,8.814673180878217e-7,0.9999999999990739,0.0000010370015315579429,3.0812e-7,1,9.88961e-7,-7.336052033787907e-13,-0.9999999999991369,0.000001313809890813142,0,-1,6.26473e-7,5.58379716029059e-7,-7.825485830971255e-14,-0.9999999999998441,5.32512e-7,0,-1,-0.9999999999980004,0.000001130928496849862,-0.0000016492969933326438,-1,0.00000107854,-0.00000157289,-0.973368708999505,0.22924518826059861,0,-0.9733688,0.2292451,1.43616e-7,-0.9733687242495419,-0.22924512350934204,7.561867573830488e-8,-0.9733688,-0.2292451,0,0.0000015822739747553348,0,-0.9999999999987481,0.00000150897,0,-1,0.9999999999989688,-0.0000011956771296570051,7.954428789202188e-7,1,-0.00000114029,7.58593e-7,0.41499433826293464,0.04781843109530671,-0.9085665065680621,0.4149947,0.0478186,-0.9085664,-0.1369300372368226,-0.029284432290472253,-0.9901477601488311,-0.1369294,-0.02928477,-0.9901479,-0.22139113075124423,-0.9350404544852206,0.2769211362477726,-0.2213909,-0.9350404,0.2769213,-0.22776060790987174,0.9737171588734203,0,-0.13730317065906653,0.05475801812434698,0.9890143572153344,-0.1373013,0.0547595,0.9890145,0.9999999999973335,-0.0000019227659926098056,0.0000012791491718926496,1,-0.00000183369,0.00000121989,-0.25852899440747135,-0.8042833768568045,0.5350616868758937,-0.2585296,-0.8042832,0.5350617,0.680404824941727,0.7112087076795066,-0.17672421542296937,0.6804051,0.7112085,-0.176724,-0.14597071922022017,-0.04817983959550623,0.9881149994746982,-0.1459712,-0.04817998,0.988115,-0.026484419879016185,-0.00244626699885515,-0.9996462330651991,-0.02648621,-0.002445578,-0.9996462,-0.998752555474187,4.826116971541977e-7,0.04993328482634027,-0.9987525,4.60663e-7,0.04993349,-0.0487941535535864,-0.08861237977663536,0.9948703316157891,-0.0487945,-0.08861291,0.9948703,1,-0.00000136345,4.03799e-7,0.9999999999985352,-0.0000016411000506629117,4.86027728067945e-7,1,-0.00000156507,4.63512e-7,0.1972687537970428,-0.939992161720446,0.2783878134536149,-0.0030864784707461787,0.014707172392872931,-0.9998870799899636,-0.003086507,0.0147075,-0.9998871,-0.9987525193276416,0.0000014527653764726531,0.049934007796072294,-0.9987526,9.01673e-7,0.04993224,-0.8578702264975999,-0.4893550459250951,0.15681298899199803,-0.7570160209812583,0.6270071460717144,0.18381725368611862,-0.7570157,0.6270079,0.1838163,0.029456687247076938,0,0.999566057635226],
"faces": [48,0,1,2,0,0,0,0,48,4,7,6,1,1,1,1,48,4,5,11,2,3,3,3,48,5,6,2,4,5,5,5,48,6,7,83,6,7,7,7,48,0,3,7,8,9,9,9,48,31,30,42,10,11,11,11,48,1,9,11,12,13,13,13,48,0,4,10,14,15,15,15,48,1,0,8,0,0,0,0,48,14,15,19,16,17,17,17,48,9,13,15,18,19,19,19,48,10,14,12,20,21,21,21,48,9,8,12,0,0,0,0,48,30,26,40,22,23,23,23,48,13,17,19,24,25,25,25,48,14,18,16,26,27,27,27,48,13,12,16,28,29,29,29,48,22,23,27,1,1,1,1,48,17,21,23,30,31,31,31,48,18,22,20,32,33,33,33,48,17,16,20,0,0,0,0,48,31,43,41,34,35,35,35,48,21,25,27,36,37,37,37,48,22,26,24,38,39,39,39,48,21,20,24,0,0,0,0,48,30,31,29,40,41,41,41,48,25,29,31,42,43,43,43,48,26,30,28,44,33,33,33,48,25,24,28,0,0,0,0,48,43,42,54,45,46,46,46,48,42,40,52,47,48,48,48,48,41,43,55,49,50,50,50,48,26,27,41,51,52,52,52,48,23,39,37,53,54,54,54,48,22,18,36,55,56,56,56,48,22,38,39,57,58,58,58,48,18,19,37,59,60,60,60,48,11,15,35,61,62,62,62,48,10,32,34,63,64,64,64,48,15,14,34,65,66,66,66,48,10,11,33,67,68,68,68,48,47,75,73,69,70,70,70,48,49,51,67,71,72,72,72,48,59,57,108,73,74,74,74,48,40,41,53,75,76,76,76,48,37,39,51,77,78,78,78,48,38,36,48,79,47,47,47,48,39,38,50,80,81,81,81,48,36,37,49,82,83,83,83,48,33,35,47,24,84,84,84,48,34,32,44,47,85,85,85,48,35,34,46,86,87,87,87,48,32,33,45,88,83,83,83,48,57,59,63,89,90,90,90,48,111,58,54,91,92,92,92,48,54,58,59,93,94,94,94,48,53,110,111,95,96,96,96,48,61,63,62,1,1,1,1,48,58,56,60,97,98,98,98,48,58,62,63,99,100,100,100,48,56,57,61,101,101,101,101,48,96,115,71,102,103,103,103,48,50,48,64,104,105,105,105,48,51,50,66,106,107,107,107,48,48,49,65,108,109,109,109,48,68,69,71,1,1,1,1,48,67,66,113,110,111,111,111,48,66,112,113,40,112,112,112,48,64,65,99,101,101,101,101,48,73,75,95,113,114,114,114,48,46,44,72,115,116,116,116,48,46,74,75,117,118,118,118,48,44,45,73,119,120,120,120,48,76,77,79,1,1,1,1,48,76,92,94,121,122,122,122,48,74,94,95,123,124,124,124,48,72,73,77,125,126,126,126,48,83,87,86,127,128,128,128,48,3,81,83,129,130,130,130,48,2,6,82,131,132,132,132,48,3,2,80,0,0,0,0,48,86,87,91,133,134,134,134,48,81,85,87,47,135,135,135,48,80,82,86,136,137,137,137,48,80,84,85,138,139,139,139,48,88,90,91,101,101,101,101,48,85,89,91,140,141,141,141,48,84,86,90,142,143,143,143,48,84,88,89,144,145,145,145,48,92,78,79,146,147,147,147,48,95,94,106,148,149,149,149,48,97,96,69,150,101,101,101,48,98,99,103,151,152,152,152,48,102,103,100,101,101,101,101,48,96,100,103,153,154,154,154,48,97,98,102,155,156,156,156,48,96,97,101,157,158,158,158,48,106,104,105,159,160,160,160,48,93,95,107,161,162,162,162,48,92,104,106,163,164,164,164,48,93,105,104,165,166,166,166,48,109,108,122,167,168,168,168,48,110,108,109,169,170,170,170,48,115,119,118,171,172,172,172,48,114,70,71,40,173,173,173,48,116,118,119,174,175,175,175,48,115,113,117,176,177,177,177,48,112,114,118,178,179,179,179,48,113,112,116,180,181,181,181,48,122,121,120,182,183,183,183,48,57,121,122,184,185,185,185,48,56,109,123,186,187,187,187,48,56,120,121,188,189,189,189,48,3,0,2,0,0,0,0,48,5,4,6,1,1,1,1,48,10,4,11,190,191,191,191,48,1,5,2,192,193,193,193,48,82,6,83,194,195,195,195,48,4,0,7,196,9,9,9,48,43,31,42,197,198,198,198,48,5,1,11,199,200,200,200,48,8,0,10,201,202,202,202,48,9,1,8,0,0,0,0,48,18,14,19,203,17,17,17,48,11,9,15,204,31,31,31,48,8,10,12,20,21,21,21,48,13,9,12,205,0,0,0,48,42,30,40,206,207,207,207,48,15,13,19,24,25,25,25,48,12,14,16,208,27,27,27,48,17,13,16,28,29,29,29,48,26,22,27,209,1,1,1,48,19,17,23,210,211,211,211,48,16,18,20,212,33,33,33,48,21,17,20,0,0,0,0,48,27,31,41,213,62,62,62,48,23,21,27,214,37,37,37,48,20,22,24,215,216,216,216,48,25,21,24,0,0,0,0,48,28,30,29,40,217,217,217,48,27,25,31,30,31,31,31,48,24,26,28,44,33,33,33,48,29,25,28,0,0,0,0,48,55,43,54,45,46,46,46,48,54,42,52,47,48,48,48,48,53,41,55,49,50,50,50,48,40,26,41,218,219,219,219,48,19,23,37,220,221,221,221,48,38,22,36,55,56,56,56,48,23,22,39,222,223,223,223,48,36,18,37,224,225,225,225,48,33,11,35,226,227,227,227,48,14,10,34,228,56,56,56,48,35,15,34,229,230,230,230,48,32,10,33,231,232,232,232,48,45,47,73,233,234,234,234,48,65,49,67,235,236,236,236,48,110,53,55,237,238,238,238,48,52,40,53,75,76,76,76,48,110,59,108,239,240,240,240,48,110,55,59,241,242,242,242,48,49,37,51,77,78,78,78,48,50,38,48,79,47,47,47,48,51,39,50,80,81,81,81,48,48,36,49,82,83,83,83,48,45,33,47,24,84,84,84,48,46,34,44,47,85,85,85,48,47,35,46,86,87,87,87,48,44,32,45,88,83,83,83,48,61,57,63,243,244,244,244,48,52,111,54,245,246,246,246,48,109,58,111,247,248,248,248,48,109,56,58,249,250,250,250,48,55,54,59,251,252,252,252,48,52,53,111,253,254,254,254,48,60,61,62,1,1,1,1,48,62,58,60,97,98,98,98,48,59,58,63,255,256,256,256,48,60,56,61,101,101,101,101,48,67,113,65,257,258,258,258,48,115,99,113,259,260,260,260,48,69,96,71,261,262,262,262,48,99,115,96,263,264,264,264,48,113,99,65,265,266,266,266,48,66,50,64,267,268,268,268,48,67,51,66,269,270,270,270,48,64,48,65,271,272,272,272,48,70,68,71,1,1,1,1,48,112,66,64,273,274,274,274,48,97,114,98,275,274,274,274,48,97,68,70,276,274,274,274,48,64,98,112,275,274,274,274,48,70,114,97,277,274,274,274,48,98,114,112,275,274,274,274,48,98,64,99,150,101,101,101,48,95,93,77,278,114,114,114,48,74,46,72,279,280,280,280,48,93,79,77,281,114,114,114,48,73,95,77,282,114,114,114,48,47,46,75,283,284,284,284,48,72,44,73,285,286,286,286,48,78,76,79,1,1,1,1,48,94,74,72,287,288,288,288,48,78,92,76,289,290,290,290,48,72,76,94,291,292,292,292,48,75,74,95,293,294,294,294,48,76,72,77,295,296,296,296,48,82,83,86,297,298,298,298,48,7,3,83,299,300,300,300,48,80,2,82,301,302,302,302,48,81,3,80,0,0,0,0,48,90,86,91,303,304,304,304,48,83,81,87,305,306,306,306,48,84,80,86,307,308,308,308,48,81,80,85,309,310,310,310,48,89,88,91,311,312,312,312,48,87,85,91,313,314,314,314,48,88,84,90,315,316,316,316,48,85,84,89,317,318,318,318,48,93,92,79,319,320,320,320,48,107,95,106,321,322,322,322,48,68,97,69,101,101,101,101,48,102,98,103,323,324,324,324,48,101,102,100,150,101,101,101,48,99,96,103,325,326,326,326,48,101,97,102,327,156,156,156,48,100,96,101,328,329,329,329,48,107,106,105,330,331,331,331,48,105,93,107,332,333,333,333,48,94,92,106,334,335,335,335,48,92,93,104,336,337,337,337,48,123,109,122,338,339,339,339,48,111,110,109,340,341,341,341,48,114,115,118,342,343,343,343,48,115,114,71,40,344,344,344,48,117,116,119,345,346,346,346,48,119,115,117,347,177,177,177,48,116,112,118,178,179,179,179,48,117,113,116,348,349,349,349,48,123,122,120,350,351,351,351,48,108,57,122,352,185,185,185,48,120,56,123,353,354,354,354,48,57,56,121,355,189,189,189]
}
},
{
"uuid": "D98E896F-27CC-4429-90E8-8B2B372F5DFE",
"type": "Geometry",
"data": {
"vertices": [0.03446388,-1.364532,-0.2556253,0.03446388,0.6354678,-0.2556253,2.034464,0.6354678,-0.2556253,2.034464,-1.364532,-0.2556253,0.1682257,-0.8565414,1.744375,0.1682257,0.1274769,1.744375,1.900702,0.1274769,1.744375,1.900702,-0.8565414,1.744375,0.1682257,-0.8565414,2.122153,0.1682257,0.1274769,2.122153,1.900702,0.1274769,2.122153,1.900702,-0.8565414,2.122153,-0.06067681,-0.9865543,2.240209,-0.06067681,0.2574898,2.240209,2.129605,0.2574898,2.240209,2.129605,-0.9865543,2.240209,-0.06067681,-0.9865543,2.37007,-0.06067681,0.2574898,2.37007,2.129605,0.2574898,2.37007,2.129605,-0.9865543,2.37007,-0.06067681,-0.2009249,2.771459,-0.06067681,1.043119,2.771459,2.129605,1.043119,2.771459,2.129605,-0.2009249,2.771459,0.4883017,0.9123367,3.00757,0.4883017,1.532759,3.00757,1.580626,1.532759,3.00757,1.580626,0.9123367,3.00757,0.398376,-1.00062,-0.5107663,0.398376,0.2715556,-0.5107663,1.670552,0.2715556,-0.5107663,1.670552,-1.00062,-0.5107663],
"normals": [-0.9977709478328401,0,0.06673181895285002,-0.997771,0,0.06673181,0,0.9692244889839257,0.24617857330370627,0,0.9692245,0.2461786,0.9977709418537182,0,0.06673190835233224,0.997771,0,0.06673187,0,-0.9692245236727911,0.24617843673086218,0,-0.9692245,0.2461786,0,-0.5740701425381866,-0.8188061256770044,0,-0.57407,-0.8188062,0,-1,0,0,-0.6722438579862985,-0.740329788269861,0,-0.6722434,-0.7403302,1,0,0,0,1,0,-1,0,0,0.4583746775212399,0,-0.8887590534038453,0.4583748,0,-0.888759,0,0.6722438579862985,-0.740329788269861,0,0.6722434,-0.7403302,-0.4583754525787437,0,-0.8887586536699554,-0.4583749,0,-0.8887589,0,-0.4549718289127543,0.8905058309162178,0,-0.4549722,0.8905057,0,-0.2074744411085419,0.978240438893577,0,-0.2074743,0.9782404,0,0.4549719207608986,-0.890505783989716,0,0.4549722,-0.8905056,0,0,0.9999999999999999,0,0,1,0.39509840367069204,0,0.918638803565836,0.3950986,0,0.9186387,0,0.43435078715406467,-0.9007438002554581,0,0.4343508,-0.9007438,-0.3950987012724503,0,0.9186386755699018,-0.3950986,0,0.9186387,0,0,-1,0.5740701425381869,0,-0.8188061256770042,0.57407,0,-0.8188062,0,0.5740699310137124,-0.8188062739781076,0,0.57407,-0.8188063,-0.574070015623488,0,-0.8188062146576859,-0.57407,0,-0.8188062,-0.99777094783284,0,0.06673181895285003,-0.9977709,0,0.06673181,0,0.9692244889839257,0.24617857330370624,0.9977709418537182,0,0.06673190835233225,0.9977709,0,0.06673181,0,-0.9692245236727911,0.2461784367308622,0,-0.5740701425381866,-0.8188061256770042,0,-0.5740702,-0.8188062,0,-0.6722438579862987,-0.7403297882698611,0.4583746775212399,0,-0.8887590534038454,0,0.6722438579862987,-0.7403297882698611,-0.45837545257874374,0,-0.8887586536699554,0,-0.20747444110854182,0.9782404388935769,0,-0.2074744,0.9782404,0.3950984036706921,0,0.9186388035658362,0,0.43435078715406455,-0.9007438002554581,0,0.4343507,-0.9007439,-0.3950987012724502,0,0.9186386755699018,0.5740701425381869,0,-0.8188061256770043,0.5740701,0,-0.8188062,0,0.5740699310137123,-0.8188062739781072,0,0.57407,-0.8188062,-0.5740700156234879,0,-0.8188062146576859,-0.5740702,0,-0.8188062],
"faces": [48,4,5,1,0,1,1,1,48,5,6,2,2,3,3,3,48,6,7,3,4,5,5,5,48,7,4,0,6,7,7,7,48,3,0,28,8,9,9,9,48,4,7,11,10,10,10,10,48,8,11,15,11,12,12,12,48,7,6,10,13,13,13,13,48,6,5,9,14,14,14,14,48,5,4,8,15,15,15,15,48,12,15,19,10,10,10,10,48,11,10,14,16,17,17,17,48,10,9,13,18,19,19,19,48,9,8,12,20,21,21,21,48,16,19,23,22,23,23,23,48,15,14,18,13,13,13,13,48,14,13,17,14,14,14,14,48,13,12,16,15,15,15,15,48,20,23,27,24,25,25,25,48,18,22,23,13,13,13,13,48,18,17,21,26,27,27,27,48,17,16,20,15,15,15,15,48,27,26,25,28,29,29,29,48,22,26,27,30,31,31,31,48,22,21,25,32,33,33,33,48,21,20,24,34,35,35,35,48,28,29,30,36,36,36,36,48,2,3,31,37,38,38,38,48,1,2,30,39,40,40,40,48,0,1,29,41,42,42,42,48,0,4,1,43,44,44,44,48,1,5,2,45,3,3,3,48,2,6,3,46,47,47,47,48,3,7,0,48,7,7,7,48,31,3,28,49,50,50,50,48,8,4,11,10,10,10,10,48,12,8,15,51,12,12,12,48,11,7,10,13,13,13,13,48,10,6,9,14,14,14,14,48,9,5,8,15,15,15,15,48,16,12,19,10,10,10,10,48,15,11,14,52,17,17,17,48,14,10,13,53,19,19,19,48,13,9,12,54,21,21,21,48,20,16,23,22,23,23,23,48,19,15,18,13,13,13,13,48,18,14,17,14,14,14,14,48,17,13,16,15,15,15,15,48,24,20,27,55,56,56,56,48,19,18,23,13,13,13,13,48,22,18,21,26,27,27,27,48,21,17,20,15,15,15,15,48,24,27,25,28,29,29,29,48,23,22,27,57,31,31,31,48,26,22,25,58,59,59,59,48,25,21,24,60,35,35,35,48,31,28,30,36,36,36,36,48,30,2,31,61,62,62,62,48,29,1,30,63,64,64,64,48,28,0,29,65,66,66,66]
}
},
{
"uuid": "1E1BA525-50DC-4DD3-9F70-3E296C427ABA",
"type": "Geometry",
"data": {
"vertices": [-1, -1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, -1, -1, 1, -1, 0.354105, 1, 1, 0.354105, 1, 1, -1, 1, -0.9008584, -0.9008584, -1.065556, -0.9008584, 0.9008584, -1.065556, 0.9008584, 0.9008584, -1.065556, 0.9008584, -0.9008584, -1.065556, -1, 1, -1, 1, 1, -1, -0.9008584, 0.9008584, -1.065556, 0.9008584, 0.9008584, -1.065556, -0.4952581, -0.495258, -1.281888, -0.4952581, 0.495258, -1.281888, 0.4952581, 0.495258, -1.281888, 0.4952581, -0.495258, -1.281888, -0.9008584, 0.9008584, -1.065556, 0.9008584, 0.9008584, -1.065556, -0.4952581, 0.495258, -1.281888, 0.4952581, 0.495258, -1.281888, -0.4528225, 1.530536, -1.319402, 0.4528225, 1.530536, -1.319402, -0.2489448, 1.326658, -1.428143, 0.2489448, 1.326658, -1.428143, -0.6005823, -0.7295733, 1.242984, -0.6005823, 0.08367824, 1.242984, 0.6005823, 0.08367824, 1.242984, 0.6005823, -0.7295733, 1.242984, -0.6005823, -1.135888, 2.020534, -0.6005823, -0.3226369, 2.020534, 0.6005823, -0.3226369, 2.020534, 0.6005823, -1.135888, 2.020534, -0.8309208, -1.544639, 2.307409, -0.8309208, -0.4194853, 2.307409, 0.8309208, -0.4194853, 2.307409, 0.8309208, -1.544639, 2.307409, -1.077501, -1.711587, 2.762146, -1.077501, 0.2238317, 2.762146, 1.077501, 0.2238317, 2.762146, 1.077501, -1.711587, 2.762146, -1.077501, -1.711587, 2.974357, -1.077501, -0.9075822, 2.974357, 1.077501, -0.9075822, 2.974357, 1.077501, -1.711587, 2.974357, -1.077501, -1.711587, 3.194148, -1.077501, -0.9075822, 3.194148, 1.077501, -0.9075822, 3.194148, 1.077501, -1.711587, 3.194148, -1.077501, -1.711587, 3.421517, -1.077501, 0.1142592, 3.421517, 1.077501, 0.1142592, 3.421517, 1.077501, -1.711587, 3.421517, -1.077501, -0.3497841, 3.820417, -1.077501, 0.1142592, 3.820417, 1.077501, 0.1142592, 3.820417, 1.077501, -0.3497841, 3.820417, -0.41275, 1.627707, 3.544565, 0.41275, 1.627707, 3.544565, -0.41275, 1.627707, 3.697369, 0.41275, 1.627707, 3.697369],
"normals": [-1, 0, 0, 0, 0.9516065657452878, 0.3073189613910263, 0, 0.9516066, 0.3073189, 0.9999999999999999, 0, 0, 1, 0, 0, 0, -1, 0, 0, -0.5515601939210455, -0.8341350924651106, 0, -0.5515575, -0.8341369, 0, -0.6683565905244039, 0.7438410232721734, 0, -0.668357, 0.7438407, 0, -0.4706081976493411, -0.8823422942969688, 0, -0.4706099, -0.8823413, 0.5515601939210455, 0, -0.8341350924651106, 0.5515575, 0, -0.8341369, 0, 0, 0, -0.5515601939210455, 0, -0.8341350924651106, -0.5515575, 0, -0.8341369, 0, 0.5515601939210455, -0.8341350924651106, 0, 0.5515575, -0.8341369, 0, 0, -1, 0.47060828798004195, 0, -0.8823422461179642, 0.4706099, 0, -0.8823414, -0.47060828798004195, 0, -0.8823422461179642, -0.4706099, 0, -0.8823414, -0.4799768383941435, -0.01211133401190799, -0.8771975548265137, -0.4799779, -0.01211136, -0.877197, 0, 0.47060867613382956, -0.8823420390911701, 0, 0.47061, -0.8823414, 0.47997646960756, -0.012112061910666437, -0.8771977465653541, 0.4799777, -0.0121116, -0.8771971, 0, -0.17325380837407622, -0.9848772095463877, 0, -0.1732538, -0.9848772, 0, 0.37389705901349163, 0.9274702093658113, 0, 0.3738979, 0.92747, 0, -0.8862871559063721, -0.4631361325521842, 0, -0.8862869, -0.4631366, 0.5197287182978265, 0, 0.8543313522144079, 0.5197292, 0, 0.8543311, 0, 0.6683565084760001, 0.7438410969943584, 0, 0.668357, 0.7438407, -0.5197287182978265, 0, 0.8543313522144079, -0.5197292, 0, 0.8543311, 0, -0.5744689432085129, -0.8185263791038713, 0, -0.5744689, -0.8185265, 0, 0.8862869500416118, 0.4631365265080452, 0, 0.8862869, 0.4631366, 0, -0.938735386498748, -0.3446387588984243, 0, -0.9387355, -0.3446386, 0.7797558023769235, 0, -0.6260837712794671, 0.7797556, 0, -0.626084, 0, 0.9474641687273017, 0.31986192173793215, 0, 0.9474641, 0.3198621, -0.7797558023769235, 0, -0.6260837712794672, -0.7797556, 0, -0.626084, 0.8790778827857881, 0, -0.4766781681563104, 0.8790776, 0, -0.4766785, 0, 0.5772175617028018, -0.8165904031164414, 0, 0.5772178, -0.8165903, -0.8790778827857884, 0, -0.4766781681563106, -0.8790777, 0, -0.4766785, 0, 0.18434802864100192, 0.9828610300221372, 0, 0.1843481, 0.9828611, 0, 1, 0, 0, -0.28110875903922206, 0.9596759169591726, 0, -0.2811087, 0.9596759, 0, 0.21719729187802503, -0.9761277254544366, 0, 0.2171975, -0.9761277, 0, 0, 1, -0.9155748760035864, 0.402147543111999, 0, -0.9155748, 0.4021478, 0, 0.9155748760035864, 0.402147543111999, 0, 0.9155748, 0.4021478, 0, 0, 0.08103571168190701, 0.9967111986088082, 0, 0.08103591, 0.9967112, 0, 0.08103571168190701, -0.9967111986088082, 0, 0.08103591, -0.9967112, -0.9999999999999999, 0, 0, 0, -0.5515575, -0.834137, 0, -0.6683565905244041, 0.7438410232721734, 0, -0.668357, 0.7438408, 0, -0.4706098, -0.8823413, 0.5515575, 0, -0.834137, -0.5515575, 0, -0.834137, 0, 0.5515575, -0.834137, 0.47060828798004184, 0, -0.8823422461179642, 0.4706099, 0, -0.8823413, -0.47060828798004184, 0, -0.8823422461179642, -0.4706099, 0, -0.8823413, -0.47997646960755996, -0.012112061910666449, -0.877197746565354, -0.4799777, -0.01211154, -0.8771971, 0, 0.47060867613382973, -0.8823420390911703, 0.47997683839414346, -0.012111334011907986, -0.8771975548265137, 0.4799777, -0.01211142, -0.877197, 0, -0.17325380837407617, -0.9848772095463875, 0, -0.1732538, -0.9848773, 0, 0.3738970590134915, 0.927470209365811, 0, 0.3738979, 0.9274699, 0.5197287182978265, 0, 0.8543313522144078, 0, 0.6683565084760001, 0.7438410969943583, 0, 0.668357, 0.7438408, -0.5197287182978266, 0, 0.8543313522144078, 0, -0.5744689432085128, -0.8185263791038714, 0, -0.938735386498748, -0.3446387588984244, 0, -0.9387354, -0.3446385, 0.7797558023769235, 0, -0.6260837712794672, 0.7797556, 0, -0.6260839, 0, 0.9474641687273018, 0.31986192173793215, -0.7797558023769235, 0, -0.6260837712794671, 0.8790778827857884, 0, -0.4766781681563106, 0.8790777, 0, -0.4766785, 0, 0.5772175617028017, -0.8165904031164413, -0.8790778827857882, 0, -0.47667816815631053, -0.8790776, 0, -0.4766785, -0.9155748760035866, 0.40214754311199913, 0, -0.9155747, 0.4021478, 0, 0.9155748760035866, 0.40214754311199913, 0, 0.9155747, 0.4021478, 0, 0, 0.08103571168190699, 0.9967111986088082, 0, 0.08103591, 0.9967111, 0, 0.08103571168190699, -0.9967111986088082, 0, 0.08103591, -0.9967111],
"faces": [48, 5, 1, 0, 0, 0, 0, 0, 48, 5, 6, 2, 1, 2, 2, 2, 48, 6, 7, 3, 3, 4, 4, 4, 48, 7, 4, 0, 5, 5, 5, 5, 48, 3, 0, 8, 6, 7, 7, 7, 48, 4, 7, 31, 8, 9, 9, 9, 48, 11, 8, 16, 10, 11, 11, 11, 48, 2, 3, 11, 12, 13, 13, 13, 32, 9, 1, 12, 14, 14, 14, 48, 0, 1, 9, 15, 16, 16, 16, 48, 12, 13, 15, 17, 18, 18, 18, 32, 2, 10, 15, 14, 14, 14, 32, 10, 9, 14, 14, 14, 14, 32, 1, 2, 13, 14, 14, 14, 48, 16, 17, 18, 19, 19, 19, 19, 48, 10, 11, 19, 20, 21, 21, 21, 32, 17, 9, 20, 14, 14, 14, 48, 8, 9, 17, 22, 23, 23, 23, 48, 20, 24, 26, 24, 25, 25, 25, 32, 10, 18, 23, 14, 14, 14, 32, 18, 17, 22, 14, 14, 14, 32, 9, 10, 21, 14, 14, 14, 48, 24, 25, 27, 26, 27, 27, 27, 48, 21, 23, 27, 28, 29, 29, 29, 48, 23, 22, 26, 30, 31, 31, 31, 48, 20, 21, 25, 32, 33, 33, 33, 48, 28, 31, 35, 34, 35, 35, 35, 48, 7, 6, 30, 36, 37, 37, 37, 48, 6, 5, 29, 38, 39, 39, 39, 48, 5, 4, 28, 40, 41, 41, 41, 48, 32, 35, 39, 42, 43, 43, 43, 48, 31, 30, 34, 4, 4, 4, 4, 48, 30, 29, 33, 44, 45, 45, 45, 48, 28, 32, 33, 0, 0, 0, 0, 48, 36, 39, 43, 46, 47, 47, 47, 48, 35, 34, 38, 48, 49, 49, 49, 48, 34, 33, 37, 50, 51, 51, 51, 48, 32, 36, 37, 52, 53, 53, 53, 48, 40, 43, 47, 5, 5, 5, 5, 48, 38, 42, 43, 54, 55, 55, 55, 48, 38, 37, 41, 56, 57, 57, 57, 48, 37, 36, 40, 58, 59, 59, 59, 48, 44, 47, 51, 5, 5, 5, 5, 48, 43, 42, 46, 3, 4, 4, 4, 48, 42, 41, 45, 60, 61, 61, 61, 48, 40, 44, 45, 0, 0, 0, 0, 48, 48, 51, 55, 5, 5, 5, 5, 48, 47, 46, 50, 4, 4, 4, 4, 48, 46, 45, 49, 62, 62, 62, 62, 48, 45, 44, 48, 0, 0, 0, 0, 48, 52, 55, 59, 63, 64, 64, 64, 48, 50, 54, 55, 4, 4, 4, 4, 48, 50, 49, 53, 65, 66, 66, 66, 48, 49, 48, 52, 0, 0, 0, 0, 48, 59, 58, 57, 67, 67, 67, 67, 48, 54, 58, 59, 4, 4, 4, 4, 48, 53, 57, 62, 68, 69, 69, 69, 48, 53, 52, 56, 0, 0, 0, 0, 48, 61, 60, 62, 62, 62, 62, 62, 48, 58, 54, 61, 70, 71, 71, 71, 48, 57, 58, 63, 72, 73, 73, 73, 48, 54, 53, 60, 74, 75, 75, 75, 48, 4, 5, 0, 76, 0, 0, 0, 48, 1, 5, 2, 1, 2, 2, 2, 48, 2, 6, 3, 4, 4, 4, 4, 48, 3, 7, 0, 5, 5, 5, 5, 48, 11, 3, 8, 6, 77, 77, 77, 48, 28, 4, 31, 78, 79, 79, 79, 48, 19, 11, 16, 10, 80, 80, 80, 48, 10, 2, 11, 12, 81, 81, 81, 32, 14, 9, 12, 14, 14, 14, 48, 8, 0, 9, 15, 82, 82, 82, 48, 14, 12, 15, 17, 83, 83, 83, 32, 13, 2, 15, 14, 14, 14, 32, 15, 10, 14, 14, 14, 14, 32, 12, 1, 13, 14, 14, 14, 48, 19, 16, 18, 19, 19, 19, 19, 48, 18, 10, 19, 84, 85, 85, 85, 32, 22, 17, 20, 14, 14, 14, 48, 16, 8, 17, 86, 87, 87, 87, 48, 22, 20, 26, 88, 89, 89, 89, 32, 21, 10, 23, 14, 14, 14, 32, 23, 18, 22, 14, 14, 14, 32, 20, 9, 21, 14, 14, 14, 48, 26, 24, 27, 90, 27, 27, 27, 48, 25, 21, 27, 91, 92, 92, 92, 48, 27, 23, 26, 93, 94, 94, 94, 48, 24, 20, 25, 95, 96, 96, 96, 48, 32, 28, 35, 34, 35, 35, 35, 48, 31, 7, 30, 97, 37, 37, 37, 48, 30, 6, 29, 98, 99, 99, 99, 48, 29, 5, 28, 100, 41, 41, 41, 48, 36, 32, 39, 101, 43, 43, 43, 48, 35, 31, 34, 4, 4, 4, 4, 48, 34, 30, 33, 44, 45, 45, 45, 48, 29, 28, 33, 0, 0, 0, 0, 48, 40, 36, 43, 102, 103, 103, 103, 48, 39, 35, 38, 104, 105, 105, 105, 48, 38, 34, 37, 106, 51, 51, 51, 48, 33, 32, 37, 107, 53, 53, 53, 48, 44, 40, 47, 5, 5, 5, 5, 48, 39, 38, 43, 108, 109, 109, 109, 48, 42, 38, 41, 110, 57, 57, 57, 48, 41, 37, 40, 111, 112, 112, 112, 48, 48, 44, 51, 5, 5, 5, 5, 48, 47, 43, 46, 4, 4, 4, 4, 48, 46, 42, 45, 60, 61, 61, 61, 48, 41, 40, 45, 76, 0, 0, 0, 48, 52, 48, 55, 5, 5, 5, 5, 48, 51, 47, 50, 4, 4, 4, 4, 48, 50, 46, 49, 62, 62, 62, 62, 48, 49, 45, 48, 0, 0, 0, 0, 48, 56, 52, 59, 63, 64, 64, 64, 48, 51, 50, 55, 4, 4, 4, 4, 48, 54, 50, 53, 65, 66, 66, 66, 48, 53, 49, 52, 0, 0, 0, 0, 48, 56, 59, 57, 67, 67, 67, 67, 48, 55, 54, 59, 4, 4, 4, 4, 48, 60, 53, 62, 113, 114, 114, 114, 48, 57, 53, 56, 0, 0, 0, 0, 48, 63, 61, 62, 62, 62, 62, 62, 48, 63, 58, 61, 115, 116, 116, 116, 48, 62, 57, 63, 117, 118, 118, 118, 48, 61, 54, 60, 119, 120, 120, 120]
}
}
],
"materials": [
{
"uuid": "8B78BBA5-B1DD-407D-9136-19AEFBBE2F9C",
"name": "root_mat",
"type": "MeshPhongMaterial",
"color": 10684961,
"ambient": 8270122,
"emissive": 5778486,
"specular": 8355711,
"shininess": 50,
"opacity": 1,
"transparent": false,
"wireframe": false
},
{
"uuid": "A569321A-837C-49F1-AF14-00DA5349918A",
"name": "Material",
"type": "MeshPhongMaterial",
"color": 10688092,
"ambient": 7105644,
"emissive": 7283031,
"specular": 8355711,
"shininess": 50,
"opacity": 1,
"transparent": false,
"wireframe": false
},
{
"uuid": "A918FC9D-E275-46A9-A4FC-E1DFC037D6A6",
"name": "arm2_mat",
"type": "MeshPhongMaterial",
"color": 1664675,
"ambient": 0,
"emissive": 4144959,
"specular": 2122367,
"shininess": 28,
"opacity": 1,
"transparent": false,
"wireframe": false
}],
"object": {
"uuid": "27BF6A0E-C2FE-4D2A-B20C-5AA03499079C",
"name": "root",
"type": "Scene",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],
"children": [
{
"uuid": "670A1F76-AC9D-408B-8DD6-7AA747A6D49C",
"name": "gldev3.dae",
"type": "Object3D",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],
"children": [
{
"uuid": "0077889C-8989-4FAF-AEAC-F35EA5302FD6",
"name": "Lamp",
"type": "Object3D",
"matrix": [-0.2908645272254944,0.9551711678504944,-0.0551891103386879,0,-0.7711008787155151,-0.19988325238227844,0.6045246720314026,0,0.5663931369781494,0.21839116513729095,0.7946723103523254,0,4.076244831085205,5.4631547927856445,11.894265174865723,1],
"children": [
{
"uuid": "E8952131-5484-4A7B-BD05-D5581D0EE19A",
"name": "PointLight",
"type": "PointLight",
"color": 16777215,
"intensity": 1,
"distance": 39.2,
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,-0.32952240109443665,3.6094870567321777,4.744817733764648,1]
}]
},
{
"uuid": "472F2B50-FCD8-490C-9368-D452FF15F6C3",
"name": "root_group",
"type": "Object3D",
"matrix": [1,0,0,0,0,0.07073719799518585,-0.9974949955940247,0,0,0.9974949955940247,0.07073719799518585,0,0.029999999329447746,0.029999999329447746,0.8700000047683716,1],
"children": [
{
"uuid": "0497D62D-C04B-4E09-9555-2C97EB8C92BF",
"type": "Mesh",
"geometry": "D725F687-1A3A-4CC6-AAA0-898496C8947E",
"material": "8B78BBA5-B1DD-407D-9136-19AEFBBE2F9C",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
},
{
"uuid": "0B6BDA4E-6FEC-406F-BFCA-1A8245B4A011",
"name": "arm1_group",
"type": "Object3D",
"matrix": [0.21534310281276703,0,0,0,0,0.6261594295501709,0,0,0,0,1.433506965637207,0,4.793766975402832,0.22825530171394348,4.123930931091309,1],
"children": [
{
"uuid": "29D7834A-D394-4949-B7E9-B76722F64300",
"name": "arm1_mat",
"type": "Mesh",
"geometry": "D98E896F-27CC-4429-90E8-8B2B372F5DFE",
"material": "A569321A-837C-49F1-AF14-00DA5349918A",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
}]
},
{
"uuid": "DFFDF69A-3E31-4154-A528-ED75EE6E550F",
"name": "arm2_group",
"type": "Object3D",
"matrix": [0.23361119627952576,0,0,0,0,0.48682060837745667,0,0,0,0,1,0,6.385673999786377,0.02992659993469715,4.233668804168701,1],
"children": [
{
"uuid": "82A659D4-41DD-4A87-9C33-192F834E24F9",
"type": "Mesh",
"geometry": "1E1BA525-50DC-4DD3-9F70-3E296C427ABA",
"material": "A918FC9D-E275-46A9-A4FC-E1DFC037D6A6",
"matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
}]
}]
}]
}]
}
},
'callback':function( engine ) {
if (engine.root && engine.root.children.length>0) {
$.fn.callbackById(engine.root.children,"root_group",function(object){
if(!object.data){
object.data ={
'increment':0.01,
'sum':0.01
};
}
object.data.sum += object.data.increment;
object.rotation.z = object.data.sum;
});
$.fn.callbackById(engine.root.children,"arm1_group",function(object){
if(!object.data){
object.data ={
'increment':0.01,
'sum':0.01
};
}
object.data.increment += 0.01;
object.rotation.x = Math.sin(object.data.increment)*1.5;
});
$.fn.callbackById(engine.root.children,"arm2_group",function(object){
if(!object.data){
object.data ={
'increment':0.01,
'sum':0.01
};
}
object.data.sum += object.data.increment;
object.rotation.x = Math.sin(object.data.sum)*1.75;
});
}
//register the actions
$('#btn_faster').click(function(event){
engine.addAction(function(engine){
$.fn.callbackById(engine.root.children,"root_group",function(object){
if(!object.data){
object.data ={
'increment':0.01,
'sum':0.01
};
}
object.data.increment += 0.02;
});
});
});
//register the actions
$('#btn_slower').click(function(event){
engine.addAction(function(engine){
$.fn.callbackById(engine.root.children,"root_group",function(object){
if(!object.data){
object.data ={
'increment':0.01,
'sum':0.01
};
}
object.data.increment -= 0.02;
});
});
});
}
});
});
</script>
<style>canvas { width: 100%; height: 100% }</style>
</head>
<body style="margin: 0px;">
<div id="threejs_canvas_area" style="width: 1024px; height: 800px"></div>
<div>
<button id="btn_faster">faster</button>
<button id="btn_slower">slower</button>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment