Welcome to my work, In this work I built a python module to use in your RaspberryPi and SenseHat!
For you use this module you need:
- RaspberryPi
- SenseHat
If you don't have a RaspberryPi or SenseHat, you can use a SenseHat emulator, for exemple: Trinket
- You need install 3 modules:
- time
- random
- sensehat
- Download the FireWorkModule.py
- Add the module in your program
- Run :)
import FireWorkModule
FireWorkModule.fire()
FireWorkModule.explosion()
FireWorkModule.stick()
Params for FireWorkModule.fire()
and FireWorkModule.stick()
- Length
- Color
- Limit
- Ground
- Background
- Velocity
Params for FireWorkModule.explosion()
- Point
- Color
- Velocity
- Background
- Length
Pull requests are welcome in this work, For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.