This post is a tutorial explaining how to code a fireworks display using the canvas element. No external libraries or frameworks will be necessary.
All three of the demos below are written in Typescript and make use of the browser’s canvas element. No external libraries are used and each example is made up of around 100 lines of code.
Fractals show the beauty of numbers. There are many famous fractals, which are often named after European mathematicians. You may have heard of Sierpinski’s Triangle, the Mandelbrot Set, and the Koch Curve. These are all fractal patterns.