How would I wrap over some p5.js code to create a solid component
I want to make confetti in Solid. I found this Codepen: https://codepen.io/Gthibaud/pen/ENzXbp
I am thinking though how can I use it. Do I have to rewrite the js code to work for solid or can I wrap over p5.js somehow and put it inside my solid app?
API wise I want to essentially create <Confetti /> and then have conditional render in one of the routes to render <Confetti /> for say 2 seconds after successful form submit.
1 Reply
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View