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
| int var1 = 20; | |
| int num=20; | |
| float[]AngleX=new float[num]; | |
| float[]AngleY=new float[num]; | |
| int unit = 60; | |
| int count; | |
| Module[] mods; | |
| void setup(){ |
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
| float x = 240; | |
| float y = 180; | |
| float w = 60; | |
| float h = 60; | |
| float eyeSize = 16; | |
| void setup() { | |
| size(480, 270); | |
| } |
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
| //global variables | |
| color blue = #1f5673; | |
| color aqua = #90c3c8; | |
| color skyblue = #903c8c; | |
| color lavender = #FC0FD1; | |
| PImage img; | |
| void setup() { | |
| size(700,700); | |
| smooth(); |
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
| void setup() { | |
| size(700, 700); | |
| background(#D3FCFF); | |
| noStroke(); | |
| println("setup done"); | |
| ellipseMode(CENTER); | |
| } | |
| void draw() { | |
| //println("mousex = " + mouseX); |
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
| size(700, 700) ; | |
| background(#D1FFFF) ; | |
| fill(#FFFFFF) ; | |
| noStroke() ; | |
| circle(56, 60, 55); | |
| circle(56, 46, 55); | |
| ellipse(56, 46, 55,80); | |
| circle(56, 46, 55); | |
| circle(100, 300, 55); | |
| circle(56, 46, 55); |