Skip to content

Instantly share code, notes, and snippets.

@UnknownAMD
Last active February 26, 2023 16:50
Show Gist options
  • Save UnknownAMD/d6acadc7a374329c66f69f2265b521f8 to your computer and use it in GitHub Desktop.
Save UnknownAMD/d6acadc7a374329c66f69f2265b521f8 to your computer and use it in GitHub Desktop.
thing
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
ff12638914
from kandinsky import *
BGCOLOR = 0,0,0
PXCOLOR = 255,0,0
pxi=0
def Play(file="o.py"):
lines = open(file, "r").read().split("\n")
fill_rect(0,0,255,255,color(BGCOLOR))
for i in range(255):
for pxi in range(0, len(lines[i]), 2):
set_pixel(int(lines[i][pxi]+lines[i][pxi+1],16),i,color(PXCOLOR))
#for pxi in lines[i]:
#set_pixel()
#fill_rect(int(pxi)*size-size,i*size,size,size,color(PXCOLOR))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment