Advertisement
here2share

# rainbow_list_demo.py

Jan 1st, 2015
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # rainbow_list_demo.py
  2. 'large'
  3. app.orientation = 'portrait'
  4. app.directional_pad = False
  5. app.body = canvas = Canvas(redraw_callback=draw)
  6. img = Image.new(canvas.size)
  7. res_x, res_y = canvas.size
  8.  
  9. while running:
  10.     for rgb in rainbow:
  11.         img.clear(rgb)
  12.         draw(())
  13.         e32.ao_yield()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement