Skip to content

Firing at multiple position programmatically #4931

Closed Locked Answered by matteobruni
vectoron asked this question in Q&A
Discussion options

You must be logged in to vote

You can see the addEmitter function here in the confetti bundle for adding an emitter programmatically:

https://github.com/matteobruni/tsparticles/blob/a384765c5c48460877a4183d3f753d42ef36c14e/bundles/confetti/src/confetti.ts#L97

These are the other functions added by the emitters plugin:

https://github.com/matteobruni/tsparticles/blob/main/plugins/emitters/src/EmitterContainer.ts

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by vectoron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants