Motion of the molecule in canvas