canvas things added

some functions to the canvas
Merge remote-tracking branch 'origin/master'

Conflicts:
	index.html