Advertisement
pleabargain

How to Design Programs, Second Ed exe6b

May 31st, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. ;Exercise 6: Use the picture primitives to create the image of a simple automobile.
  2. ;getting no where fast with this one...
  3. ;http://www.ccs.neu.edu/home/matthias/HtDP2e/part_one.html#%28part._sec~3aarith-num%29
  4. ;overlay is pretty limited
  5. (overlay/offset (overlay/offset (rectangle 340 15 "solid" "red")
  6. 100 20
  7. (circle 20 "solid" "black"))
  8. -80 0
  9. (circle 20 "solid" "black")
  10. ; 50 0
  11. ; (rectangle 160 25 "solid" "red")
  12. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement