Created
March 11, 2016 13:37
-
-
Save dyln/13a641a695a7ea0d4e0a to your computer and use it in GitHub Desktop.
shape decomp
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
| PShape sekil; | |
| void setup(){ | |
| size(800,600); | |
| sekil= loadShape("shape.svg"); | |
| noLoop(); | |
| draw(); | |
| } | |
| void draw(){ | |
| background(255); | |
| sekil.scale(0.1); | |
| sekil.scale(10); | |
| shape(sekil,0,0); | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need to have a .svg file in data directory