Skip to content

Instantly share code, notes, and snippets.

@LeMasters
Last active August 31, 2020 18:22
Show Gist options
  • Save LeMasters/4fe85f7a07c0642a20564b4872ded48d to your computer and use it in GitHub Desktop.
Save LeMasters/4fe85f7a07c0642a20564b4872ded48d to your computer and use it in GitHub Desktop.
cls(1)
colqty=32
colwidth = 128/colqty
rowheight=11
for x=0,colqty-1 do
myx = x * colwidth
myy = 5 * rowheight
myx2 = myx+colwidth-1
myy2 = myy+rowheight-1
myc=flr(rnd(1)*15)+1
rect(myx,myy,myx2,myy2,myc)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment