First page Back Continue Last page Graphics
Window
Before we can draw anything, we need a window to draw on ...
size command:
- size( width, height )
- creates a window to draw on
The window size is based on pixels
- height, width: number of pixels
- default is (100, 100) / used if you forget the size command
- coordinate system: (0,0) = upper left / (width, height) = lower right