I made something similar a while back: <a href="http:&#x2F;&#x2F;jathu.me&#x2F;pixels&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jathu.me&#x2F;pixels&#x2F;</a><p>Check the source: <a href="https:&#x2F;&#x2F;github.com&#x2F;jathu&#x2F;pixels" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jathu&#x2F;pixels</a>. You can also undo&#x2F;redo by pressing z and y on the keyboard.