Create a big flashing box between four colors. Modules used: kandinsky and time.
# for Numworks from math import * from kandinsky import * from time import * # create a flashing box # black, green, teal, purple c=[(0,0,0),(0,128,0), (0,128,128),(0,0,128)] # numworks has 320*240 pixels # draw for five cycles for i in range(20): # fill_rect(ux,uy,l>,h!,c) fill_rect(10,10,300,200,c[i%4]) sleep(1)