Hey its almost finished ... obfuscated to hell.
Commit
Fixed bug where canvas rescale not working for Y.