Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CLS
- RANDOMIZE TIMER 'shake them dice
- SCREEN 13 '640x480, 256 colors. since it starts at 1, the last corner is (319,199) because n-1
- FOR times = 32 TO 320 STEP 32 '10 lines, with spacing of 32px
- Contour% = INT(RND * 50) + 32 'each line = (random from 1 to 100)+32
- LINE (160 - Contour%, times)-(160 + Contour%, times) 'draw! counter remembers what row of pixels bc its counting by 32s
- NEXT 'go again until all 10 are there
- SLEEP 'dont close until a key is pressed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement