from tidal import *
from app import App

class PigFaceApp(App):
    
    def on_activate(self):
        super().on_activate()
        self.draw_pigface()
    
    def draw_pigface(self):
        display.fill(0)
        display.fill_rect(25,75, 75, 75, RED)
        display.fill_rect(50,100, 25, 25, YELLOW)
        display.fill_rect(100,75,20,20,RED)
        display.fill_rect(100,130,20,20,RED)
        display.fill_rect(75,95,5,5,0)
        display.fill_rect(75,125,5,5,0)
        display.fill_rect(35,80,5,65,0)

main = PigFaceApp
