Motivation
We will recursively generate some images with the Racket Image Library.
Code To Investigate
Racket Image Library
placement
shapes
Shrinking Circles
file: |
src/main/racket/sierpinski_and_cantor/sierpinski.rkt |
![Racket-logo.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Racket-logo.svg/32px-Racket-logo.svg.png) |
functions: |
sierpinski-triangle sierpinski-carpet |
(define (sierpinski-triangle side-length n)
(raise 'not-yet-implemented #t))
Outside Circles
file: |
src/main/racket/sierpinski_and_cantor/cantor.rkt |
![Racket-logo.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Racket-logo.svg/32px-Racket-logo.svg.png) |
functions: |
cantor-stool |
Stool
(define (cantor-stool width height n)
(raise 'not-yet-implemented #t))