How to achieve this using HTML Canvas - Kevin Powell - Community