Small experiment with canvas and Math