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[] Doencas = new int[12], Machucados = new int[12], Outros = new int[12]; | |
| void setup(){ | |
| size(800,800); | |
| desenhaDiagrama(); | |
| } | |
| void geraDados(int[] list){ | |
| for(int i = 0; i < 12; i++){ | |
| list[i] = int(random(100)); |
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
| //Link para a pasta com as imagens no drive: https://drive.google.com/open?id=1yo8_ZW-QuhjDoiXIUG3zuGA6T1rMVkpb | |
| int i=0, Timagens = 11; | |
| PImage[] imagens = new PImage[Timagens]; | |
| int count = 0; | |
| void setup() { | |
| size(824, 548); | |
| for (int i=0; i < Timagens; i++) { |
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
| //link para a pasta no drive:https://drive.google.com/open?id=1Is4DHLK-9bySNtBW3Jf1rmFN1voY2wuK | |
| PImage img; | |
| void setup(){ | |
| size(640, 480); | |
| float t=0, mediaT, somaT = 0; | |
| img = loadImage("einstein 2 - c 100.jpg"); // altere a imagem a ser usada mudando o nome dessa variável | |
| for(int x=0; x<640; x++){ |
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
| Olho [] olho = new Olho[7]; | |
| void setup(){ | |
| size(1900,980); | |
| noStroke(); | |
| olho [0]= new Olho(width/2, height/2, 300.0); | |
| olho [1]= new Olho(width/2-300, height/2, 200.0); | |
| olho [2]= new Olho(width/2+300, height/2, 200.0); | |
| olho [3]= new Olho(width/2-500, height/2, 100.0); | |
| olho [4]= new Olho(width/2+500, height/2, 100.0); |
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
| // link da pasta com a imagem no drive: https://drive.google.com/open?id=1xL1RhNUddR81Q2TCqPZm8TFDC531XYis | |
| // para a versão sem a imagem como background, veja o código abaixo | |
| float raio = 0,ang=TWO_PI/360; | |
| int count=0, x,y; | |
| PImage img; | |
| void setup(){ | |
| size(600,600); | |
| background(126); |
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
| //link par a pasta no drive: https://drive.google.com/open?id=1WjfVtgAT3mVsR41ZUtwB5BJjXeU_ZyE7 | |
| float var=0, periodo = 15, amplitude = 15; | |
| PImage barco; | |
| int frames = 0; | |
| void setup(){ | |
| size(800,400); | |
| noStroke(); | |
| barco = loadImage("barco.png"); |
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
| PImage img1, img2, imgR; | |
| int count=0, IMAGEMATUAL=1, MODO = 3; | |
| boolean ALTERAR = false; | |
| void setup(){ | |
| size(675,1000); | |
| img1 = loadImage("img1.jpg"); | |
| img2 = loadImage("img2.jpg"); | |
| imgR = loadImage("img1.jpg"); | |
| } |
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
| link para a pasta no drive: https://drive.google.com/open?id=1BTxDA6p0U_4AHt8GOc7dIQqFQFNUg3hJ | |
| PImage img1, img2, imgR; | |
| int count=0, IMAGEMATUAL=1, MODO = 3; | |
| boolean ALTERAR = false; | |
| void setup(){ | |
| size(675,1000); | |
| img1 = loadImage("img1.jpg"); | |
| img2 = loadImage("img2.jpg"); |
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
| //link para o driver com a pasta https://drive.google.com/open?id=1QqgVEhODZ8nIHgX6v6HVn6-KCAGeheLA | |
| PImage imgOriginal; | |
| color corOriginal,corDestino; | |
| float r,g,b,media; | |
| void setup(){ | |
| size(1345,478); | |
| imgOriginal = loadImage("img.jpg"); | |
| image(imgOriginal,0,0); |
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
| //Link para o código junto com a imagem no drive: https://drive.google.com/open?id=11qDM2afMeLKJ0UPuZihm7yPhnwjIOq_3 | |
| PImage imgOriginal; | |
| color corOriginal,corDestino; | |
| float r,g,b,media; | |
| void setup(){ | |
| size(1345,478); | |
| imgOriginal = loadImage("img.jpg"); | |
| image(imgOriginal,0,0); |
NewerOlder