Difference between revisions of "Cantor Assignment"
Jump to navigation
Jump to search
(Created page with "==Stool== <nowiki>(define (cantor-stool width height n) (raise 'not-yet-implemented #t))</nowiki> {| class="wikitable" style="text-align: center; " |File:Cantor-stool_0....") |
|||
| Line 1: | Line 1: | ||
| + | =Cantor= | ||
| + | [https://en.wikipedia.org/wiki/Cantor_set Cantor set] | ||
| + | |||
| + | {{RacketToImplement|cantor|cantor-stool|sierpinski_and_cantor}} | ||
| + | |||
==Stool== | ==Stool== | ||
<nowiki>(define (cantor-stool width height n) | <nowiki>(define (cantor-stool width height n) | ||
Revision as of 18:15, 1 February 2023
Cantor
| file: | src/main/racket/sierpinski_and_cantor/cantor.rkt | |
| functions: | cantor-stool |
Stool
(define (cantor-stool width height n) (raise 'not-yet-implemented #t))
| n=0 | n=1 | n=2 | n=3 | n=4 |
Note: you have been provided with a function which draws a red rectangle outlined in blue.
(define (brick w h) (overlay (rectangle w h "outline" "blue") (rectangle w h "solid" "red") ) )