08
Dot Globe
A rotating sphere of a thousand dots projected onto Canvas 2D. Adjust its color and rotation speed through props. No rendering dependencies required.
Canvas 2Dperspectivepoint sphere
Live
Installation
Add it to your project
$
Installs 1 files into components/shaders. Uses the native Canvas 2D API; no extra dependencies.
Usage
Mount it behind your content
app/hero.tsx
The shader fills its nearest positioned ancestor. Give the parent relative isolate and the shader -z-10 to put it behind everything else.
API reference