1import{j as e,C as i,r as c,u as d}from"./r3f-D-tv2vky.js";import{I as l,g as u}from"./three-CrRbY0Rh.js";import{u as p}from"./useInView-hX75lh_a.js";const m="#00B3E3",f="#7CE6FF",x=({tiltX:s=0,tiltY:a=0})=>{const r=c.useRef(null);return d(({clock:n})=>{const t=n.getElapsedTime();r.current&&(r.current.rotation.y=t*.15+s*.2,r.current.rotation.x=Math.sin(t*.1)*.15+a*.15)}),e.jsxs("group",{ref:r,children:[e.jsxs("lineSegments",{children:[e.jsx("edgesGeometry",{args:[new l(2.6,1)]}),e.jsx("lineBasicMaterial",{color:m,transparent:!0,opacity:.55,depthWrite:!1})]}),e.jsxs("points",{children:[e.jsx("icosahedronGeometry",{args:[2.6,1]}),e.jsx("pointsMaterial",{color:f,size:.09,sizeAttenuation:!0,transparent:!0,opacity:.95,depthWrite:!1,blending:u})]})]})},y=({tiltX:s,tiltY:a})=>{const r=typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,{ref:n,inView:t}=p("200px"),o=t&&!r;return e.jsx("div",{ref:n,className:"absolute inset-0",children:e.jsx(i,{dpr:[1,1.75],camera:{position:[0,0,7],fov:50},gl:{alpha:!0,antialias:!0},style:{background:"transparent"},frameloop:o?"always":"demand",children:e.jsx(x,{tiltX:s,tiltY:a})})})};export{y as PracticeWireframeScene,y as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.