1.0.1 • Published 6 years ago

react-astrum v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

React Astrum

a canvas based component with customizable parallax stars animation

Demo

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)