Created
June 7, 2015 14:59
-
-
Save ssophwang/0c8e88a93399ed9383ec to your computer and use it in GitHub Desktop.
Fathers_Day_Gift.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
great python coder