2
answers
0
watching
158
views
30 Aug 2018

34. (2 points) Add the missing method, blackSquare(), to the program below so it produces the image shown. The squares are filled with black and have a black outline. (Hint: Using rectMode(CENTER) makes it easier.) void setup() { int sz = 5; for (int y = 5; y < height; y = y + sz*2) { blackSquare (width-y, y, s2); fill (255); // white ellipse (width - y, y+sz, sz, sz); SZ = S2 + 2;

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
Nelly Stracke
Nelly StrackeLv2
1 Sep 2018
Already have an account? Log in

Related questions

Related Documents

Weekly leaderboard

Start filling in the gaps now
Log in