image coordinate stuff that should go in derk.js
Merge branch 'master' of https://github.com/Propolandante/119proj