fireworks-js
fireworks-js copied to clipboard
Specify the maximum number of fireworks to start
This is different than launch() because it respects the delay (whereas launch() just does everything at once).
Feel free to not accept this or change it however you like. I haven't tested it at all as the changes I made were in JavaScript and I can't get the project to build/work with typescript.
Checklist
- [ ] run
pnpm format
- [ ] documentation is changed or added
- [X] commit message and code follows the Developer's Certification of Origin and the Code of conduct
@aaron13100 you misunderstand me. 😄
i mean about this:
- use my own function to play audio so I can adjust the volume and follow whether it's playing or not.
- wait to load the audioContext until initTrace() so there's no warning about missing user interaction in Firefox.
currently implemented like this: https://github.com/crashmax-dev/fireworks-js/blob/8c15ac042fdafee69fd724e59bb2bb01a32230df/packages/fireworks-js/src/fireworks.ts#L127-L136