Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manufosela/shootingstar
Show shooting stars every N seconds using jQuery.
https://github.com/manufosela/shootingstar
Last synced: about 1 month ago
JSON representation
Show shooting stars every N seconds using jQuery.
- Host: GitHub
- URL: https://github.com/manufosela/shootingstar
- Owner: manufosela
- Created: 2013-08-27T09:38:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-27T12:05:18.000Z (over 11 years ago)
- Last Synced: 2023-03-24T12:04:08.360Z (almost 2 years ago)
- Size: 113 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
shootingstar
============This example run in http://codepen.io/manufosela/pen/Gymih
Show shooting stars every 10 seconds using jQuery.
Javascript ShootingStar class Main Methods:
* 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