This is the picture I choose. I chose this because I like the black and white line in this picture. I really like the visual effect it is creating. I think the triangle perfectly match with the square and it looks mysterious. I also like the black line and white line come across to create the effect.
First, I tried to make the line to cover the whole canvas.Since it is a square, I chose the 500×500. Then I first use the line(0,s,width,s) to do it.
This is what it is like after I make all the lines.
Then I tried to make the triangle part. At first I tried to use the repeating way to do it.
This is my final creation. It looks similar but the triangle is not as the same size and shape as the motif. It needs to be taller and thinner. I shall make the line higher and be more centered in the canvas.
Also, I think processing is a good way to achieve the design because the visual effect of this design is by using the same lines. If the lines are not the same length, the effect is not that good and the picture doesn’t looks good. If people draw on hand, they may not create the line with same length each time so I think using the processing is a good way to achieve that.
I keep repeating the code to do this and it wastes a lot of time so I tried to use the for loop in class.
I use this code to create the same effect for the first step
But I still have problem to use the for loop to create the triangle and I may seek help because I still haven’t understand the for loop clearly.