'SET A PIXEL AT (150, 32) ' SCREEN 12 PSET (150, 32) END
If you want to make a longer program
you can start with the above program
and used the "Edit" menu and the mouse
to "copy" and then "paste" copies of the
PSET
statement:
'SET A PIXEL AT (150, 32) ' SCREEN 12 PSET (150, 32) PSET (150, 32) PSET (150, 32) PSET (150, 32) PSET (150, 32) PSET (150, 32) PSET (150, 32) END
So far this is not an improvement, since the new program just sets the same pixel over and over. But now you can use the mouse to go to various characters, remove them with the delete key and then type in new values:
'NEW PROGRAM BASED ON THE OLD ' SCREEN 12 PSET (150, 32) ' set X = 150 Y = 32 PSET ( 50, 30) ' set X = 50 Y = 30 PSET ( 75, 42) PSET ( 25, 72) PSET ( 10, 90) PSET ( 0, 0) PSET ( 13, 5) END
The new program sets seven different pixels. Usually you do not set pixels one by one like this; better ways to draw pictures will be described later.
Many recent movies, such as Toy Story have been made with computer graphics. The computers that were used cost hundreds of thousands of dollars. How do you suppose the graphics screen on those computers compares to the graphics screen on ours?