Created
March 30, 2016 04:50
-
-
Save dyln/03c45eee91867b32b62f3860a8d1503a to your computer and use it in GitHub Desktop.
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 flower; | |
| PImage moon,tribe,tribe2; | |
| PFont textCubic; | |
| void setup(){ | |
| int sizeTribe=200; | |
| textCubic= loadFont("Cubic-48.vlw"); | |
| textFont(textCubic,48); | |
| size(800,600); | |
| background(#A1E2E2); | |
| colorMode(HSB); | |
| noLoop(); | |
| flower=loadShape("flower.svg"); | |
| flower.scale(0.6); | |
| shape(flower, 802-((flower.width/2)*0.6),295 ); | |
| shape(flower, 2-((flower.width/2)*0.6),295 ); | |
| moon = loadImage("moon.png"); | |
| moon.resize(sizeTribe,sizeTribe); | |
| tribe = loadImage("tribe.png"); | |
| tribe.resize(sizeTribe,sizeTribe); | |
| tribe.mask(moon); | |
| tribe2 = loadImage("tribe.png"); | |
| tribe2.resize(sizeTribe,sizeTribe); | |
| image(tribe,300 ,400); | |
| image(tribe2,300 ,400); | |
| fill(#1D4949); | |
| text("full moon gathering",120,70); | |
| } | |
| void draw(){ | |
| //image(moon,600,50); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment