Rotating Stars
Spinning star particles with orbital animation
rotating-stars-tw
Customize
Tweak the props livePosition
0
0
15
Animation
1.5
0.01
Appearance
1
0.1
#8b5cf6Props
| Name | Type | Default | Description |
|---|---|---|---|
x | number | 0 | Horizontal center offset. |
y | number | 0 | Vertical center offset. |
radius | number | 15 | Scale/radius of the star field. |
speed | number | 1.5 | Rotation speed multiplier. |
thickness | number | 0.01 | Apparent thickness of the star trails. |
roundness | number | 1 | Corner radius of the star trails (0-1). |
softness | number | 0.1 | Softness (blur) of the trail edges. |
color | string | "#8b5cf6" | Base color of the stars. |
className | string | "" | Additional CSS classes. |
xnumberHorizontal center offset.
Default:
0ynumberVertical center offset.
Default:
0radiusnumberScale/radius of the star field.
Default:
15speednumberRotation speed multiplier.
Default:
1.5thicknessnumberApparent thickness of the star trails.
Default:
0.01roundnessnumberCorner radius of the star trails (0-1).
Default:
1softnessnumberSoftness (blur) of the trail edges.
Default:
0.1colorstringBase color of the stars.
Default:
"#8b5cf6"classNamestringAdditional CSS classes.
Default:
""