this part makes the image:
rem quick grass texture
for x=0 to 100
for y=0 to 100
ink rgb(0,rnd(255),0),0
dot x,y
next y
next x
get image 1,1,1,100,100
it just make a 100 by 100 box filled with different shades of green. Later in the code it uses the image as a texture for the matrix:
prepare matrix texture 1,1,1,1
the first "1" is the matrix number to texture, the second "1" is the image number used to texture it, and i think the last two 1s are scaling stuff that control how the texture is scaled on the matrix.
Delete the bug, delete the code