Toggle Navigation
Hatchery
Eggs
<3 app
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import rgb import time rgb.clear() arr = [0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff0101ff, 0xff0101ff, 0x00000000, 0x00000000, 0xff0101ff, 0xff0101ff, 0x00000000, 0xff0101ff, 0xff7474ff, 0xff7474ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff7474ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0x00000000, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0x00000000, 0x00000000, 0x00000000, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0xff0101ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xff0101ff, 0xff0101ff, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000] text = "ALTERNATE" while True: for i in range(0,90): rgb.clear() rgb.image(arr, (24-i, 0), (8, 8)) rgb.text(text, (0,213,255), (34-i,0)) rgb.image(arr, (89-i, 0), (8, 8)) #rgb.text("alternate", (255,0,0), (8,0)) if i < 20: time.sleep(i/300) if i > 70: time.sleep(i/300) else: time.sleep(0.18)