{"_id":"@crazygl/hero-pixel-to-3d-reveal","name":"@crazygl/hero-pixel-to-3d-reveal","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-pixel-to-3d-reveal","version":"0.1.1","description":"Pixel to 3D Reveal — An image is sampled into a cloud of chunky pixel cubes scattered through 3D space. They fly to their home positions and refine from low-res chunks to crisp pixels — a pixel mosaic that assembles… A customizable CrazyGL animated hero s","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","three":"^0.160.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/pixel-to-3d-reveal","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-pixel-to-3d-reveal.git"},"publishConfig":{"access":"public"},"keywords":["pixel","particles","three","instanced","reveal","logo","screenshot","nostalgia","dev-tools","image-input","pixel-to-3d-reveal","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-pixel-to-3d-reveal/issues"},"gitHead":"627cc7345479a8bbd60313a8b43a678e1434c295","_id":"@crazygl/hero-pixel-to-3d-reveal@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-Ii8E7CoTx0ZdM5D6PLPnWmSYDZYCvR2VjnkJXY2yVxAOduRvgzhRTIDdROO5JAg+lqlAyd78EwXoVWbKtHfmDw==","shasum":"10c29a60c56c6ddd2531d5ef0e853ce97e4f559f","tarball":"https://registry.npmjs.org/@crazygl/hero-pixel-to-3d-reveal/-/hero-pixel-to-3d-reveal-0.1.1.tgz","fileCount":9,"unpackedSize":82298,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBOzBNI9Ci9YMN9x3Zy4I2zV+fqWx+RfnhuJp6YjC1ooAiAZaam7+g/YdnIK/2xM9zXLx/Wvh4Lci7BW3MUA6mSA3A=="}]},"_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-pixel-to-3d-reveal_0.1.1_1782922474175_0.44781294473184796"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:14:33.916Z","0.1.1":"2026-07-01T16:14:34.304Z","modified":"2026-07-01T16:14:34.557Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Pixel to 3D Reveal — An image is sampled into a cloud of chunky pixel cubes scattered through 3D space. They fly to their home positions and refine from low-res chunks to crisp pixels — a pixel mosaic that assembles… A customizable CrazyGL animated hero s","homepage":"https://crazygl.com/hero/pixel-to-3d-reveal","keywords":["pixel","particles","three","instanced","reveal","logo","screenshot","nostalgia","dev-tools","image-input","pixel-to-3d-reveal","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-pixel-to-3d-reveal.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-pixel-to-3d-reveal/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-pixel-to-3d-reveal/banner-full.png\" alt=\"Pixel to 3D Reveal\" width=\"640\">\n</p>\n\n# @crazygl/hero-pixel-to-3d-reveal\n\nAn image is sampled into a cloud of chunky pixel cubes scattered through 3D space. They fly to their home positions and refine from low-res chunks to crisp pixels — a pixel mosaic that assembles itself in front of a glowing grid floor. Three.js InstancedMesh, image-as-particle-source.\n\n## Demo\n[Pixel to 3D Reveal](https://crazygl.com/hero/pixel-to-3d-reveal)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-pixel-to-3d-reveal\n```\n\n## Usage\n\n```tsx\nimport PixelTo3DReveal from '@crazygl/hero-pixel-to-3d-reveal';\n\nexport default function Page() {\n  return (\n    <PixelTo3DReveal\n      media=\"/product-screenshot.png\"\n      heading=\"From pixels to product.\"\n      pixelDensity={121}\n      repeatMode=\"Static\"\n      gridColor=\"#5cf2ff\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Image** — `media` (PNG/JPG/WebP/AVIF; transparent areas are skipped), plus `mediaZoom` and `mediaCenterX`/`Y` to position the mosaic opposite the heading.\n- **Pixel assembly** — `pixelDensity`, `assemblyDuration`, `flightDuration`, `clusterSize`, `particleStartScale` → `particleEndScale` (the resolution-doubling gap), `scatterDistance`, `repeatMode` (Auto / Static / Click) and `loopInterval`.\n- **Grid floor** — `gridColor`, `gridIntensity`, `gridScale`.\n- **Stage** — `bgColor`, `vignetteStrength`, `pointerParallax`.\n\n## Best for\n\n- Developer tools, IDEs, and dashboards where the loading-becomes-product story matters.\n- Indie games and retro-flavoured creative apps.\n- Nostalgia and \"rebuilt for today\" brand launches — drop in a logo or product UI.\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-d146bc89c99de240f4e1523b424d062d"}