In this post we are going to make use of some ES6 features in regards to DOM scripting. Features like destructuring, the spread operator, and the
for..ofloop lend themselves well to DOM scripting.
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.