Difference between revisions of "Snowflake Assignment"
Jump to navigation
Jump to search
(Created page with "=Racket Image Library= [https://docs.racket-lang.org/teachpack/2htdpimage.html Racket Image Library Documentation] ==placement== : [https://docs.racket-lang.org/teachpack/2htd...") |
(→Branch) |
||
Line 52: | Line 52: | ||
=Branch= | =Branch= | ||
− | + | <nowiki>(define (branch length iter) | |
− | <nowiki>(define ( | ||
(raise 'not-yet-implemented #t))</nowiki> | (raise 'not-yet-implemented #t))</nowiki> | ||
Line 66: | Line 65: | ||
|[[File:Branch_7.svg|200px]] | |[[File:Branch_7.svg|200px]] | ||
|- | |- | ||
− | | | + | |iter=0 |
− | | | + | |iter=1 |
− | | | + | |iter=2 |
− | | | + | |iter=3 |
− | | | + | |iter=4 |
− | | | + | |iter=5 |
− | | | + | |iter=6 |
− | | | + | |iter=7 |
|} | |} |
Revision as of 12:01, 9 July 2019
Contents
Racket Image Library
Racket Image Library Documentation
placement
shapes
Snowflake
Symmetric
(define (sierpinski-triangle side-length n) (raise 'not-yet-implemented #t))
![]() |
![]() |
![]() |
![]() |
![]() |
n=0 | n=1 | n=2 | n=3 | n=4 |
Flipped
(define (sierpinski-carpet side-length n) (raise 'not-yet-implemented #t))
![]() |
![]() |
![]() |
![]() |
![]() |
n=0 | n=1 | n=2 | n=3 | n=4 |
Branch
(define (branch length iter) (raise 'not-yet-implemented #t))
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
iter=0 | iter=1 | iter=2 | iter=3 | iter=4 | iter=5 | iter=6 | iter=7 |