Question: Write a program that will display parallel lines close to each other in two alternating primary colours (for example a red line followed by
Write a program that will display parallel lines close to each other in two alternating primary colours (for example a red line followed by a green line, followed by a red line, followed by a green line, etc.). Your program must display patches where each of the pairs of primaries as well as all three primaries together are shown. The idea is then to view the screen from afar so that the observer senses the colour associated with the combination of those primaries.
Step by Step Solution
There are 3 Steps involved in it
Answer To achieve this you can use a graphics library like OpenGL to draw lines of different colors ... View full answer
Get step-by-step solutions from verified subject matter experts
