DotGrid
Grid of dots with optional twinkling animation
Grid of dots with optional twinkling animation
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color | color | #ffffff | The color of the dot |
| density | range | 30 | The number of dots on the longest canvas edge |
| dotSize | range | 0.3 | The size of each dot, zero (0) being invisible, one (1) filled the grid with no gaps |
| twinkle | range | 0 | Intensity of the twinkle effect (0 = off, 1 = full twinkle) |
Usage
vue
<Shader>
<DotGrid
color="#ffffff"
/>
</Shader>