Write the code to define PRIZE_STAR
as a solid, green star of size 50.
Using the PRIZE_STAR
definition from above, draw the Circle of Evaluation and write the code for each of the exercises. One Circle of Evaluation has been done for you.
A solid, green star that is 3 times
the size of the original (using
(scale 3 PRIZE_STAR)
|
A solid, green star is half the size of the original (using scale)
|
A solid, green star of size 50 that has been rotated 45 degrees
|
A solid, green star that is 3 times the size of the original and has been rotated 45 degrees |
How does defining values help you as a programmer?
These materials were developed partly through support of the National Science Foundation,
(awards 1042210, 1535276, 1648684, and 1738598).
BS:Games by Jen Poole, Emmanuel Schanzer, Ed Campos Jr, and Dorai Sitaram
is licensed under a
Creative Commons 4.0 Unported License.
Based on a work at www.BootstrapWorld.org.
Permissions beyond the scope of this license may be available by contacting
schanzer@BootstrapWorld.org.