Last active
October 18, 2021 01:51
-
-
Save Aidgigi/c2a863b32c3d0638cb742f81925cd280 to your computer and use it in GitHub Desktop.
test_draw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kandinsky import * | |
import random | |
from ion import * | |
def draw(): | |
for x in range(320): | |
c = color(random.randrange(0,255), random.randrange(0,255), random.randrange(0,255)) | |
set_pixel(x, 100, c) | |
draw() | |
while True: | |
if keydown(KEY_DOWN): | |
draw() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment