; Drawing a picture Graphics 640, 480 ; the sky ClsColor 120, 190, 255 Cls ; the ground Color 80, 170, 80 Rect 0, 360, 640, 120 ; the sun Color 255, 220, 60 Oval 500, 40, 90, 90 ; the house Color 220, 200, 160 Rect 160, 240, 200, 120 ; the roof: lines that get wider as they go down make a triangle Color 190, 70, 60 For row = 0 To 70 Line 260 - row * 1.6, 170 + row, 260 + row * 1.6, 170 + row Next ; a door and two windows Color 120, 70, 40 Rect 240, 300, 40, 60 Color 170, 220, 255 Rect 180, 260, 40, 30 Rect 300, 260, 40, 30 Color 255, 255, 255 Text 10, 10, "My first picture - press any key" WaitKey End