Advertisement
bobzil

Main

Sep 17th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. Drop[] drops = new Drop[2900];
  2. Raio[] raio = new Raio[8];
  3.  
  4. void setup() {
  5. size(600, 400, P3D);
  6. for (int c=0; c< raio.length; c++) {
  7. raio[c] = new Raio();
  8. }
  9.  
  10. for (int i=0; i< drops.length; i++) {
  11. drops[i] = new Drop();
  12. }
  13. }
  14.  
  15. void draw() {
  16. background(230, 230, 250);
  17. for (int c=0; c< raio.length; c++) {
  18. raio[c].showR();
  19.  
  20. }
  21. for (int i=0; i< drops.length; i++) {
  22. drops[i].fall();
  23. drops[i].show();
  24. }
  25. }
  26. // pensar em utilizar a composição com chuva para alertar sobre modificações climáticas
  27. //ocorridas em marabá anualmente durante o periodo da seca do verão, ( PODENDO SE POSSIVEL
  28. // INCLUIR IMAGENS DO RIO COM TEOR CRÍTICO)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement