In this project, you will develop and define a function of your own! This function must take in a shape and manipulate it using at least three transformations. This is the planning sheet. You will also create, save, and share a Pyret file with your teacher.

1 Put a checkmark by each of the shape functions that you plan to use in your personal function. You must choose at least one. If you plan to use a function multiple times, you can add additional checkmarks next to it.

  • ❏ circle

  • ❏ ellipse

  • ❏ text

  • ❏ rectangle

  • ❏ rhombus

  • ❏ triangle

  • ❏ radial-star

2 Put a checkmark by each of the transformation functions you plan to use in your personal function. You must choose at least three. If you plan to use a function multiple times, you can add additional checkmarks next to it.

  • ❏ above

  • ❏ beside

  • ❏ flip-horizontal

  • ❏ flip-vertical

  • ❏ rotate

  • ❏ scale

  • ❏ overlay

  • ❏ put-image

3 What do you want your function to do?

  • Example: I want my function to take in a shape, double its size, turn it upside down, and center it on a solid blue square that’s 100 pixels wide.

  • I want my function to take in a shape, and then:

4 Draw a sketch of the image you want your function to produce given each of the inputs below.

input: (triangle 30 "solid" "pink") input: (rectangle 20 50 "outline" "yellow")

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap 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.