You’ll be submitting two programs for your homework this week:
(1) Write a program that re-creates another Piet Mondrian work, by picking another one of Piet’s paintings at https://www.piet-mondrian.org/piet-mondrian-paintings.jsp. There are some simpler ones there — or, if you’d like more of a challenge, you can pick one of the more complex ones. It’s entirely up to you.
(2) Write a program that draws a painting of your own creation. It should use, at a minimum, the following P5 functions:
background()
fill()
stroke()
rect()
line()
ellipse()
If you’re not sure what those functions do, be sure to look them up in the P5 reference.
The drawing can be anything you like! If you’re looking for inspiration, jot down with pen and paper something you see when you look out your window, then come back to your computer and re-create what you drew on the paper. It might be a picture of a house, a tree, a car, a pet, a self-portrait, a spaceship, a submarine — anything at all.
To submit your programs, in this Moodle Assignment, copy-and-paste a link to the two programs you wrote. Be sure to include a link to both programs!
Then, in addition to submitting the Moodle Assignment, also take a screenshot of the output of one of your programs running, and post it as a new topic to the Week 1 Discussion Forum to share it with your classmates. Also be sure to check out the screenshots other students post. If you have any questions about what they did, or any feedback/comments for them, feel free to post a response to them in the Forum, or to ask them in Slack.