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
| import de.looksgood.ani.*; | |
| import de.looksgood.ani.easing.*; | |
| int y = 0; | |
| int y2 = 0; | |
| AniSequence seq; | |
| void setup() { | |
| size(500,500); | |
| Ani.init(this); // initialize the library... |
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
| String[] data; | |
| String[][] processedData; | |
| int satir; | |
| int sutun; | |
| void setup() { | |
| size(500,500); | |
| background(0); | |
| data = loadStrings("formula.csv"); | |
| satir = data.length; | |
| sutun = split(data[0],",").length; |
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
| String yazi = ""; | |
| PFont font; | |
| void setup() { | |
| size(500,500); | |
| background(0); | |
| font = loadFont("MyanmarMN-48.vlw"); | |
| textFont(font,48); | |
| } | |
| void draw() { | |
| // |
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(500,500); | |
| background(0); | |
| } | |
| void draw() { | |
| // | |
| } | |
| void keyPressed(){ | |
| println(keyCode); | |
| int tus = key; |
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(500,500); | |
| } | |
| void draw() { | |
| float hiz = abs(mouseX-pmouseX); | |
| strokeWeight(hiz); | |
| line(pmouseX,pmouseY,mouseX,mouseY); | |
| } |
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 rectSize = 10; | |
| void setup() { | |
| size(200,200); | |
| rectMode(CENTER); | |
| } | |
| void draw() { | |
| background(0); | |
| rect(100,100,rectSize,rectSize); | |
| } | |
| void mouseWheel(MouseEvent e) { |
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
| String[] data; | |
| String[][] processedData; | |
| int sutun; | |
| int satir; | |
| PFont font; | |
| void setup() { | |
| size(1000,1000); | |
| background(0); | |
| // font yukleyelim | |
| font = loadFont("Monaco-24.vlw"); |
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
| color renk1 = 255; // 50,50,50 | |
| color[] renkler = {#FE4365,#FC9D9A,#F9CDAD,#C8C8A9,#83AF9B,#FE4365,#FC9D9A,#F9CDAD}; | |
| void setup() { | |
| colorMode(RGB); //RGB OR HSV | |
| size(1280,1024); | |
| noStroke(); | |
| background(renk1); | |
| frameRate(100); | |
| print(random(10,20)); |
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
| color[] palet = {#CAB286,#453633,#FFE9D4,#0F1C3C,#FF4135,#CAB286,#453633,#FFE9D4}; | |
| void setup() { | |
| size(1280,1024); | |
| background(255); | |
| //print(random(10,20)); | |
| noStroke(); | |
| } | |
| void draw() { |
NewerOlder