Animate Shader Toy.
# on a 5 x 5 grid # define a draw(x,y) function that # returns the color at x,y # colors: 0 = black, 1 = white, 2 = red, 3 = green, 4 = blue # and a global time variable t that tics up 1/10th of a second def draw(x,y,t): s = t // 10 return (x+y+s) % 5
submit code
play
pause
(first submit code, then hit play)