Question: Week 15 Computer Art Lab 14-Contemporary Art This lab will introduce you the classic digital art form of ascii art. There was a time where
Week 15 Computer Art Lab 14-Contemporary Art This lab will introduce you the classic digital art form of ascii art. There was a time where computer graphics were limited to the characters a text terminal could display. This limitation didn't stop determined folks from ordering characters in creative ways to simulate graphics. These text rendered images can be very detailed and elaborate. Objective You will programmatically create a work of computer generated art using ascii characters. Your program will do the following to accomplish this task. It creates a two dimensional array of characters, named canvas. It has 10 rows and 20 columns. You may allocate it as a global. Hint: First dimension is number of rows. A function named ClearCanvas is called, this fills the entire canvas with space characters. This removes any garbage values that exists in the array Another function named FrameCanvas is called. This draws a frame around your 1- 2. 3. canvas using asci characters. You may generate the frame using any characters you like. 4. Finally, a ftunction called DisplayCanvas is called to display your framed canvas, which will appear as an outline of a rectangle. (Believe it or not, this is a real thing. A blank canvas work of contemporary art sold for $15 million. That's right, you just learned something art in a programming class.) Requirements 1. Only the DisplayCanvas function displays output to the terminal. All other functions should not 2. Only your main should call ClearCanvas, FrameCanvas, and DisplayCanvas. They do not return anything. If your canvas is global, no parameters are required. 3. Follow good code style guidelines. Hints 1. We are not using C-strings, so N0' will not be stored in your canvas. 2. Remember that functions should only do one thing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
