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(1000,1000); | |
| background(255); | |
| translate(width/2, height/2); | |
| rectMode(CENTER); | |
| scale(0.1); | |
| for(int i=0; i<30; i++) { | |
| scale(1.1); | |
| rotate(radians(5)); |
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
| boolean mezun = false; | |
| int a= 0; | |
| void setup() { | |
| size(400,300); | |
| background(0); | |
| noStroke(); | |
| //degisiklik |
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
| //TODO | |
| //hata sesi | |
| //patlama sesi | |
| //basari sesi | |
| #include <Arduino.h> | |
| #include <U8g2lib.h> | |
| U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 20, /* data=*/ 19, /* cs=*/ 21, /* dc=*/ 22, /* reset=*/ 23); |
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(800,600); | |
| frameRate(250); | |
| } | |
| void draw() { | |
| //line(x1,y1,x2,y2); | |
| if(mousePressed == true) { | |
| line(mouseX, mouseY, pmouseX, pmouseY); | |
| } |
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 cizim; | |
| void setup(){ | |
| size(800,600); | |
| cizim = loadShape("cizim.svg"); | |
| //noLoop(); | |
| //draw(); | |
| } | |
| 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
| //define what you are going to import to stage | |
| PImage image1; | |
| PShape shape1; | |
| PFont font1; | |
| void setup() { | |
| size(800,1000) ; // size of your poster | |
| image1 = loadImage("filename.jpg"); // name of your file | |
| shape1 = loadShape("filename.svg"); |
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
| PFont din; | |
| void setup() { | |
| size(800,600); | |
| background(0); | |
| din = loadFont("dinbold.vlw"); | |
| loadCSV(); | |
| visualize(); | |
| } |
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[] palette = {#FE4365, #FC9D9A, #F9CDAD, #C8C8A9, #83AF9B}; | |
| void setup() { | |
| size(800,600); //sets the size of the stage | |
| background(0); | |
| noStroke(); | |
| frameRate(15); | |
| } | |
| 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
| 1 | Felipe Massa | Ferrari | 58 | 28:51.0 | 1 | 218.067 | 2 | |
|---|---|---|---|---|---|---|---|---|
| 2 | Fernando Alonso | Renault | 58 | +5.5 secs | 3 | 217.766 | 2 | |
| 3 | Michael Schumacher | Ferrari | 58 | +5.6 secs | 2 | 218.36 | 2 | |
| 4 | Jenson Button | Honda | 58 | +12.3 secs | 6 | 217.202 | 2 | |
| 5 | Pedro de la Rosa | McLaren-Mercedes | 58 | +45.9 secs | 11 | 216.018 | 1 | |
| 6 | Giancarlo Fisichella | Renault | 58 | +46.5 secs | 4 | 217.026 | 2 | |
| 7 | Ralf Schumacher | Toyota | 58 | +59.3 secs | 15 | 215.715 | 2 | |
| 8 | Rubens Barrichello | Honda | 58 | +60.0 secs | 13 | 216.568 | 2 | |
| 9 | Jarno Trulli | Toyota | 57 | +1 Lap | 12 | 213.406 | 2 | |
| 10 | Mark Webber | Williams-Cosworth | 57 | +1 Lap | 9 | 213.311 | 2 |
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
| boolean ciz = false; | |
| boolean sil = false; | |
| color[] palet = {#ffffff, #ffcc00, #00ffcc, #ff00cc, #cccccc}; | |
| boolean yapistir = false; | |
| color seciliRenk = #ffffff; | |
| float hiz = 0; | |
| boolean yatay; | |
| int curX, curY; | |
| boolean yapistimi = false; |