RE-ORGANIZING CODES – OBJECT ORIENTED PROGRAMMING


For this week’s assignment, I partnered up with Yunze to work on his previous assignment. [SET GOAL] We began thinking about what we want to happen. In this case we decided we wanted to make the button an on/off button (or switch). Once it is on, shuffle the pattern. [SUBTRACT] We removed the previous functions that are irrelevant to the new design. [DIVIDE WORK] We divided the work by having one of us do the pattern part (Yunze) and once of us do the button part (Me). [COMBINE WORK] We combined the work and went through our finished codes.

Starting sketch (Yunze’s homework for week 4): https://editor.p5js.org/Yunze/sketches/By1r8ASt7

Finished sketch (week 4 complete homework): https://editor.p5js.org/nt1475@nyu.edu/sketches/SkSSGc0F7

I very much enjoy the process of going through other people’s codes to understand their thinking and seeing alternative ways of executing the same design.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s