Toggle Navigation
Hatchery
Eggs
zigzag
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import display import color with display.open() as d: for x in range(0, 160): for y in range(0, 80): col = color.WHITE if 20 <= y < 60: zig = (x % 20) * 2 zag = (x % 40) < 20 if not zag and y > (20 + zig): col = color.RED elif zag and y > (60 - zig): col = color.RED else: col = color.WHITE elif 60 <= y: col = color.RED _ = d.pixel(x, y, col=col) d.update()