Make a function that picks a color that has a random amount of red, either 50, 150, 250, and a random amount of green, either 100 or 200. Use it to make six 50x50 squares next to each other.
Check if a random integer between 0 and 60 (inclusive) has a square root
between 3.5 and 7.5. Use check-within
. You can comment out your test
when you know it works.
Make a gradient from maroon to olive that takes 500 pixels to go all of the way (so it doesn’t get to olive before the end).
(pinkify
)
Write a function that takes in an image and removes some green from
it according to the directions below:
Make sure to include check-expects that demonstrate that green is untouched in the center area and gone on the edge.