proper canvas size
corrections for y axis orientation
working generator