lab24g - 170 160 10 180 160 10 190 160 10 120 150 10 130...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab Goal : This lab was designed to teach you how to use a matrix, an array of arrays. Lab Description : In this program, you are write a program that will read in coordinates and colors from a data file and draw the image created by the drawing the appropriate color at a specified coordinate. Sample Data : 640 480 90 150 2 100 140 4 110 130 6 120 120 8 90 160 2 100 170 4 110 180 6 120 190 8 130 190 2 140 180 4 150 170 6 160 160 8 130 120 2 140 130 4 150 140 6 160 150 8 170 150 10 180 150 10 190 150 10
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 170 160 10 180 160 10 190 160 10 120 150 10 130 150 10 120 160 10 130 160 10 Sample Output : A+ Computer Science Matrices - www.apluscompsci.com Computer Science I Lab 24G - IMAGES Lab Value - 120 Data File Explanation 640 is the width 480 is the height 100 is the x coordinate 140 is the y coordinate 2 is the color The same applies to all Files Needed :: GraphicsRunner.java APlusImage.java...
View Full Document

Ask a homework question - tutors are online