fireworks-js icon indicating copy to clipboard operation
fireworks-js copied to clipboard

Specify the maximum number of fireworks to start

Open aaron13100 opened this issue 1 year ago • 1 comments

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

aaron13100 avatar Nov 28 '23 09:11 aaron13100

@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

crashmax-dev avatar Nov 28 '23 10:11 crashmax-dev