; A starry night: loops and random numbers draw it for us Graphics 640, 480 SeedRnd MilliSecs() ClsColor 10, 10, 40 Cls ; 300 stars, each somewhere random, in a random shade of white For star = 1 To 300 bright = Rand(100, 255) Color bright, bright, bright Plot Rand(0, 639), Rand(0, 479) Next ; a few bigger, brighter stars Color 255, 255, 200 For star = 1 To 12 Oval Rand(0, 630), Rand(0, 470), 3, 3 Next ; the moon: a pale circle with a dark circle over it makes a crescent Color 240, 240, 220 Oval 480, 60, 80, 80 Color 10, 10, 40 Oval 500, 50, 80, 80 Color 255, 255, 255 Text 10, 450, "Run it again for a different sky. Press any key." WaitKey End