{"_id":"@crazygl/hero-black-hole-lens","_rev":"2-8abf0667a311cf3ec00c360ee6f08ef9","name":"@crazygl/hero-black-hole-lens","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@crazygl/hero-black-hole-lens","version":"0.1.0","author":{"name":"ybouane"},"license":"Apache-2.0","_id":"@crazygl/hero-black-hole-lens@0.1.0","maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"homepage":"https://crazygl.com/hero/black-hole-lens","bugs":{"url":"https://github.com/crazygl-com/hero-black-hole-lens/issues"},"dist":{"shasum":"8bcb426b8587c574a39b84e373cb1d9a10d4aac0","tarball":"https://registry.npmjs.org/@crazygl/hero-black-hole-lens/-/hero-black-hole-lens-0.1.0.tgz","fileCount":9,"integrity":"sha512-Mxdl4AxXwQywHSuObkLLyT7M0jsf8hgZUqlftrQsK/9cM7xEaCCv+bgajgNpQiOZSgsl973GbRqNzhBqZVrlHw==","signatures":[{"sig":"MEYCIQDCX3zTrIlvuqDGPPcQAT0ramHkjMURqFjMWU7LO1w8YgIhAO+QDpSXLWX3+3xOekfGQbELoE2iqX2jkDCO5opkkBhv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48415},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./style.css":"./style.css","./metadata.json":"./metadata.json"},"gitHead":"23e000d220b92a456cd89338b83d2c1da217d185","_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"repository":{"url":"git+https://github.com/crazygl-com/hero-black-hole-lens.git","type":"git"},"_npmVersion":"11.12.0","description":"Black Hole Lens — gravitational lensing of a star field with a hot accretion disk and bloom.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@crazygl/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hero-black-hole-lens_0.1.0_1782870549757_0.46200134601524634","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@crazygl/hero-black-hole-lens","version":"0.1.1","description":"Black Hole Lens — Gravitational lensing of a star field, dust motes, and the deep nebula behind a singularity. A Doppler-shifted accretion disk burns in the equatorial plane — bluer where it rushes toward you, redder… A customizable CrazyGL animated hero ","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/black-hole-lens","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-black-hole-lens.git"},"publishConfig":{"access":"public"},"keywords":["black-hole","gravitational-lens","stars","accretion-disk","bloom","premium","black-hole-lens","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-black-hole-lens/issues"},"gitHead":"edbe98ecef862ac3490fe7c126bd878da927aa6c","_id":"@crazygl/hero-black-hole-lens@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-c06qeHEx38wafJjuqtc8fzfDF54yDG24T2+dxVTS7BUTLoqK8WeNSm1ICrnzclF11+sY3MFXWrqj0ML99l3zLQ==","shasum":"d93e9cdfbf8cfc9f20f01772bb48289f4a3ad237","tarball":"https://registry.npmjs.org/@crazygl/hero-black-hole-lens/-/hero-black-hole-lens-0.1.1.tgz","fileCount":9,"unpackedSize":49008,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF9cjwG1ky3h0vbYp90XkdaCOGrsd2gy4h1E1gZn+1kTAiA+h38JY/joYxEHT+KAyDgvgFLV113/6uA/qdMS4PevCg=="}]},"_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-black-hole-lens_0.1.1_1782922265890_0.25039660397456065"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T01:49:09.591Z","modified":"2026-07-01T16:11:06.204Z","0.1.0":"2026-07-01T01:49:09.890Z","0.1.1":"2026-07-01T16:11:06.045Z"},"bugs":{"url":"https://github.com/crazygl-com/hero-black-hole-lens/issues"},"author":{"name":"ybouane"},"license":"Apache-2.0","homepage":"https://crazygl.com/hero/black-hole-lens","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-black-hole-lens.git"},"description":"Black Hole Lens — Gravitational lensing of a star field, dust motes, and the deep nebula behind a singularity. A Doppler-shifted accretion disk burns in the equatorial plane — bluer where it rushes toward you, redder… A customizable CrazyGL animated hero ","maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"readme":"<sub>*Hero made by [@ybouane](https://x.com/ybouane).*</sub>\n<p align=\"center\">\n  <img src=\"https://crazygl.com/heroes/hero-black-hole-lens/banner-full.png\" alt=\"Black Hole Lens\" width=\"640\">\n</p>\n\n# @crazygl/hero-black-hole-lens\n\nGravitational lensing of a star field, dust motes, and the deep nebula behind a singularity. A Doppler-shifted accretion disk burns in the equatorial plane — bluer where it rushes toward you, redder where it falls away.\n\n## Demo\n[Black Hole Lens](https://crazygl.com/hero/black-hole-lens)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-black-hole-lens\n```\n\n## Usage\n\n```tsx\nimport BlackHoleLens from '@crazygl/hero-black-hole-lens';\n\nexport default function Hero() {\n\treturn (\n\t\t<BlackHoleLens\n\t\t\theading=\"Event horizon.\"\n\t\t\tdiskTilt={0.35}\n\t\t\tdoppler={1}\n\t\t\tphotonRing={1.4}\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Black hole** — `horizonRadius`, `lensStrength`, `diskColor` / `diskHotColor`, blue/red Doppler tints, `doppler`, `diskWidth`, `diskBrightness`, `diskTilt`, `photonRing`, `rotationSpeed`.\n- **Layout** — `centerX` slides the black hole across the frame.\n- **Background** — `bgColor` and `starDensity`.\n- **Content & typography** — heading / subheading / two-column / custom content, plus heading font.\n\n## Best for\n\n- Space, astronomy, and astrophysics products\n- AI / research lab landing pages\n- Cinematic product launches and conference keynote sites\n- Any dark, premium hero that needs a single mesmerising focal point\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","keywords":["black-hole","gravitational-lens","stars","accretion-disk","bloom","premium","black-hole-lens","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"]}