Skip to content

Instantly share code, notes, and snippets.

@ssophwang
Created June 7, 2015 14:59
Show Gist options
  • Select an option

  • Save ssophwang/0c8e88a93399ed9383ec to your computer and use it in GitHub Desktop.

Select an option

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())
@byouyang
Copy link
Copy Markdown

byouyang commented Jun 9, 2015

great python coder

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