{"_id":"@crazygl/hero-glass-cube-maze","name":"@crazygl/hero-glass-cube-maze","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-glass-cube-maze","version":"0.1.1","description":"Glass Cube Maze — Raymarched lattice of transparent glass cubes drifting in 3D space. The cursor orbits the camera, and chromatic dispersion paints rainbow rims along the hits. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./metadata.json":"./metadata.json","./style.css":"./style.css"},"dependencies":{"@crazygl/core":"^0.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/glass-cube-maze","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-glass-cube-maze.git"},"publishConfig":{"access":"public"},"keywords":["glass","cubes","raymarching","refraction","chromatic-aberration","premium","glass-cube-maze","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-glass-cube-maze/issues"},"gitHead":"c2dedae7ccb07a82368e554ba20a67fa7eccf78f","_id":"@crazygl/hero-glass-cube-maze@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-rgeqXQlC+SzYn7N25GjC1RxzEK3bwy8HOE9L5l/0ew6pPPHTVFCF/uM6MPCBjMezl8kC/wapHKINkZNbQ8ObjQ==","shasum":"b794ad791c79c30ab226adf12da5f98c2bb21f28","tarball":"https://registry.npmjs.org/@crazygl/hero-glass-cube-maze/-/hero-glass-cube-maze-0.1.1.tgz","fileCount":9,"unpackedSize":53548,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBLNYLAp6BNQAs8pG0HwZif1AJOi0758GPFwVrv6Ak13AiEA6AK3aH5XVZvn1VdGIhLq4/H3hm8+E3EQ9SHpV8bE6pI="}]},"_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"directories":{},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hero-glass-cube-maze_0.1.1_1782922333859_0.47080319352739664"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:12:13.680Z","0.1.1":"2026-07-01T16:12:13.987Z","modified":"2026-07-01T16:12:14.220Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Glass Cube Maze — Raymarched lattice of transparent glass cubes drifting in 3D space. The cursor orbits the camera, and chromatic dispersion paints rainbow rims along the hits. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/glass-cube-maze","keywords":["glass","cubes","raymarching","refraction","chromatic-aberration","premium","glass-cube-maze","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-glass-cube-maze.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-glass-cube-maze/issues"},"license":"Apache-2.0","readme":"<sub>*Hero made by [@ybouane](https://x.com/ybouane).*</sub>\n<p align=\"center\">\n  <img src=\"https://crazygl.com/heroes/hero-glass-cube-maze/banner-full.png\" alt=\"Glass Cube Maze\" width=\"640\">\n</p>\n\n# @crazygl/hero-glass-cube-maze\n\nRaymarched lattice of transparent glass cubes drifting in 3D space. The cursor orbits the camera, and chromatic dispersion paints rainbow rims along the hits.\n\n## Demo\n[Glass Cube Maze](https://crazygl.com/hero/glass-cube-maze)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-glass-cube-maze\n```\n\n## Usage\n\n```tsx\nimport GlassCubeMaze from '@crazygl/hero-glass-cube-maze';\n\nexport default function Page() {\n  return (\n    <GlassCubeMaze\n      backgroundImage=\"/your-scene.jpg\"\n      chromatic={0.25}\n      spacing={2.2}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Background** — `backgroundImage` (refracted through every cube), or `skyTop` / `skyBottom` for a procedural sky when empty.\n- **Cubes** — `tint`, `rimColor`, `cubeSize`, `spacing`, `cornerRound`, `refraction`, `chromatic` (dispersion), `fresnel`, `rotateSpeed`, `randomness` (0 = strict grid → 1 = scattered cloud).\n- **Camera** — `centerX`, `centerY`, `orbitStrength` (pointer swing), `fov`.\n- **3D content** — `embedContent3D` rasterises the heading onto a billboard plane refracted by the cubes.\n\n## Best for\n\n- Premium SaaS launch pages and product reveals.\n- Design / creative studio sites and high-end agency portfolios.\n- Optics, jewellery, and luxury product landing pages that want a tactile, optical centerpiece.\n\n\n\nThis hero is part of [CrazyGL](https://crazygl.com), a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready `SKILL.md` file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.\n","readmeFilename":"README.md","_rev":"1-8182c29d67309ebe292a4aef6905a646"}