Referenced from lesson Function Composition
You’ll be investigating these two functions with your partner:
# scale-xy :: Number, Number, Image -> Image
|
# overlay :: Image, Images -> Image
|
The Image: | Circle of Evaluation: | Code: | ||||||
---|---|---|---|---|---|---|---|---|
(rhombus 40 90 "solid" "purple") |
rhombus(40, 90, "solid", "purple") |
Starting with the image described above, write the Circles of Evaluation and Code for each exercise below. Be sure to test your code in the editor!
1 A purple rhombus that is stretched 4 times as wide. Circle of Evaluation: |
2 A purple rhombus that is stretched 4 times as tall Circle of Evaluation: |
Code: |
Code: |
3 The tall rhombus overlayed on the wide rhombus. Circle of Evaluation: |
★: Overlay a red rhombus onto the last image you made. Circle of Evaluation: |
Code: |
Code: |
These materials were developed partly through support of the National Science Foundation,
(awards 1042210, 1535276, 1648684, and 1738598).
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.