Hailperin, Chapter 4 Slides, Graphics, primitive operations Note: You do not need the quilt file, but you do need to have concabs.plt installed and this line (require (lib "fungraph.ss" "concabs")) in the definition pane of Dr. Racket. > (line -1 0 1 0) > (line 0 1 0 -1) > (overlay (line -1 0 1 0) (line 0 1 0 -1)) Define c-curve and demo the following: > (c-curve 0 -1/2 0 1/2 0) > (c-curve 0 -1/2 0 1/2 1) > (c-curve 0 -1/2 0 1/2 2) > (c-curve 0 -1/2 0 1/2 3) > (c-curve 0 -1/2 0 1/2 4) > (resize-image (c-curve 0 -1/2 0 1/2 4) 256 256) > (resize-image (c-curve 0 -1/2 0 1/2 10) 256 256) Slide, C-Curve code, base case, induction case, Figure 4.10 Slide, Sierpinski's gasket - Exercise for the student