from cs1graphics import * w = 500 paper=Canvas(w, int(.6*w)) paper.setBackgroundColor('lightgray') animal = Layer() body = Rectangle(.4*w, .2*w) # centered at origin body.setFillColor('white') body.setBorderWidth(.01*w) animal.add(body) head = Circle(.1*w) head.setFillColor('brown') head.move(.2*w, -.1*w) # centered at upper-right corner of body animal.add(head) animal.move(.5*w, .4*w) animal.rotate(-30) paper.add(animal)