initialize transformations with canvas size