Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # rainbow_list_demo.py
- 'large'
- app.orientation = 'portrait'
- app.directional_pad = False
- app.body = canvas = Canvas(redraw_callback=draw)
- img = Image.new(canvas.size)
- res_x, res_y = canvas.size
- while running:
- for rgb in rainbow:
- img.clear(rgb)
- draw(())
- e32.ao_yield()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement