Canvas confetti effect (Part 3): Refactoring and testing
Wrap the confetti effect by cleaning up the code, writing tests and talking about performance.
Wrap the confetti effect by cleaning up the code, writing tests and talking about performance.
Add more realism to the confetti effect by incorporating a different firing angle, more shapes, rotation and colors.
Learn how to create a confetti effect from scratch. In this part we'll setup our canvas, animation loop and a basic draw and update methods to render our particles.