P5JSs Drawing Project

P5JSs Drawing Project

Sol LeWitt is a famous American artist. He came to fame in the late 1960s with his wall
drawings and “structures” (a term he preferred instead of “sculptures”) but was prolific in a
wide range of media including drawing, printmaking, photography, painting, installation, and
artist’s books (https://en.wikipedia.org/wiki/Sol_LeWitt). In this exercise, you are asked to
recreate the works of Sol LeWitt using p5js as per the below instructions.
a. Six-part drawing. The wall is divided horizontally and vertically into six equal
parts. 1st part: On red, blue horizontal parallel lines, and in the center, a circle
within which are yellow vertical parallel lines; 2nd part: On yellow, red
horizontal parallel lines, and in the center, a square within which are blue
vertical parallel lines; 3rd part: On blue, yellow horizontal parallel lines, and in
the center, a triangle within which are red vertical parallel lines; 4th part: On
red, yellow horizontal parallel lines, and in the center, a rectangle within which
are blue vertical parallel lines; 5th part: On yellow, blue horizontal parallel
lines, and in the center, a trapezoid within which are red vertical parallel lines;
6th part: On blue, red horizontal parallel lines, and in the center, a
parallelogram within which are yellow vertical parallel lines. The horizontal
lines do not enter the figures. (3 marks)
b. Draw a wall with “irregular wavy color bands”. Hint: you can use curveVertex
and random functions in p5js library. (2 marks)

In order to attract new students, we need your helps to design a dynamic banner to promote this course and p5js. You are free to choose shapes, colors, animations … but your implementation needs to satisfy these following constraints:
a. Implement using p5js.
b. Include at least 2 custom functions.
c. Include at least 1 loop.
d. Include animation.
e. Harmony in design.