[{"data":1,"prerenderedAt":995},["ShallowReactive",2],{"navigation":3,"/api/miscellaneous/mouse-parallax":470,"/api/miscellaneous/mouse-parallax-surround":990},[4,22],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","/getting-started","1.getting-started/1.index",[9,10,14,18],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation Guide","/getting-started/installation","1.getting-started/2.installation",{"title":15,"path":16,"stem":17},"Usage","/getting-started/usage","1.getting-started/3.usage",{"title":19,"path":20,"stem":21},"Upgrade Guide","/getting-started/upgrade-guide","1.getting-started/4.upgrade-guide",{"title":23,"path":24,"stem":25,"children":26},"Api","/api","2.api",[27,30,80,114,156,190,284,310,344,394,436],{"title":28,"path":24,"stem":29},"All","2.api/index",{"title":31,"path":32,"stem":33,"children":34},"Abstractions","/api/abstractions","2.api/1.abstractions/index",[35,36,40,44,48,52,56,60,64,68,72,76],{"title":31,"path":32,"stem":33},{"title":37,"path":38,"stem":39},"Align","/api/abstractions/align","2.api/1.abstractions/align",{"title":41,"path":42,"stem":43},"Billboard","/api/abstractions/billboard","2.api/1.abstractions/billboard",{"title":45,"path":46,"stem":47},"Camera Shake","/api/abstractions/camera-shake","2.api/1.abstractions/camera-shake",{"title":49,"path":50,"stem":51},"Edges","/api/abstractions/edges","2.api/1.abstractions/edges",{"title":53,"path":54,"stem":55},"Fit","/api/abstractions/fit","2.api/1.abstractions/fit",{"title":57,"path":58,"stem":59},"Levioso (Float)","/api/abstractions/levioso","2.api/1.abstractions/levioso",{"title":61,"path":62,"stem":63},"Mask","/api/abstractions/mask","2.api/1.abstractions/mask",{"title":65,"path":66,"stem":67},"Outline","/api/abstractions/outline","2.api/1.abstractions/outline",{"title":69,"path":70,"stem":71},"Sampler","/api/abstractions/sampler","2.api/1.abstractions/sampler",{"title":73,"path":74,"stem":75},"ScreenSizer","/api/abstractions/screen-sizer","2.api/1.abstractions/screen-sizer",{"title":77,"path":78,"stem":79},"ScreenSpace","/api/abstractions/screen-space","2.api/1.abstractions/screen-space",{"title":81,"path":82,"stem":83,"children":84},"Controls","/api/controls","2.api/2.controls/index",[85,86,90,94,98,102,106,110],{"title":81,"path":82,"stem":83},{"title":87,"path":88,"stem":89},"Camera Controls","/api/controls/camera-controls","2.api/2.controls/camera-controls",{"title":91,"path":92,"stem":93},"Drag Controls","/api/controls/drag-controls","2.api/2.controls/drag-controls",{"title":95,"path":96,"stem":97},"Keyboard Controls","/api/controls/keyboard-controls","2.api/2.controls/keyboard-controls",{"title":99,"path":100,"stem":101},"Map Controls","/api/controls/map-controls","2.api/2.controls/map-controls",{"title":103,"path":104,"stem":105},"Orbit Controls","/api/controls/orbit-controls","2.api/2.controls/orbit-controls",{"title":107,"path":108,"stem":109},"PointerLock Controls","/api/controls/pointer-lock-controls","2.api/2.controls/pointer-lock-controls",{"title":111,"path":112,"stem":113},"Transform Controls","/api/controls/transform-controls","2.api/2.controls/transform-controls",{"title":115,"path":116,"stem":117,"children":118},"Loaders","/api/loaders","2.api/3.loaders/index",[119,120,124,128,132,136,140,144,148,152],{"title":115,"path":116,"stem":117},{"title":121,"path":122,"stem":123},"useGLTF","/api/loaders/use-gltf","2.api/3.loaders/1.use-gltf",{"title":125,"path":126,"stem":127},"GLTFModel","/api/loaders/gltf-model","2.api/3.loaders/2.gltf-model",{"title":129,"path":130,"stem":131},"useFBX","/api/loaders/use-fbx","2.api/3.loaders/3.use-fbx",{"title":133,"path":134,"stem":135},"FBXModel","/api/loaders/fbx-model","2.api/3.loaders/4.fbx-model",{"title":137,"path":138,"stem":139},"useTexture","/api/loaders/use-texture","2.api/3.loaders/5.use-texture",{"title":141,"path":142,"stem":143},"useTextures","/api/loaders/use-textures","2.api/3.loaders/6.use-textures",{"title":145,"path":146,"stem":147},"useSVG","/api/loaders/use-svg","2.api/3.loaders/7.use-svg",{"title":149,"path":150,"stem":151},"useProgress","/api/loaders/use-progress","2.api/3.loaders/use-progress",{"title":153,"path":154,"stem":155},"useVideoTexture","/api/loaders/use-video-texture","2.api/3.loaders/use-video-texture",{"title":157,"path":158,"stem":159,"children":160},"Materials","/api/materials","2.api/4.materials/index",[161,162,166,170,174,178,182,186],{"title":157,"path":158,"stem":159},{"title":163,"path":164,"stem":165},"Custom Shader Material","/api/materials/custom-shader-material","2.api/4.materials/custom-shader-material",{"title":167,"path":168,"stem":169},"Mesh Glass Material","/api/materials/glass-material","2.api/4.materials/glass-material",{"title":171,"path":172,"stem":173},"Holographic Material","/api/materials/holographic-material","2.api/4.materials/holographic-material",{"title":175,"path":176,"stem":177},"Mesh Discard Material","/api/materials/mesh-discard-material","2.api/4.materials/mesh-discard-material",{"title":179,"path":180,"stem":181},"Mesh Reflection Material","/api/materials/mesh-reflection-material","2.api/4.materials/mesh-reflection-material",{"title":183,"path":184,"stem":185},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":187,"path":188,"stem":189},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":191,"path":192,"stem":193,"children":194},"Shapes","/api/shapes","2.api/5.shapes/index",[195,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280],{"title":191,"path":192,"stem":193},{"title":197,"path":198,"stem":199},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":201,"path":202,"stem":203},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":205,"path":206,"stem":207},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":209,"path":210,"stem":211},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":213,"path":214,"stem":215},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":217,"path":218,"stem":219},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":221,"path":222,"stem":223},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":225,"path":226,"stem":227},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":229,"path":230,"stem":231},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":233,"path":234,"stem":235},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":237,"path":238,"stem":239},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":241,"path":242,"stem":243},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":245,"path":246,"stem":247},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":249,"path":250,"stem":251},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":253,"path":254,"stem":255},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":257,"path":258,"stem":259},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":261,"path":262,"stem":263},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":265,"path":266,"stem":267},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":269,"path":270,"stem":271},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":273,"path":274,"stem":275},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":277,"path":278,"stem":279},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":281,"path":282,"stem":283},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":285,"path":286,"stem":287,"children":288},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[289,290,294,298,302,306],{"title":285,"path":286,"stem":287},{"title":291,"path":292,"stem":293},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":295,"path":296,"stem":297},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":299,"path":300,"stem":301},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":303,"path":304,"stem":305},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":307,"path":308,"stem":309},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":311,"path":312,"stem":313,"children":314},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[315,316,320,324,328,332,336,340],{"title":311,"path":312,"stem":313},{"title":317,"path":318,"stem":319},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":321,"path":322,"stem":323},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":325,"path":326,"stem":327},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":329,"path":330,"stem":331},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":333,"path":334,"stem":335},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":337,"path":338,"stem":339},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":341,"path":342,"stem":343},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":345,"path":346,"stem":347,"children":348},"Staging","/api/staging","2.api/8.staging/index",[349,350,354,358,362,366,370,374,378,382,386,390],{"title":345,"path":346,"stem":347},{"title":351,"path":352,"stem":353},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":355,"path":356,"stem":357},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":359,"path":360,"stem":361},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":363,"path":364,"stem":365},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":367,"path":368,"stem":369},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":371,"path":372,"stem":373},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":375,"path":376,"stem":377},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":379,"path":380,"stem":381},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":383,"path":384,"stem":385},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":387,"path":388,"stem":389},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":391,"path":392,"stem":393},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":395,"path":396,"stem":397,"children":398},"Objects","/api/objects","2.api/9.objects/index",[399,400,404,408,412,416,420,424,428,432],{"title":395,"path":396,"stem":397},{"title":401,"path":402,"stem":403},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":405,"path":406,"stem":407},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":409,"path":410,"stem":411},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":413,"path":414,"stem":415},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":417,"path":418,"stem":419},"HTML","/api/objects/html","2.api/9.objects/html",{"title":421,"path":422,"stem":423},"Image","/api/objects/image","2.api/9.objects/image",{"title":425,"path":426,"stem":427},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":429,"path":430,"stem":431},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":433,"path":434,"stem":435},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":437,"path":438,"stem":439,"children":440},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[441,442,446,450,454,458,462,466],{"title":437,"path":438,"stem":439},{"title":443,"path":444,"stem":445},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":447,"path":448,"stem":449},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":451,"path":452,"stem":453},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":455,"path":456,"stem":457},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":459,"path":460,"stem":461},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":463,"path":464,"stem":465},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":467,"path":468,"stem":469},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":471,"title":451,"body":472,"description":984,"extension":985,"links":986,"meta":987,"navigation":655,"path":452,"seo":988,"stem":453,"__hash__":989},"docs/2.api/miscellaneous/mouse-parallax.md",{"type":473,"value":474,"toc":980},"minimark",[475,481,497,501,507,517,526,532,900,904,976],[476,477,478],"scene-controls-wrapper",{},[479,480],"miscellaneous-mouse-parallax",{},[482,483,484,488,489,496],"p",{},[485,486,487],"code",{},"\u003CMouseParallax />"," is a component that allows you to easily create a ",[490,491,495],"a",{"href":492,"rel":493},"https://en.wikipedia.org/wiki/Parallax",[494],"nofollow","parallax"," effect. The camera will update automatically according to the mouse position.",[498,499,15],"h2",{"id":500},"usage",[482,502,503,504,506],{},"You only need to import and add it to your template as ",[485,505,487],{},". Additionally, you can pass the following props:",[482,508,509,512,513,516],{},[485,510,511],{},"factor"," is a number to increase the movement range of the camera. This could be an array of two values corresponding to the x and y values, in that order: ",[485,514,515],{},":factor=[x,y]",".",[482,518,519,522,523,516],{},[485,520,521],{},"ease"," is a number that smooths the movement. This could be an array of two values corresponding to the x and y values, in that order: ",[485,524,525],{},":ease=[x,y]",[482,527,528,531],{},[485,529,530],{},"local"," is a boolean that enables movement based on the position of the mouse on the canvas rather than the window.",[533,534,542],"pre",{"className":535,"code":536,"highlights":537,"language":540,"meta":541,"style":541},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { MouseParallax, TorusKnot } from \"@tresjs/cientos\";\nimport { TresCanvas } from \"@tresjs/core\";\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CTresCanvas clear-color=\"#82DBC5\">\n    \u003CTresPerspectiveCamera :position=\"[0, 0, 7.5]\" :fov=\"75\" />\n    \u003CTorusKnot>\n      \u003CTresMeshToonMaterial color=\"orange\" />\n    \u003C/TorusKnot>\n    \u003CMouseParallax :factor=\"5\" :ease=\"[3, 0.1]\" />\n    \u003CTresAmbientLight />\n    \u003CTresDirectionalLight :position=\"[0, 2, 4]\" />\n  \u003C/TresCanvas>\n\u003C/template>\n",[538,539],2,12,"vue","",[485,543,544,579,617,640,650,657,667,690,748,758,781,791,835,845,881,891],{"__ignoreMap":541},[545,546,549,553,557,561,564,567,570,574,576],"span",{"class":547,"line":548},"line",1,[545,550,552],{"class":551},"sMK4o","\u003C",[545,554,556],{"class":555},"swJcz","script",[545,558,560],{"class":559},"spNyl"," setup",[545,562,563],{"class":559}," lang",[545,565,566],{"class":551},"=",[545,568,569],{"class":551},"\"",[545,571,573],{"class":572},"sfazB","ts",[545,575,569],{"class":551},[545,577,578],{"class":551},">\n",[545,580,583,587,590,594,597,600,603,606,609,612,614],{"class":581,"line":538},[547,582],"highlight",[545,584,586],{"class":585},"s7zQu","import",[545,588,589],{"class":551}," {",[545,591,593],{"class":592},"sTEyZ"," MouseParallax",[545,595,596],{"class":551},",",[545,598,599],{"class":592}," TorusKnot",[545,601,602],{"class":551}," }",[545,604,605],{"class":585}," from",[545,607,608],{"class":551}," \"",[545,610,611],{"class":572},"@tresjs/cientos",[545,613,569],{"class":551},[545,615,616],{"class":551},";\n",[545,618,620,622,624,627,629,631,633,636,638],{"class":547,"line":619},3,[545,621,586],{"class":585},[545,623,589],{"class":551},[545,625,626],{"class":592}," TresCanvas",[545,628,602],{"class":551},[545,630,605],{"class":585},[545,632,608],{"class":551},[545,634,635],{"class":572},"@tresjs/core",[545,637,569],{"class":551},[545,639,616],{"class":551},[545,641,643,646,648],{"class":547,"line":642},4,[545,644,645],{"class":551},"\u003C/",[545,647,556],{"class":555},[545,649,578],{"class":551},[545,651,653],{"class":547,"line":652},5,[545,654,656],{"emptyLinePlaceholder":655},true,"\n",[545,658,660,662,665],{"class":547,"line":659},6,[545,661,552],{"class":551},[545,663,664],{"class":555},"template",[545,666,578],{"class":551},[545,668,670,673,676,679,681,683,686,688],{"class":547,"line":669},7,[545,671,672],{"class":551},"  \u003C",[545,674,675],{"class":555},"TresCanvas",[545,677,678],{"class":559}," clear-color",[545,680,566],{"class":551},[545,682,569],{"class":551},[545,684,685],{"class":572},"#82DBC5",[545,687,569],{"class":551},[545,689,578],{"class":551},[545,691,693,696,699,702,705,707,709,712,716,719,721,723,726,729,731,733,736,738,740,743,745],{"class":547,"line":692},8,[545,694,695],{"class":551},"    \u003C",[545,697,698],{"class":555},"TresPerspectiveCamera",[545,700,701],{"class":551}," :",[545,703,704],{"class":559},"position",[545,706,566],{"class":551},[545,708,569],{"class":551},[545,710,711],{"class":551},"[",[545,713,715],{"class":714},"sbssI","0",[545,717,718],{"class":551},", ",[545,720,715],{"class":714},[545,722,718],{"class":551},[545,724,725],{"class":714},"7.5",[545,727,728],{"class":551},"]",[545,730,569],{"class":551},[545,732,701],{"class":551},[545,734,735],{"class":559},"fov",[545,737,566],{"class":551},[545,739,569],{"class":551},[545,741,742],{"class":714},"75",[545,744,569],{"class":551},[545,746,747],{"class":551}," />\n",[545,749,751,753,756],{"class":547,"line":750},9,[545,752,695],{"class":551},[545,754,755],{"class":555},"TorusKnot",[545,757,578],{"class":551},[545,759,761,764,767,770,772,774,777,779],{"class":547,"line":760},10,[545,762,763],{"class":551},"      \u003C",[545,765,766],{"class":555},"TresMeshToonMaterial",[545,768,769],{"class":559}," color",[545,771,566],{"class":551},[545,773,569],{"class":551},[545,775,776],{"class":572},"orange",[545,778,569],{"class":551},[545,780,747],{"class":551},[545,782,784,787,789],{"class":547,"line":783},11,[545,785,786],{"class":551},"    \u003C/",[545,788,755],{"class":555},[545,790,578],{"class":551},[545,792,794,796,798,800,802,804,806,809,811,813,815,817,819,821,824,826,829,831,833],{"class":793,"line":539},[547,582],[545,795,695],{"class":551},[545,797,451],{"class":555},[545,799,701],{"class":551},[545,801,511],{"class":559},[545,803,566],{"class":551},[545,805,569],{"class":551},[545,807,808],{"class":714},"5",[545,810,569],{"class":551},[545,812,701],{"class":551},[545,814,521],{"class":559},[545,816,566],{"class":551},[545,818,569],{"class":551},[545,820,711],{"class":551},[545,822,823],{"class":714},"3",[545,825,718],{"class":551},[545,827,828],{"class":714},"0.1",[545,830,728],{"class":551},[545,832,569],{"class":551},[545,834,747],{"class":551},[545,836,838,840,843],{"class":547,"line":837},13,[545,839,695],{"class":551},[545,841,842],{"class":555},"TresAmbientLight",[545,844,747],{"class":551},[545,846,848,850,853,855,857,859,861,863,865,867,870,872,875,877,879],{"class":547,"line":847},14,[545,849,695],{"class":551},[545,851,852],{"class":555},"TresDirectionalLight",[545,854,701],{"class":551},[545,856,704],{"class":559},[545,858,566],{"class":551},[545,860,569],{"class":551},[545,862,711],{"class":551},[545,864,715],{"class":714},[545,866,718],{"class":551},[545,868,869],{"class":714},"2",[545,871,718],{"class":551},[545,873,874],{"class":714},"4",[545,876,728],{"class":551},[545,878,569],{"class":551},[545,880,747],{"class":551},[545,882,884,887,889],{"class":547,"line":883},15,[545,885,886],{"class":551},"  \u003C/",[545,888,675],{"class":555},[545,890,578],{"class":551},[545,892,894,896,898],{"class":547,"line":893},16,[545,895,645],{"class":551},[545,897,664],{"class":555},[545,899,578],{"class":551},[498,901,903],{"id":902},"props","Props",[905,906,907,924],"table",{},[908,909,910],"thead",{},[911,912,913,918,921],"tr",{},[914,915,917],"th",{"align":916},"left","Prop",[914,919,920],{"align":916},"Description",[914,922,923],{},"Default",[925,926,927,942,954,965],"tbody",{},[911,928,929,936,939],{},[930,931,932],"td",{"align":916},[933,934,935],"strong",{},"disabled",[930,937,938],{"align":916},"Enable or disable the effect",[930,940,941],{},"false",[911,943,944,948,951],{},[930,945,946],{"align":916},[933,947,511],{},[930,949,950],{"align":916},"Increase the range of the parallax",[930,952,953],{},"2.5",[911,955,956,960,963],{},[930,957,958],{"align":916},[933,959,521],{},[930,961,962],{"align":916},"Increase the camera movement speed",[930,964,828],{},[911,966,967,971,974],{},[930,968,969],{"align":916},[933,970,530],{},[930,972,973],{"align":916},"Whether the mouse coordinates are calculated from the element or the window",[930,975,941],{},[977,978,979],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":541,"searchDepth":548,"depth":538,"links":981},[982,983],{"id":500,"depth":538,"text":15},{"id":902,"depth":538,"text":903},"Create parallax effects based on mouse movement.","md",null,{},{"title":451,"description":984},"-wMRikeU1CMiiuet3URQZ7L0rwjhY5Q0pVMViyyOwK0",[991,993],{"title":447,"path":448,"stem":449,"description":992,"children":-1},"Add global sound to your scene.",{"title":455,"path":456,"stem":457,"description":994,"children":-1},"Spatially positioned audio in 3D space.",1776202095395]