3
answers
0
watching
204
views
15 Jun 2018

33. (2 points) Write a static sketch (no draw() or setup() that creates this image. Hint, use rectMode(CENTER), translate, rotoate, and the fact that if w is the width of one square, then the next one nested within it has width sqrt((w/2)*(w/2)*2). You should be able to see how that is derived by remembering the Pythagorean equation and looking at one of the triangles. The sketch is 500x500. One more hint, 45 degrees is the same as PI/4 radians. Although you may have trouble seeing them due to shrinking the image to fit on the page, there are a total of 20 squares in this image.

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Bunny Greenfelder
Bunny GreenfelderLv2
18 Jun 2018
Already have an account? Log in

Weekly leaderboard

Start filling in the gaps now
Log in