This example run in http://codepen.io/manufosela/pen/Gymih
Show shooting stars every 10 seconds using jQuery.
* launch: launch shooting stars every N seconds received by param. 10 seconds by default. * launchStar: launch a shooting star. Received options object by param with: - dir (direction between 0 and 1) - life (between 100 and 400) - beamSize (between 400 and 700) - velocity (between 2 and 10)
This example use a sky .stars css class taken from http://codepen.io/juliangarnier/pen/hzDAF