Created
December 30, 2015 06:03
-
-
Save ocello3/a5f09e6a73d2f0076268 to your computer and use it in GitHub Desktop.
This file contains 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
PShape twitterBird; | |
void setup(){ | |
size(300, 300); | |
twitterBird = loadShape("twitterBird.svg"); | |
} | |
void draw(){ | |
background(245); | |
twitterBird.disableStyle(); | |
fill(#F77DE7); | |
noStroke(); | |
float scalar = 1; | |
shape(twitterBird, | |
(width - twitterBird.width)/2, (height - twitterBird.height)/2, | |
twitterBird.width*scalar, twitterBird.height+scalar); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment