The way it works is by giving a 100% x 100%
Definitely not meant to be performant, but it was a really good project to play
<canvas>. You can take a read of the code by viewing source, or on the GitHub project page. Think up a project of your own and see what you can make.