Does anyone know how to draw a small firework using processing?
2 Likes
hey did u end up solving how to do it?
Hi and welcome
I was looking for an example with no arrays
Hi @ams Iâd suggest you post a new topic with your question and share the code you have already written. Please read the guidelines on asking questions and donât forget to add the Homework
tag to your post
1 Like
Itâs a little difficult without arrays.
You would need for each particle/ shrapnel
x1,y1 pair and x2,y2 pair and so on
1 Like
OR you do it in a for loop and esch iteration represents one shrapnel
Then calculate with increasing radius and angle and cos and sin
1 Like