3d/html/004-a-new-leaf/main.js
2024-05-05 13:43:54 -04:00

2 lines
31 KiB
JavaScript

import{a as $,b as D} from"../chunk-13ea4b456137d650.js";import{d as i,f as Y,g as R,h as q,i as Q,j as C,n as B,o as G} from"../chunk-0ef35489d83e6289.js";var x=`#version 300 es
precision highp float;uniform vec4 u_light_0_color;uniform vec4 u_albedo;uniform sampler2D u_texture_0;uniform sampler2D u_texture_1;uniform sampler2D u_texture_2;in vec2 uv0;in vec3 normal;in vec3 light_pos;out vec4 fragColor;void main(){vec3 normal=normalize(normal);float light=clamp(dot(normal,light_pos),0.0,1.0);vec3 ramp=texture(u_texture_2,vec2(light,0.0)).rgb;fragColor=vec4(1.0);fragColor.rgb=texture(u_texture_0,uv0).rgb;fragColor.rgb*=ramp;fragColor.a=1.0;}`;var K={attributes:{vertex:"a_vertex",uv0:"a_uv0",normal:"a_normal",vertexColor:"a_vertex_color"},uniforms:{view:"u_view",projection:"u_projection",objectToWorld:"u_object_to_world",objectToWorldInv:"u_object_to_world_inv",light0:"u_light_0",light0Color:"u_light_0_color",time:"u_time",albedo:"u_albedo",texture0:"u_texture_0",texture1:"u_texture_1",texture2:"u_texture_2"}},H=(c,y=[0.1,0.1,0.1,1])=>new C(K).vertex(D).fragment(x).app(c).prerenderHook(({gl:s},A)=>{s.uniform4fv(A.mappings.uniforms.albedo,y)});var J=new i({colors:null,faces:new Uint8Array([0,1,2,3,4,0,0,5,3,0,4,1,3,6,4,0,7,5]),name:"src/meshes/cube-backdrop/cube-backdrop.ply",normals:new Float32Array([0.5773503,0.5773503,0.5773503,1,0,0,0.70710677,0.70710677,0,0,0.70710677,0.70710677,0.70710677,0,0.70710677,0,1,0,0,0,1,0.70710677,0.70710677,0]),positions:new Float32Array([-0.10000001,-0.0025735903,-0.10000001,-0.10000001,0.19742644,0.10000001,-0.10000001,-0.0025735903,0.10000001,0.10000001,-0.0025735903,-0.10000001,-0.10000001,0.19742644,-0.10000001,0.10000001,-0.0025735903,0.10000001,0.10000001,0.19742644,-0.10000001,-0.10000001,-0.0025735903,0.10000001]),uvs:new Float32Array([0.5,0.5,-0.000000059604645,1,0,0.49999997,1,0.50000006,0.49999997,1,1,0,1,1,0.50000006,0]),vertexCount:8});var d=new Y(q(0),R([0,-45,0]),q(20));var X=(c,y,s,A=255)=>[c/255,y/255,s/255,A/255];var F="../ramp-aa773f5148819e95.png";var _=new i({colors:null,faces:new Uint16Array([0,1,2,0,3,4,2,3,0,5,3,2,6,7,8,8,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,1,23,24,25,26,27,28,29,30,31,27,32,18,17,33,34,35,36,37,38,39,40,13,41,42,43,44,45,46,47,15,14,48,18,32,49,26,50,33,35,51,52,53,54,54,47,14,55,48,56,11,10,57,13,58,59,40,14,13,53,47,54,60,61,62,44,63,64,6,60,65,65,7,6,66,67,54,60,68,61,38,37,69,26,49,70,67,10,12,55,71,48,72,22,23,9,68,8,68,60,6,73,17,74,75,10,67,76,26,77,1,26,76,78,47,79,0,80,81,82,50,83,84,85,86,39,13,59,87,27,29,87,20,88,29,21,87,20,89,88,90,17,16,29,72,91,40,84,86,58,92,59,21,11,19,73,87,88,27,31,2,31,5,2,52,49,53,61,68,9,93,48,94,88,93,94,51,35,95,37,96,69,33,51,41,77,52,54,67,12,77,26,1,0,76,77,12,97,49,82,46,98,99,79,53,97,23,76,72,25,50,26,0,24,26,100,37,36,52,70,49,36,101,102,64,45,44,86,66,40,11,21,91,12,72,76,82,49,50,72,11,91,75,103,89,19,89,20,32,88,94,87,21,20,79,47,53,2,1,22,22,72,29,22,29,28,27,2,28,51,95,42,50,25,83,26,70,77,0,81,24,91,21,29,23,1,76,53,49,97,77,54,67,104,105,106,52,77,70,101,36,38,4,80,0,66,54,14,62,107,60,44,46,108,41,51,42,86,109,66,57,10,75,71,16,18,55,16,71,35,110,95,32,17,73,111,3,5,40,39,84,112,75,67,72,12,11,75,89,19,75,19,57,88,89,93,74,27,73,94,48,32,19,11,57,71,18,48,40,66,14,73,88,32,113,62,61,22,28,2,35,114,110,73,27,87,115,93,89,115,89,103,116,117,118,119,120,121,122,30,74,123,124,122,125,126,127,128,129,130,131,132,133,4,132,134,135,121,136,137,112,86,138,128,139,140,141,142,143,144,145,146,147,148,122,124,30,123,136,121,56,48,93,58,13,15,121,141,140,123,121,124,30,27,74,149,150,151,152,122,74,145,153,154,120,141,121,100,36,102,155,156,153,157,151,118,152,74,17,121,135,119,144,119,145,119,144,120,158,159,160,4,159,132,100,161,162,163,98,164,138,98,45,15,165,149,166,34,33,154,153,167,153,145,155,93,115,56,154,167,164,116,168,117,150,168,116,92,157,118,136,123,169,109,112,67,3,111,160,170,171,127,132,131,34,165,150,149,148,147,172,115,85,173,158,139,159,159,4,160,149,151,157,126,125,148,45,174,129,128,133,159,156,163,167,92,58,157,175,5,142,140,31,124,144,141,120,86,85,137,8,68,6,45,98,46,34,176,35,64,176,174,176,34,177,64,174,45,64,63,176,132,34,166,162,96,100,58,149,157,125,127,171,178,179,180,181,125,171,147,182,172,126,148,172,129,128,138,130,133,128,179,178,183,177,34,131,132,166,134,159,139,128,159,133,132,160,111,175,154,143,145,137,85,115,138,45,129,35,176,114,100,102,161,100,96,37,139,98,138,164,98,158,99,98,184,98,163,184,165,47,78,160,4,3,17,90,152,167,153,156,75,112,103,142,144,143,113,107,62,151,150,116,124,31,30,142,5,140,5,31,140,125,146,148,176,63,114,139,158,98,5,175,111,164,158,160,143,164,160,15,149,58,118,151,116,112,137,103,163,164,167,175,142,143,164,143,154,175,143,160,142,141,144,121,140,124,103,137,115,80,4,134,67,66,109,109,86,112,47,165,15,181,171,170,185,186,187,188,189,190,191,192,193,191,194,192,195,196,197,198,199,200,201,199,198,202,203,204,205,201,206,207,201,205,208,185,209,210,185,208,211,185,210,212,185,211,194,189,213,194,190,189,214,215,216,192,212,217,218,219,220,221,219,218,213,192,194,198,206,201,187,209,185,217,193,192,193,222,191,193,223,222,193,224,223,193,225,224,193,226,225,193,203,226,193,204,203,218,227,221,218,199,227,218,200,199,204,215,202,204,216,215,216,219,214,216,220,219,211,217,212,228,229,85,228,85,84,230,231,84,230,84,39,232,230,39,232,39,59,233,234,90,233,90,16,235,236,55,235,55,56,237,238,173,239,240,16,239,16,55,241,232,59,241,59,92,242,241,92,231,228,84,240,233,16,243,244,122,243,122,152,245,246,119,245,119,135,247,248,136,247,136,169,246,249,119,250,251,168,234,252,152,234,152,90,244,253,122,254,255,118,253,256,123,253,123,122,257,258,145,256,259,169,256,169,123,260,261,262,248,135,136,263,237,173,263,173,85,238,264,115,238,115,173,265,254,118,265,118,117,264,235,56,264,56,115,255,242,92,255,92,118,258,266,155,258,155,145,252,243,152,259,247,169,249,257,145,249,145,119,251,265,117,251,117,168,267,268,269,270,271,272,273,274,275,276,277,278,236,239,55,229,263,85,279,280,281,282,283,284]),name:"src/meshes/fox/fox.ply",normals:new Float32Array([0.3475203,-0.1423119,-0.92681,0.5162422,0.12797521,-0.8468272,0.15832935,0.05530619,-0.98583627,-0.34248725,0.027904412,-0.9391081,-0.5169309,-0.31768712,-0.7948945,-0.48697895,-0.1626665,-0.85813236,0.979832,0.13666466,-0.14578043,0.9031805,0.21487509,-0.37160963,0.66321534,0.26724067,-0.6990907,0.6848186,0.23503296,-0.68977004,0.50283414,0.37262148,-0.779943,0.23640795,0.47815725,-0.84585875,0.3647613,0.40136182,-0.8401535,0.3046436,0.23757984,0.92236,0.31008115,0.576068,0.7563038,-0.22806334,0.32389933,0.91819185,0.17951295,-0.316014,-0.931617,-0.17395478,-0.060770363,-0.9828767,0.3371145,-0.028111659,-0.94104385,0.5286752,0.36182427,-0.76784486,0.37282482,0.34924614,-0.8596678,0.04436654,0.3120137,-0.9490411,0.1748497,-0.08175629,-0.981195,0.4760932,0.18387188,-0.8599573,0.77194935,-0.10489054,-0.6269707,0.8878576,0.018637033,-0.45974046,0.8233882,0.00536109,-0.5674533,0.50706327,0.2949509,-0.8098708,0.5776023,0.024086185,-0.8159629,0.20082258,0.4428197,-0.8738313,-0.3673268,-0.008583662,-0.9300523,-0.23037066,-0.14419852,-0.9623597,0.10130113,0.55220604,-0.82753044,-0.30028316,0.6138469,-0.7300836,-0.42857707,0.59847176,-0.67687017,0.2310956,0.77802414,-0.5841861,0.40507296,-0.59645694,-0.69293207,0.018303465,0.44150117,-0.8970739,0.77194935,-0.10489054,-0.6269707,0.6770759,-0.15234865,0.71997094,0.5551748,0.09818922,0.82591754,0.5862696,0.275684,-0.7617652,0.8878576,0.018637033,-0.45974046,0.77194935,-0.10489054,-0.6269707,0.3452935,0.52275664,0.7794215,-0.037781123,0.40868607,0.9118927,0.47639555,0.22756127,0.8492721,0.038687505,0.4890638,0.87138975,0.4779266,0.31795877,-0.8188335,0.9412043,0.3062575,0.14262189,0.985557,-0.050912835,-0.16150954,0.41709664,0.43660966,-0.79712135,0.65320575,0.7567542,-0.025403246,0.5102622,0.5121896,0.6908649,0.5327677,0.8339708,0.14370571,0.50982845,-0.2752561,-0.81505156,0.9362124,0.034893714,-0.34969804,0.49277383,0.474742,-0.729242,-0.10767815,0.15382154,0.98221403,0.53157943,-0.18795584,0.825891,0.3452935,0.52275664,0.7794215,0.73606163,0.6634644,-0.13426952,-0.17794462,0.9747583,-0.13484038,-0.38528097,0.9081675,0.1636775,0.03706524,0.8542405,0.51855505,0.90783143,0.11600388,0.40297043,0.8010637,0.5264299,0.2849009,0.6885465,0.57700217,-0.43928608,0.95855004,0.10577212,0.26456407,0.5862696,0.275684,-0.7617652,0.78829354,0.5408408,-0.2934015,0.21502984,0.04666299,-0.97549206,0.102968186,0.09595936,-0.9900452,-0.42321405,0.5065525,-0.7511954,-0.69715625,-0.08602459,-0.71173936,0.82457936,0.081235796,-0.5598835,0.4377959,0.26956058,-0.85771316,0.6155783,0.5745703,-0.5393813,0.07019434,0.24138543,0.9678872,0.3541473,0.25355586,0.9001605,-0.29064578,-0.724498,-0.62500215,0.375913,-0.73612595,-0.56285685,0.90783143,0.11600388,0.40297043,0.9031805,0.21487509,-0.37160963,0.5472127,-0.29103354,0.7847661,0.87695193,-0.2072897,0.4335738,0.8803676,0.14394727,0.45192042,0.15257555,0.7520019,-0.64125955,0.073696144,0.91218823,-0.40308988,0.48116767,0.69189876,-0.5382877,-0.38885155,-0.2292497,-0.8923223,-0.08802483,0.3184032,-0.94385976,-0.16566989,-0.31949857,0.9329921,0.4088575,0.88988423,-0.20234066,0.23401263,0.7841241,-0.5747935,0.9031805,0.21487509,-0.37160963,-0.30028316,0.6138469,-0.7300836,0.47639555,0.22756127,0.8492721,-0.13893181,0.08481444,0.98666334,0.3541473,0.25355586,0.9001605,-0.6594078,-0.34964943,-0.6655273,0.375913,-0.73612595,-0.56285685,-0.29064578,-0.724498,-0.62500215,0.7611686,0.58185023,-0.28648314,-0.04397583,0.70420456,-0.7086339,0.73606163,0.6634644,-0.13426952,0.6848186,0.23503296,-0.68977004,-0.38528097,0.9081675,0.1636775,0.90783143,0.11600388,0.40297043,0.9180944,0.3928391,0.052727237,0.6848186,0.23503296,-0.68977004,-0.75246775,0.008946161,-0.6585683,0.93610126,0.23180684,-0.26453748,-0.04397583,0.70420456,-0.7086339,-0.04397583,0.70420456,-0.7086339,0.92324126,0.38289523,0.03188642,-0.8208653,0.15153797,0.55065095,-0.6847748,0.31241915,0.6583902,-0.44955286,-0.170653,0.87680095,-0.69434595,0.69967836,-0.16832665,-0.64949834,0.59640735,-0.47164628,-0.72120667,0.6666094,-0.18839571,-0.44213012,-0.017088598,-0.8967881,-0.16689667,0.37004504,-0.9138995,-0.32365012,-0.16409263,-0.93183917,-0.81858766,0.5451293,-0.18096499,-0.992983,0.08945896,0.07734239,-0.21252948,0.5347677,0.81783545,-0.7021046,-0.14130145,0.6979133,-0.992983,0.08945896,0.07734239,-0.9546164,0.028929858,-0.2964296,-0.7311533,0.36524838,-0.5762018,-0.9617006,-0.03754102,-0.27151904,-0.9879483,0.08645398,-0.1283894,-0.78725094,-0.2752617,-0.5517852,-0.74839973,-0.49738073,-0.4387599,-0.6237263,0.711984,-0.32255915,0.9198568,0.38913035,-0.049406413,-0.44723478,0.13983466,0.883418,-0.6689012,-0.23592637,0.7049185,-0.8903412,-0.15419926,-0.42838684,-0.92482555,0.016368585,-0.3800392,-0.8165544,-0.1464694,-0.55837774,-0.87178856,-0.35990623,-0.3323434,-0.517776,0.4540006,-0.7251148,-0.8433312,0.09983585,0.52803904,-0.47634494,-0.05045076,-0.87780994,-0.7311533,0.36524838,-0.5762018,-0.6984636,-0.017294424,-0.71543664,-0.64312565,0.17802551,0.7447794,-0.66986597,-0.026210472,0.7420193,-0.90760005,0.06683492,0.41448176,-0.71550065,-0.2610496,-0.6480061,-0.48163462,-0.16273934,0.86112946,-0.9447443,-0.18422589,0.271144,-0.84864473,-0.16340141,0.5030924,-0.66986597,-0.026210472,0.7420193,-0.44133595,0.045067813,0.8962095,-0.84305483,-0.09319865,0.52969086,-0.96471584,-0.253683,0.070486,-0.90281165,-0.30579108,-0.30236223,-0.78725094,-0.2752617,-0.5517852,-0.747842,0.21194589,-0.6291353,-0.38904643,0.09032617,0.9167791,-0.8832008,-0.12243323,0.45273212,-0.38904643,0.09032617,0.9167791,-0.747842,0.21194589,-0.6291353,-0.4839415,-0.097555116,0.86964566,-0.84864473,-0.16340141,0.5030924,-0.05462312,0.1690641,-0.9840902,0.075866185,0.9794647,-0.18679745,0.02688641,0.9635681,-0.26610863,-0.9546164,0.028929858,-0.2964296,0.94705594,-0.2590572,-0.18966934,-0.21252948,0.5347677,0.81783545,-0.6675564,-0.59708816,-0.444808,0.075866185,0.9794647,-0.18679745,-0.23479536,0.67432845,-0.7001088,-0.23479536,0.67432845,-0.7001088,-0.47634494,-0.05045076,-0.87780994,-0.81858766,0.5451293,-0.18096499,-0.23479536,0.67432845,-0.7001088,-0.9879483,0.08645398,-0.1283894,-0.7311533,0.36524838,-0.5762018,0.07019434,0.24138543,0.9678872,-0.40643814,-0.8098558,-0.42301488,-0.19065972,-0.720445,-0.66678923,0.075374685,-0.7676886,-0.6363747,0.41129172,-0.60820895,-0.6789117,0.3633369,-0.6630077,-0.65452826,-0.52704555,-0.58184344,-0.6194199,-0.017521787,-0.99930537,0.032890607,-0.021521537,-0.94214505,-0.3345139,0.6121442,-0.6924734,-0.38178536,-0.70010203,-0.5537167,-0.45083794,-0.7312984,-0.6671969,-0.14160144,-0.70010203,-0.5537167,-0.45083794,-0.017521787,-0.99930537,0.032890607,0.3288468,-0.8804425,0.34158558,-0.1467376,-0.75445783,0.63973546,0.24385142,-0.7973807,0.55201495,-0.23899291,-0.84482497,0.4786994,-0.80877304,-0.50211614,0.3062115,-0.847515,-0.42922866,-0.3122198,0.5623081,-0.8260273,-0.03858204,0.04242061,-0.8742375,0.4836417,0.407,-0.7800877,0.47519907,-0.12836032,-0.80886763,0.57380897,0.16910498,-0.7943238,-0.5834837,0.12811182,-0.79456544,-0.59350926,0.40930107,-0.86440027,-0.29203552,0.48217154,-0.858188,-0.17613666,-0.57233065,-0.7097642,-0.41069746,0.22967121,-0.49633533,-0.83719915,-0.27430204,-0.8970687,0.34644783,-0.62714297,-0.48046845,0.6130593,0.5038301,-0.8556301,0.1185428,0.42636088,-0.8999785,-0.09085657,0.39348367,-0.810439,0.4340037,-0.38334632,-0.9040218,0.18918258,0.4810456,-0.8009131,0.35655776,-0.68955994,-0.7188539,0.0880689,-0.0558253,-0.9859457,0.15746342,-0.0028608302,-0.9999959,-0.000106975036,-0.011426341,-0.9991058,-0.04070532,-0.011439374,-0.9991109,-0.04057865,-0.58131546,-0.51583326,-0.6292762,-0.58025545,-0.63782334,0.5064435,0.39348367,-0.810439,0.4340037,0.4810456,-0.8009131,0.35655776,0.3288468,-0.8804425,0.34158558,0.24385142,-0.7973807,0.55201495,0.407,-0.7800877,0.47519907,0.075374685,-0.7676886,-0.6363747,-0.19065972,-0.720445,-0.66678923,0.48217154,-0.858188,-0.17613666,0.40930107,-0.86440027,-0.29203552,0.5623081,-0.8260273,-0.03858204,0.6121442,-0.6924734,-0.38178536,0.16910498,-0.7943238,-0.5834837,0.12811182,-0.79456544,-0.59350926,0.04242061,-0.8742375,0.4836417,-0.12836032,-0.80886763,0.57380897,-0.57233065,-0.7097642,-0.41069746,-0.021521537,-0.94214505,-0.3345139,-0.58131546,-0.51583326,-0.6292762,-0.847515,-0.42922866,-0.3122198,-0.52704555,-0.58184344,-0.6194199,-0.70010203,-0.5537167,-0.45083794,-0.80877304,-0.50211614,0.3062115,-0.38334632,-0.9040218,0.18918258,-0.68955994,-0.7188539,0.0880689,-0.40643814,-0.8098558,-0.42301488,0.22967121,-0.49633533,-0.83719915,-0.1467376,-0.75445783,0.63973546,-0.23899291,-0.84482497,0.4786994,0.3633369,-0.6630077,-0.65452826,-0.62714297,-0.48046845,0.6130593,-0.27430204,-0.8970687,0.34644783,0.41129172,-0.60820895,-0.6789117,-0.70010203,-0.5537167,-0.45083794,-0.7312984,-0.6671969,-0.14160144,-0.74839973,-0.49738073,-0.4387599,0.5038301,-0.8556301,0.1185428,0.42636088,-0.8999785,-0.09085657,-0.58025545,-0.63782334,0.5064435,-0.38334632,-0.9040218,0.18918258,-0.7312984,-0.6671969,-0.14160144,-0.017521787,-0.99930537,0.032890607,-0.74839973,-0.49738073,-0.4387599,-0.0028608302,-0.9999959,-0.000106975036,-0.011426341,-0.9991058,-0.04070532,-0.74839973,-0.49738073,-0.4387599,-0.017521787,-0.99930537,0.032890607,-0.0558253,-0.9859457,0.15746342,-0.74839973,-0.49738073,-0.4387599,-0.0558253,-0.9859457,0.15746342,-0.0028608302,-0.9999959,-0.000106975036,-0.74839973,-0.49738073,-0.4387599,-0.011439374,-0.9991109,-0.04057865,-0.58131546,-0.51583326,-0.6292762,-0.74839973,-0.49738073,-0.4387599,-0.011426341,-0.9991058,-0.04070532,-0.011439374,-0.9991109,-0.04057865,-0.74839973,-0.49738073,-0.4387599]),positions:new Float32Array([-0.6999253,6.443001,-0.82603,0.07097474,5.343301,-0.52663046,-0.76262593,4.472701,-1.15393,-1.7783258,5.520501,-0.86433035,-2.2427258,6.713101,-0.82603,-1.5250261,4.4763007,-0.9856301,0.29497454,9.249201,0.16336976,0.06327439,8.8725,-0.28472978,-0.035225682,9.543601,0.14946976,-0.30342564,9.674201,-0.23032992,2.4808748,3.6319008,-0.11143037,2.0297747,3.2159004,-0.4459305,1.5565743,4.603301,-0.21123049,2.1004748,3.2381003,3.2929707,1.8371744,4.748301,2.81227,0.20437472,4.420901,2.9141703,1.8253747,0.4645001,-1.7956301,0.91437465,0.9539002,-2.1209302,2.4374743,1.0497,-1.8992304,2.5767748,2.7875004,-0.6003304,1.7599748,1.8992002,-1.1086301,1.5595742,2.5219004,-1.29143,0.24357454,3.5395007,-0.67183006,0.24817431,4.333201,-0.45933002,-0.3960259,7.7391005,-1.2657304,0.05687409,8.074501,-0.67993015,-0.12432557,6.748201,-0.34603044,-0.06132584,2.9543004,-0.8707303,-0.20062563,3.4773006,-0.68853,0.43317416,2.5253003,-0.46623006,-0.4904259,2.1981003,-0.90393,-1.0552258,3.1734004,-1.06763,1.4597749,1.4790002,-2.0267305,-1.8893259,8.729101,-1.7110304,-2.2624261,9.345001,-1.37473,-0.97242594,9.702102,-0.89533013,-1.2870256,7.527001,-2.5206306,-1.5926256,8.311801,-2.8306303,-0.3960259,7.7391005,-1.2657304,2.5549746,1.4319001,2.9302707,2.773675,2.7475002,3.0280704,-0.94812554,8.5809,-1.5055304,0.05687409,8.074501,-0.67993015,-0.3960259,7.7391005,-1.2657304,-0.40532535,9.700401,0.84696966,-1.540426,8.934701,1.6871705,-0.62042546,7.995201,1.7714701,-0.15842591,5.3485007,2.2917705,3.3480747,1.1927001,-1.4741304,0.23047411,6.9421005,0.8096703,0.17777406,7.816401,-0.13533022,-0.80692565,9.159501,-1.4650301,0.73637474,6.182101,0.90636986,0.16357423,6.238301,1.5856699,2.0266747,5.562201,1.4546701,3.4768748,0.57150006,-1.4508302,4.1452746,0.9685002,-0.7070302,2.576082,3.1560004,-0.31358007,0.7198746,2.4339004,3.54267,2.288975,1.3705001,3.4610705,-0.40532535,9.700401,0.84696966,0.14267427,10.748201,0.011170197,-0.35632557,10.885501,-0.026630403,-1.0288259,10.067701,0.053869635,-1.2105256,9.758201,0.87647027,0.09657441,8.901701,0.59447026,3.0635746,4.299401,1.8075701,2.5929751,4.772801,0.5979699,0.16167451,9.942601,0.37547,-0.94812554,8.5809,-1.5055304,0.47697452,6.306901,0.39987034,3.0665743,0.73340005,-1.42483,0.6858742,3.7022007,-0.62512976,0.044074252,1.8123003,-1.5475305,-0.053825382,1.2451001,-1.5953302,3.2380748,2.4352005,-0.08572999,0.5252747,5.1989007,-0.29223025,0.8465745,5.738801,0.27866977,-0.7709256,5.724101,2.2065706,-0.619426,6.356501,1.9183702,-1.9789258,7.178801,-1.18583,-0.91182566,7.3815007,-1.4608301,0.09657441,8.901701,0.59447026,0.06327439,8.8725,-0.28472978,3.0936747,0.6671002,2.4830706,4.0453753,0.52309996,1.4920702,3.6563747,2.4587002,2.1933703,0.5219742,1.8811003,-1.0851305,1.1984742,1.6896003,-1.65813,2.625175,1.7991003,-0.6557297,0.67027444,0.5334,-1.9347303,1.2843744,3.0958004,-0.5304299,0.77727437,1.2146001,3.4750705,3.4174747,1.7396003,-0.85813,2.3443742,1.5199003,-1.5742303,0.06327439,8.8725,-0.28472978,-1.8893259,8.729101,-1.7110304,-0.62042546,7.995201,1.7714701,-1.219426,6.696401,2.0643702,-0.619426,6.356501,1.9183702,-2.161226,7.667401,-2.4847305,-0.91182566,7.3815007,-1.4608301,-1.9789258,7.178801,-1.18583,3.1734743,1.5024002,0.15137026,-0.7888257,10.067701,-0.3484299,0.14267427,10.748201,0.011170197,-0.30342564,9.674201,-0.23032992,-1.0288259,10.067701,0.053869635,0.09657441,8.901701,0.59447026,3.387675,3.7165008,1.58967,-0.30342564,9.674201,-0.23032992,-2.2445261,4.9454007,-0.66073006,3.6162753,2.8629005,0.8747697,-0.7888257,10.067701,-0.3484299,-0.7888257,10.067701,-0.3484299,4.364375,1.0550001,0.5702698,-0.61192554,1.0255002,2.04657,-1.0520257,0.52869993,2.4247699,-0.0897255,0.5721001,2.6455705,-2.517626,0.78980017,0.25796968,-1.337726,0.8835,0.28996965,-1.4268259,0.95919997,-0.43353048,-0.44272542,1.0345002,-0.70443004,-1.0315259,1.0731,-0.7273301,-1.0638257,2.0252004,-0.7415303,-3.471126,10.565201,0.1122696,-3.4521263,9.519001,0.46967015,-2.878626,9.963901,0.81987005,-2.741226,7.508901,1.3471704,-3.4521263,9.519001,0.46967015,-3.433826,9.038601,0.28866962,-2.882526,9.084501,-0.10313035,-3.3896263,8.113201,-0.3605301,-3.3058262,8.5403,0.07176972,-2.7694259,7.7350006,-1.0115304,-2.230626,0.22640002,-0.41983035,-1.868326,0.75070006,-0.9546304,3.880675,1.3958001,1.1265702,-2.327826,8.2278,1.5766702,-2.5213258,6.882601,1.3467698,-1.4618257,2.4264002,-0.6133301,-1.2621258,1.7734003,0.17966996,-1.4422258,3.0290003,0.4318703,-1.9845258,3.6388009,0.69077003,-1.890426,1.0817002,0.44496998,-2.0575259,0.9955001,0.9599702,-2.964326,9.822501,-0.10223008,-2.882526,9.084501,-0.10313035,-3.092126,9.502201,0.2502701,-0.087125406,3.1274004,2.8989704,-0.8196259,2.3198001,1.7973703,-0.8748258,2.0967002,2.7634706,0.02887421,0.7540002,-1.4195303,-1.665426,1.8197002,1.62437,-2.1923258,3.5194008,1.3925699,-1.186226,0.55610013,1.5514703,-0.8196259,2.3198001,1.7973703,-0.029425815,2.1513002,3.4381702,-2.5888262,6.208601,0.9756699,-3.112326,7.3445005,0.3178696,-2.667426,4.758001,0.018969728,-2.7694259,7.7350006,-1.0115304,-2.392026,8.487902,-1.3364304,-0.8792256,4.817401,2.3403704,-2.6100261,4.707801,1.3596704,-0.8792256,4.817401,2.3403704,-2.392026,8.487902,-1.3364304,-1.8001261,4.085301,1.9035699,-1.186226,0.55610013,1.5514703,-1.569626,0.3742001,-1.4788301,-1.9930261,9.862201,-0.003130341,-3.0411263,10.770401,0.043869786,-3.433826,9.038601,0.28866962,4.2867746,0.52519995,0.41017002,-2.878626,9.963901,0.81987005,-1.9710261,3.9114006,0.01537018,-1.9930261,9.862201,-0.003130341,-2.2901258,9.714901,-0.21963045,-2.2901258,9.714901,-0.21963045,-2.964326,9.822501,-0.10223008,-3.471126,10.565201,0.1122696,-2.2901258,9.714901,-0.21963045,-3.3058262,8.5403,0.07176972,-2.882526,9.084501,-0.10313035,-0.7709256,5.724101,2.2065706,0.58418125,0.22400019,-1.7113466,0.7487328,0.22400019,-1.869269,1.2752382,0.22400019,-1.8116388,-1.4210848,0.22400019,-1.3924581,-1.2286401,0.22400019,-1.2118917,-1.7548681,0.22400019,-1.3470285,-2.2161448,0.22400019,-0.43305972,-0.5065232,0.22400019,-0.5854172,3.6921923,0.22400019,-0.5356896,-1.9521799,0.22400019,-1.126045,-2.2274122,0.22400019,-0.4297089,-1.9521799,0.22400019,-1.126045,-2.2161448,0.22400019,-0.43305972,2.2313638,0.22400019,2.680494,-0.6810555,0.22400019,2.4642336,2.4538667,0.22400019,2.5940027,0.41850665,0.22400019,2.7519977,-2.6425998,0.22400019,0.70022744,-2.7626433,0.22400019,0.07626649,4.1131854,0.22400019,0.46040884,1.955617,0.22400019,2.7750673,2.1960154,0.22400019,2.7574801,0.7445824,0.22400019,2.9373279,2.7569857,0.22400019,-1.5163606,2.100773,0.22400019,-1.6653436,3.4797022,0.22400019,-1.0087174,3.5642383,0.22400019,-0.8515244,-0.37594378,0.22400019,-0.7854573,-1.1313287,0.22400019,-1.2045778,-1.2935071,0.22400019,1.0919343,-2.5766528,0.22400019,0.8374413,4.0127363,0.22400019,0.9127198,3.5815594,0.22400019,-0.7074967,3.4810352,0.22400019,1.8996607,-1.11559,0.22400019,1.3025575,3.8143253,0.22400019,1.5762239,-1.0991356,0.22400019,2.0397234,-2.209373,0.22400019,-0.42154086,-2.1618967,0.22400019,-0.40970844,-2.1749234,0.22400019,-0.40605244,-2.1937947,0.22400019,-0.40073627,-2.2783449,0.22400019,-0.37692034,-1.0468484,0.22400019,2.382645,3.4810352,0.22400019,1.8996607,3.8143253,0.22400019,1.5762239,2.2313638,0.22400019,2.680494,2.4538667,0.22400019,2.5940027,2.1960154,0.22400019,2.7574801,1.2752382,0.22400019,-1.8116388,0.7487328,0.22400019,-1.869269,3.5642383,0.22400019,-0.8515244,3.4797022,0.22400019,-1.0087174,4.1131854,0.22400019,0.46040884,3.6921923,0.22400019,-0.5356896,2.7569857,0.22400019,-1.5163606,2.100773,0.22400019,-1.6653436,1.955617,0.22400019,2.7750673,0.7445824,0.22400019,2.9373279,-0.37594378,0.22400019,-0.7854573,-0.5065232,0.22400019,-0.5854172,-2.2783449,0.22400019,-0.37692034,-2.7626433,0.22400019,0.07626649,-1.7548681,0.22400019,-1.3470285,-1.9521799,0.22400019,-1.126045,-2.6425998,0.22400019,0.70022744,-1.11559,0.22400019,1.3025575,-1.0991356,0.22400019,2.0397234,0.58418125,0.22400019,-1.7113466,-1.1313287,0.22400019,-1.2045778,-0.6810555,0.22400019,2.4642336,0.41850665,0.22400019,2.7519977,-1.2286401,0.22400019,-1.2118917,-2.5766528,0.22400019,0.8374413,-1.2935071,0.22400019,1.0919343,-1.4210848,0.22400019,-1.3924581,-1.9521799,0.22400019,-1.126045,-2.2274122,0.22400019,-0.4297089,-2.230626,0.22640002,-0.41983035,4.0127363,0.22400019,0.9127198,3.5815594,0.22400019,-0.7074967,-1.0468484,0.22400019,2.382645,-1.11559,0.22400019,1.3025575,-2.2274122,0.22400019,-0.4297089,-2.2161448,0.22400019,-0.43305972,-2.230626,0.22640002,-0.41983035,-2.1618967,0.22400019,-0.40970844,-2.1749234,0.22400019,-0.40605244,-2.230626,0.22640002,-0.41983035,-2.2161448,0.22400019,-0.43305972,-2.209373,0.22400019,-0.42154086,-2.230626,0.22640002,-0.41983035,-2.209373,0.22400019,-0.42154086,-2.1618967,0.22400019,-0.40970844,-2.230626,0.22640002,-0.41983035,-2.1937947,0.22400019,-0.40073627,-2.2783449,0.22400019,-0.37692034,-2.230626,0.22640002,-0.41983035,-2.1749234,0.22400019,-0.40605244,-2.1937947,0.22400019,-0.40073627,-2.230626,0.22640002,-0.41983035]),uvs:new Float32Array([0.21851481,0.38709354,0.25122124,0.29925498,0.33613995,0.31277353,0.31780326,0.41546077,0.26634175,0.49754715,0.36926088,0.35428312,0.8862014,0.7660378,0.96414614,0.65773886,0.9142767,0.82184976,0.96414614,0.8656495,0.24378048,0.15517116,0.27324826,0.1538348,0.24071635,0.21034758,0.12782207,0.13377228,0.13686845,0.17050092,0.097095504,0.18026535,0.3456612,0.015984222,0.38372317,0.05219409,0.3173124,0.03967564,0.2669188,0.12665303,0.3150151,0.10144508,0.312529,0.12937495,0.32927862,0.22344446,0.2904697,0.2528519,0.13747068,0.42125323,0.1110152,0.38961607,0.17645767,0.34971166,0.37940347,0.20685007,0.3529383,0.23464157,0.35064337,0.17517665,0.43924242,0.18647039,0.41530237,0.2674248,0.34998143,0.06725915,0.12322961,0.6801839,0.1720783,0.6964544,0.16144735,0.7933706,0.8861246,0.52512723,0.84557533,0.5134298,0.9878913,0.42880467,0.12832226,0.086800925,0.14096868,0.11748978,0.074313566,0.7435197,0.020883663,0.84153533,0.00000001081579,0.77996564,0.32931674,0.8416559,0.35599756,0.7471563,0.4352468,0.76457715,0.09890157,0.21372627,0.28071728,0.038383927,0.12732372,0.2965882,0.11473294,0.36185902,0.110673696,0.76611084,0.1568792,0.258202,0.11916661,0.24799357,0.1670033,0.20147358,0.27564877,0.017370421,0.24627076,0.033188876,0.25064924,0.13463129,0.09065693,0.12818988,0.11538713,0.09199737,0.8276462,0.8879465,0.8977165,0.9073449,0.8979689,0.9335955,0.24703515,0.8216678,0.30523577,0.7905776,0.8020745,0.7431329,0.17493051,0.15400115,0.20319703,0.1803566,0.89068747,0.8602873,0.8669603,0.42128757,0.1696568,0.2862294,0.29085746,0.022808408,0.30401754,0.21331184,0.4063384,0.124203816,0.4319168,0.09517003,0.24068871,0.10983848,0.2422915,0.26877972,0.19642983,0.2589539,0.084621415,0.22762483,0.08997824,0.2432744,0.21659407,0.49825695,0.16409814,0.4431432,0.06007273,0.3584054,0.077401064,0.3881148,0.13976377,0.06055675,0.1772671,0.045047924,0.1689892,0.10318307,0.36747235,0.13334484,0.35129,0.09048066,0.27406374,0.088201545,0.40481266,0.033736143,0.3024185,0.17043002,0.080950305,0.101946086,0.26399732,0.060749806,0.3123137,0.06264582,0.08229262,0.8732247,0.78262734,0.48695683,0.054573745,0.28939876,0.4784059,0.67288846,0.52534187,0.6902852,0.843693,0.54919225,0.967211,0.5381632,0.8863765,0.6507956,0.23814057,0.07682296,0.52430856,0.78790325,0.5076637,0.9781552,0.42495766,0.8044593,0.88358545,0.94791806,0.39027283,0.865766,0.18311635,0.13782379,0.15227878,0.86758876,0.37036988,0.41615537,0.20584682,0.11498356,0.935007,0.9301176,0.19761893,0.83779246,0.20950294,0.045586396,0.0322884,0.11481223,0.02451134,0.09802288,0.048454616,0.09665558,0.6460075,0.21836895,0.5963892,0.2274105,0.5771463,0.1884031,0.5055221,0.114784405,0.5447714,0.15467297,0.48357084,0.21026236,0.75558704,0.9432239,0.8020744,0.9034289,0.7897775,0.96688294,0.36300594,0.6462114,0.27383736,0.69182056,0.27248618,0.6792056,0.2478923,0.6867268,0.25436208,0.6271816,0.26854706,0.6570603,0.2133645,0.5806204,0.637635,0.17406993,0.60493344,0.1558058,0.19796096,0.06852602,0.35857934,0.69122976,0.3951752,0.6194137,0.48257515,0.25476277,0.5577472,0.2591085,0.5101766,0.3366432,0.50301826,0.39985734,0.6224612,0.2508355,0.65923995,0.27131322,0.7339221,0.92058545,0.667627,0.84930974,0.75460386,0.8875665,0.07549074,0.15373975,0.036297202,0.14856292,0.053295545,0.13493255,0.45089763,0.06624607,0.65852106,0.35673973,0.5478699,0.43424743,0.734133,0.3012958,0.69251174,0.422131,0.07396352,0.1281145,0.4061021,0.5678618,0.31435022,0.5997315,0.4114268,0.44731957,0.75763285,0.6744133,0.734765,0.56230044,0.5902533,0.5873184,0.48538992,0.4962032,0.07417127,0.20548928,0.16459617,0.6398786,0.5627961,0.49731115,0.010203981,0.1122183,0.61384606,0.11812159,0.7293909,0.98951745,0.753717,0.961225,0.8020744,0.78846765,0.20760685,0.029241929,0.27992412,0.7168905,0.45012152,0.3856737,0.2468168,0.7547342,0.23586477,0.728986,0.52842814,0.74081594,0.58254737,0.8386313,0.5380133,0.9808106,0.69757915,0.9635888,0.70988774,0.65773886,0.6677008,0.75300074,0.5507923,0.6433447,0.9718312,0.020504208,0.97220457,0.021100836,0.9716987,0.022655101,0.9721315,0.014245303,0.9714647,0.014712902,0.97220457,0.013208317,0.96973413,0.01123883,0.96911705,0.01649964,0.96632093,0.029152708,0.9716613,0.012472974,0.80359983,1.0238159,0.80359983,0.95338476,0.8044696,1.023133,0.95752156,0.022717984,0.96000504,0.01405433,0.95764303,0.02344461,0.95844465,0.017195703,0.9665674,0.0092362035,0.96852803,0.009265589,0.9630468,0.029798763,0.9574091,0.02182542,0.95731115,0.022562819,0.9576798,0.018064456,0.9698729,0.026945414,0.9707365,0.02505687,0.9678838,0.028808849,0.96735567,0.028965177,0.9696391,0.017020183,0.9713813,0.015002267,0.96453613,0.013066204,0.96611136,0.009349244,0.9617433,0.029211031,0.96690965,0.028926747,0.9590955,0.02698438,0.963788,0.013471412,0.95986325,0.028194623,0.96155035,0.013057904,0.9696951,0.011252033,0.9696294,0.011387991,0.96961904,0.011344941,0.9696118,0.01128404,0.969593,0.011013629,0.9604814,0.013000401,0.15420465,0.04102335,0.16792865,0.037144165,0.110636964,0.05624038,0.117879316,0.05280347,0.1069449,0.059347447,0.37604672,0.008110086,0.4070614,0.013023422,0.25538462,0.0031148791,0.2648711,0.000000008450675,0.20259783,0.019268692,0.23897217,0.0057812533,0.3031835,0.0016587148,0.3331248,0.0026185757,0.09809749,0.06282124,0.068156235,0.07761529,0.52157223,0.044851843,0.5435285,0.046751596,0.63853747,0.17621852,0.66334546,0.19258852,0.62489164,0.1247898,0.6287393,0.14086775,0.68118423,0.21481499,-0.0000000033102134,0.10996528,0.013690739,0.09781893,0.42186216,0.014245739,0.6017828,0.094806425,0.030619193,0.091465615,0.057839744,0.08235605,0.59865737,0.10087764,0.67908764,0.21657859,0.7325371,0.2680749,0.614245,0.10814548,0.43263742,0.92657316,0.43597075,0.8869815,0.43614823,0.88644433,0.18772343,0.02667462,0.24657853,0.0037103465,0.021488441,0.09233946,0.7439689,0.2791134,0.67494655,0.99038863,0.67444944,0.9913764,0.67444944,0.98951757,0.80714715,0.95338464,0.8076674,0.95454615,0.80714715,0.9599234,0.67331666,0.9900621,0.6744493,0.98951745,0.67444944,0.99153584,0.80814487,0.9553456,0.8076674,0.95992327,0.8076674,0.9533845,0.8044694,0.9616473,0.8044694,0.95338464,0.807147,0.9587995,0.67240256,0.98951757,0.6733167,0.9911193,0.67240256,0.9949199]),vertexCount:285});var b="../fox-tex-03f042508a92e722.png";var a="../fox-normal-7ce4a77b1285eb7a.png";var f="../backdrop-0e5863d39a0305cf.png";var O="../backdrop-normals-6ba4b06676f112b6.png";var N="../white-532695823c58790a.png";var E=(c)=>new $(c,N);var g=location.search.includes("alt1"),I=new G({fov:45}),L=new Y([0,2,4],R([-15,0,0])),e=new Y([10,!g?10:-2,10]),u=new Y(q(0),R([0,225,0]),q(0.1)),V=new $(I,F,{uvClamp:!0}),r=!g?new $(I,f):E(I),M=new $(I,O),U=!g?new $(I,b):E(I),n=new $(I,a),h=X(35,76,37);I.onUpdate((c,y)=>{});new B(I,u,new Q(I,_,H(I,h).addTexture("texture0",U).addTexture("texture1",n).addTexture("texture2",V),L,e).configure({}));new B(I,d,new Q(I,J,H(I,h).addTexture("texture0",r).addTexture("texture1",M).addTexture("texture2",V),L,e).configure({}));I.start();