Referenced from lesson Defining Values (Spring, 2021)

1 Complete the table using the first row as an example.

2 Write the code to define the value of sunny.

Original Circle of Evaluation & Code Use the defined value sunny to simplify!

scale
3
radial-star
302050"solid""yellow"
(scale 3 (radial-star 30 20 50 "solid" "yellow"))

scale
3sunny
(scale 3 sunny)

Code:
(scale 3 (radial-star 30 20 50 "solid" "yellow"))

Code:
(scale 3 sunny)

frame
radial-star
302050"solid""yellow"
(frame (radial-star 30 20 50 "solid" "yellow"))

Code:
(frame (radial-star 30 20 50 "solid" "yellow"))

Code:

overlay
text
"sun"30"black"
radial-star
302050"solid""yellow"
(overlay (text "sun" 30 "black") (radial-star 30 20 50 "solid" "yellow"))

Code:
(overlay (text "sun" 30 "black") (radial-star 30 20 50 "solid" "yellow"))

Code:

3 Test your code in the editor and make sure it produces what you would expect it to.

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap:Algebra by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.