@brickslab/ui-web
Canvas-based mouse-responsive grid heat effect with customizable cell size and influence radius
Props
| Prop | Type | Défaut | Requis | Description |
|---|---|---|---|---|
cellSize | number | 20 | — | Size of each grid cell in pixels |
radius | number | 100 | — | Influence radius of mouse position |
intensity | number | 0.8 | — | Strength of the heat effect (0-1) |
Usage
Variations
Large Cells Low Intensity
Fine Grid High Intensity