0
How do Variables and Making Images/Drawings Like Fireworks Work?
How do Variables and Making Images/Drawings Like Fireworks Work?
3 Answers
+ 5
trigonometry.
Learn the unit circle in both degrees and radians and you'll be satisfied.
Learn how to convert between the two.
And of course sine, cosine, tangent and the other math functions from the included Math library.
extras would be friction and gravity. Adding physics makes it more interesting.
+ 1
im not quite sure I understand. Most of the “fireworks” codes on this app/website were created using JavaScript to draw on an HTML canvas
+ 1
Only need to know sine and cos work.
https://code.sololearn.com/Wi0GQ057lD4N/?ref=app