Crystalized Ball
A glass-like crystal sphere with an electric rim, glowing dust, and pointer interaction. Rendered with OGL and WebGL2.
Plasma
Pink crackling rim with rising square particles and interactive glow.
Loading…
Installation
CLI
Also needs
npm i oglUsage
page.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| preset | Preset | "plasma" | Selects a visual preset. |
| color | string | preset color | Crystal rim and particle tint. |
| theme | "dark" · "light" | "dark" | Sets light or dark crystal rendering. |
| size | number | 0.7 | Crystal size within the stage. |
| interactive | boolean | true | Enables pointer response. |
| hoverStrength | number | 0.7 | Pointer influence strength. |
| strands | number | - | Number of electric strands around the crystal. |
| crackle | number | - | Electric rim crackle intensity. |
| flares | number | - | Rim flare strength. |
| glow | number | - | Outer glow intensity. |
| sparks | number | - | Spark density and brightness. |
| particleCount | number | - | Requested number of dust particles. |
| fill | number | - | Crystal fill amount. |
| motion | "rise" · "fall" · "drift" · "orbit" | - | Particle movement direction. |
| particleShape | "square" · "round" | - | Particle shape. |
| depth | number | - | Particle depth and parallax. |
| sway | number | - | Particle sway amount. |
| twinkle | number | - | Particle twinkle amount. |
| haze | number | - | Atmospheric haze strength. |
| dustSpeed | number | - | Dust animation speed. |
| speed | number | 1 | Global animation speed. |
| intro | boolean | true | Plays the intro animation. |
| paused | boolean | false | Pauses the animation. |
| className | string | - | Classes on the stage container. |
| style | CSSProperties | - | Inline styles on the stage container. |