Snowflake Assignment

From CSE425S Wiki
Revision as of 11:51, 9 July 2019 by Dennis.cosgrove (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Racket Image Library

Racket Image Library Documentation

placement

beside
above
overlay overlay/align
rotate

shapes

triangle
circle
square
rectangle
frame

Snowflake

Symmetric

Sierpiński Triangle

(define (sierpinski-triangle side-length n)
  (raise 'not-yet-implemented #t))
Snowflake-symmetric 0.svg Snowflake-symmetric 1.svg Snowflake-symmetric 2.svg Snowflake-symmetric 3.svg Snowflake-symmetric 4.svg
n=0 n=1 n=2 n=3 n=4

Flipped

(define (sierpinski-carpet side-length n)
  (raise 'not-yet-implemented #t))
Snowflake-flipped 0.svg Snowflake-flipped 1.svg Snowflake-flipped 2.svg Snowflake-flipped 3.svg Snowflake-flipped 4.svg
n=0 n=1 n=2 n=3 n=4

Branch

Cantor set

(define (cantor-stool width height n)
  (raise 'not-yet-implemented #t))
Branch 0.svg Branch 1.svg Branch 2.svg Branch 3.svg Branch 4.svg Branch 5.svg Branch 6.svg Branch 7.svg
n=0 n=1 n=2 n=3 n=4 n=5 n=6 n=7