react-astrum
v1.0.1
Published
React Astrum: a canvas based component with customizable parallax stars animation
Downloads
2
Maintainers
Readme
React Astrum
a canvas based component with customizable parallax stars animation
Props
width, height
int
Width and height of the canvas (default to 1000 x 200)
stars
int
Number of stars (default to 100)
color
hexstring
Color of the stars in hex (default to #ffffff)
speed
float
Animation speed (default to 0.3)
down
bool
Invert the animation towards the bottom (default to false)
sparkle
bool
Make it sparkle (default to false)