In this project, you will write code to create tools to explore an art form called Op Art.
The coding in this project is subtle and is all about correct sequencing that match the set of events that take place in the creation of the Op Art. You will first build all the helper blocks that will help make your coding easier.
Create a version of your Op Art program that uses polygons.
Create a version of your Op Art program that uses circles.
Study the works of legendary Op Artists such as Victor Vasarely and Bridget Riley to get a feel for what is possible in this art form.
- It is possible to fully automate the painting phase by using the following algorithm: for every pixel on the screen find out inside how many rectangles it is enclosed. For each pixel, the number of the enclosing rectangles will be either odd or even. Color each pixel black if the number is odd and white if even (or vice versa.) To understand why this algorithm works, use paper and pencil to apply it to simple cases with few overlapping rectangles. Write code to automate your Op Art generation.