;; P.Ossorio, www.possorio.com/tech_web/lessons/drscheme/
;;
;;
;; Student Name
;; Assignment Date
;; Assignment Title: Draw5 Answer

;;create canvas
(start 500 500)
;;Color the background with a rectangle that begins in the middle of y axis and touches both sides and the bottom, make the rectangle blue
(draw-solid-rect (make-posn 0 250)  500 500 'blue) 
;;draw a circle that is centered and has a radius of 250, color yellow
(draw-circle (make-posn 250 250  ) 250 'yellow)
;;draw a solid disk in the upper left corner of the canvas.  The disk should have a radius of 50, and it must be touching the top and side of the canvas, color yellow
(draw-solid-disk (make-posn 50 50 ) 50 'yellow)

;;draw 5 solid disks,radius 50, color green, sitting on the top of the blue rectangle, side by side
(draw-solid-disk (make-posn 50 200  ) 50 'green)
(draw-solid-disk (make-posn 150 200  ) 50 'green)
(draw-solid-disk (make-posn 250 200  ) 50 'green)
(draw-solid-disk (make-posn 350 200  ) 50 'green)
(draw-solid-disk (make-posn 450 200  ) 50 'green)
;;draw lines that begin in the center of the green circle and end where the circles touch and y = 100, color black
(draw-solid-line (make-posn 50 200 ) (make-posn 100 100)  'black) 
(draw-solid-line (make-posn 150 200 ) (make-posn 100 100)  'black) 
(draw-solid-line (make-posn 150 200 ) (make-posn 200 100)  'black) 
(draw-solid-line (make-posn 250 200 ) (make-posn 200 100)  'black) 
(draw-solid-line (make-posn 250 200 ) (make-posn 300 100)  'black) 
(draw-solid-line (make-posn 350 200 ) (make-posn 300 100)  'black) 
(draw-solid-line (make-posn 350 200 ) (make-posn 400 100)  'black) 
(draw-solid-line (make-posn 450 200 ) (make-posn 400 100)  'black) 

;;To make the drawing symetrical, draw a solid disk in the upper right corner of the canvas.  The disk should have a radius of 50, and it must be touching the top and side of the canvas, color yellow
(draw-solid-disk (make-posn 450 50 ) 50 'yellow)