I have put up an interface for using canvas-2d in ATS:
https://github.com/githwxi/ATS-Postiats-contrib/tree/master/contrib/libatscc2js/SATS/HTML/canvas-2d
Here is an example:
http://www.ats-lang.org/COMPILED/doc/PROJECT/SMALL/JSclock/myclock1-2.html