Difference between revisions of "Recursive Circles Assignment"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
{{RacketToImplement|shrinking_to_the_right_circles|shrinking-to-the-right-circles|recursive_circles}} | {{RacketToImplement|shrinking_to_the_right_circles|shrinking-to-the-right-circles|recursive_circles}} | ||
− | <nowiki>( | + | <nowiki>(shrinking-to-the-right-circles radius n) |
(raise 'not-yet-implemented #t))</nowiki> | (raise 'not-yet-implemented #t))</nowiki> | ||
{| class="wikitable" style="text-align: center; " | {| class="wikitable" style="text-align: center; " | ||
|[[File:Shrinking-to-the-right-circles_0.svg|200px]] | |[[File:Shrinking-to-the-right-circles_0.svg|200px]] | ||
− | |[[File:Shrinking-to-the-right-circles_1.svg| | + | |[[File:Shrinking-to-the-right-circles_1.svg|300px]] |
− | |[[File:Shrinking-to-the-right-circles_2.svg| | + | |[[File:Shrinking-to-the-right-circles_2.svg|350px]] |
− | |[[File:Shrinking-to-the-right-circles_3.svg| | + | |[[File:Shrinking-to-the-right-circles_3.svg|375px]] |
− | |[[File:Shrinking-to-the-right-circles_4.svg| | + | |[[File:Shrinking-to-the-right-circles_4.svg|387px]] |
|- | |- | ||
|n=0 | |n=0 | ||
Line 38: | Line 38: | ||
{| class="wikitable" style="text-align: center; " | {| class="wikitable" style="text-align: center; " | ||
|[[File:Outside-circles_0.svg|200px]] | |[[File:Outside-circles_0.svg|200px]] | ||
− | |[[File:Outside-circles_1.svg| | + | |[[File:Outside-circles_1.svg|300px]] |
− | |[[File:Outside-circles_2.svg| | + | |[[File:Outside-circles_2.svg|400px]] |
− | |[[File:Outside-circles_3.svg| | + | |[[File:Outside-circles_3.svg|500px]] |
− | |[[File:Outside-circles_4.svg| | + | |[[File:Outside-circles_4.svg|600px]] |
|- | |- | ||
|n=0 | |n=0 |
Latest revision as of 18:39, 22 October 2024
Contents
Motivation
We will recursively generate some images with the Racket Image Library.
Code To Investigate
Racket Image Library
placement
shapes
Shrinking Circles
file: | src/main/racket/recursive_circles/shrinking_to_the_right_circles.rkt | ![]() |
functions: | shrinking-to-the-right-circles |
(shrinking-to-the-right-circles radius n) (raise 'not-yet-implemented #t))
![]() |
![]() |
![]() |
![]() |
![]() |
n=0 | n=1 | n=2 | n=3 | n=4 |
Outside Circles
file: | src/main/racket/recursive_circles/outside_circles.rkt | ![]() |
functions: | outside-circles |
(outside-circles radius n) (raise 'not-yet-implemented #t))
![]() |
![]() |
![]() |
![]() |
![]() |
n=0 | n=1 | n=2 | n=3 | n=4 |