Skip to content

Instantly share code, notes, and snippets.

@ssophwang
Created June 7, 2015 14:59
Show Gist options
  • Save ssophwang/0c8e88a93399ed9383ec to your computer and use it in GitHub Desktop.
Save ssophwang/0c8e88a93399ed9383ec to your computer and use it in GitHub Desktop.
Fathers_Day_Gift.py
# Father's Day Gift
from scene import *
class MyScene (Scene):
def draw(self):
background(1, 1, 1)
fill(1, 0, 0)
w = self.size.w
h = self.size.h
for i in range(6):
tint(1,1,1,0.8)
image('Heart', i*160, i*110, 200, 200)
image('Heart_Blue', i*160, 550-i*110, 200, 200)
tint(0, 0, 1, 0.5)
text("Happy Father's Day!", font_size = 100, x = w/2, y = h/2)
run(MyScene())
@BrianOuyangLe
Copy link

great python coder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment