fireworks-js
fireworks-js copied to clipboard
launch a firework explosion at [x,y] without any trace?
Issue
Would it be possible to make just an explosion at certain coordinates without the firework trace?
Example: make an immediate explosion anywhere the user clicks
This could maybe be achieved by initiating own Explosion
?
But this object is not exported from the fireworks-js
package, therefore I wasn't able to import it.
The problem isn't that this is not achievable with the source code of the library, but this is not achievable with the library's API.
The reason I wasn't able to partly achieve the custom explosion coordinates: #102
@sentisso Hi! No, but it is possible to implement
fireworks.launch(count)
// or
fireworks.launch({ count, x, y, withTrace })