5 lines
237 B
Racket
5 lines
237 B
Racket
;; the following will show the graphics if run in DrRacket
|
|
(sierpinski 8)
|
|
;; or use this to dump the image into a file, shown on the right
|
|
(require file/convertible)
|
|
(display-to-file (convert (sierpinski 8) 'png-bytes) "sierpinski.png")
|