Difference between revisions of "Snowflake Assignment"
Jump to navigation
Jump to search
(→Demo) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
=Spiral Demo= | =Spiral Demo= | ||
− | + | <youtube>AIGeMxka0MQ</youtube> | |
=Code to Implement= | =Code to Implement= | ||
Line 32: | Line 32: | ||
===Symmetric=== | ===Symmetric=== | ||
− | |||
− | |||
− | |||
{| class="wikitable" style="text-align: center; " | {| class="wikitable" style="text-align: center; " | ||
|[[File:Snowflake-symmetric_0.svg]] | |[[File:Snowflake-symmetric_0.svg]] | ||
Line 62: | Line 59: | ||
|iter=3 | |iter=3 | ||
|iter=4 | |iter=4 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 08:49, 17 November 2020
Contents
Racket Image Library
Racket Image Library Documentation
placement
line
empty-image
Spiral Demo
Code to Implement
Snowflake
(define (snowflake len iter is-flipped) (raise (error 'not-yet-implemented))))) (define (snowflake-symmetric len iter) (snowflake len iter #f)) (define (snowflake-flipped len iter) (snowflake len iter #t))
Symmetric
iter=0 | iter=1 | iter=2 | iter=3 | iter=4 |
Flipped
iter=0 | iter=1 | iter=2 | iter=3 | iter=4 |