Question: I need a C++ Allegro program, which runs in Dev C++, which: 1. generates an 800x800 initial black window 2. Fills an outermost circle of
I need a C++ Allegro program, which runs in Dev C++, which: 1. generates an 800x800 initial black window 2. Fills an outermost circle of radius 400 using the color red... (255, 0, 0) 3. Now put a loop around this circle drawer. Each time through the loop, fill a circle with a radius that is 2 pixels less than the prior circle AND which is a color 2 shades less of red and 2 shades more of blue. 4. When the loop reaches a radius of 0, stop and pause (so I can see the beautiful circular gradient you made till I press a key). 5. Blank the whole window white. Then draw concentric triangles, the outermost on has 3 points: , , and . Now loop, going in 2 pixels each time for all 3 corners and shading with the scheme above. Make sure the lines look parallel. Stop and pause when you reach the single point in hte middle.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
