Add rotation
Calculate the snap
Add reference image