{"_id":"@crazygl/hero-sphere-field","name":"@crazygl/hero-sphere-field","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-sphere-field","version":"0.1.1","description":"Sphere Field — Many soft translucent gradient spheres drift in 3-D depth, blending into one another like abstract glass bubbles. Depth-of-field softens the back layers. 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/sphere-field","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-sphere-field.git"},"publishConfig":{"access":"public"},"keywords":["spheres","gradient","depth-of-field","translucent","premium","sphere-field","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-sphere-field/issues"},"gitHead":"455c8785d4630df1c5945bd5cb85afdf198f7da1","_id":"@crazygl/hero-sphere-field@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-NK3tUZe0/KwwwK0bWLywarWVqfaj48OHBxt0qSPJvdkyUS3VdVu8DRVtcssPA0jIOgTctvBpWm77ZOcgvvLZWw==","shasum":"d0c1fa49502f9ece635cf788a06f5269503a0000","tarball":"https://registry.npmjs.org/@crazygl/hero-sphere-field/-/hero-sphere-field-0.1.1.tgz","fileCount":9,"unpackedSize":32734,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDvEach4wxKVawedTO7HTp2uJ5nBCSW/duUeFR7TqKDZAIhAIPG8huUWrIPFOxnifYC9CEFaTlAyadyG3I4EXjjTGVK"}]},"_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-sphere-field_0.1.1_1782922538330_0.3735368668921588"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:15:38.186Z","0.1.1":"2026-07-01T16:15:38.482Z","modified":"2026-07-01T16:15:38.684Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Sphere Field — Many soft translucent gradient spheres drift in 3-D depth, blending into one another like abstract glass bubbles. Depth-of-field softens the back layers. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/sphere-field","keywords":["spheres","gradient","depth-of-field","translucent","premium","sphere-field","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-sphere-field.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-sphere-field/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-sphere-field/banner-full.png\" alt=\"Sphere Field\" width=\"640\">\n</p>\n\n# @crazygl/hero-sphere-field\n\nMany soft translucent gradient spheres drift in 3-D depth, blending into one another like abstract glass bubbles. Depth-of-field softens the back layers.\n\n## Demo\n[Sphere Field](https://crazygl.com/hero/sphere-field)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-sphere-field\n```\n\n## Usage\n\n```tsx\nimport SphereField from '@crazygl/hero-sphere-field';\n\nexport default function Hero() {\n\treturn (\n\t\t<SphereField\n\t\t\theading=\"Soft glass.\"\n\t\t\tcount={14}\n\t\t\tdofStrength={0.7}\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Background** — `bgTop` / `bgBottom`: the vertical gradient behind the field.\n- **Spheres** — `count` (4–24), `tintA` / `tintB` / `tintC`: the three colour stops every sphere samples between.\n- **Softness** — how diffuse every sphere edge is, regardless of depth.\n- **Depth-of-field** (`dofStrength`) — how aggressively the back layers blur out.\n- **Drift speed** (`speed`) — slow ambient bob of the field.\n- **Typography** — `headingFontFamily` for the overlaid copy.\n\n## Best for\n\n- AI / machine-learning product sites that want a soft, abstract backdrop.\n- Music streaming, audio and wellness / meditation brands.\n- Design-tool and creative landing pages where copy floats over ambient colour.\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-210f802716d7e44a2770c08c396c1d9c"}