sobre que te gustaría que se enfocara más este blog

algo que no entiendas? :)

jueves, 8 de febrero de 2018

bola rebotando bordes

float posX; float posY; float desplazamientoY; float desplazamientoX; void setup () {   size (400,400);   posX= width/1;   posY= height/3;   desplazamientoY = 1;   desplazamientoX = 1; } void draw () {   background (0,255,0);   noStroke();   ellipse(X, posY, 100,100);   fill(0,0,205);   if (posY < 0){     posY =0;     desplazamientoY=1;   }   else if (posY > height){     posY =height;     desplazamientoX =-1;     desplazamientoY...

elipse processing

ELLIPSE int x=50; int y=50; void setup() {   size(500,500);     background(55,155, 235); } void draw() {   fill(233,122,43);   rect(x, y, 150,150);   stroke(233,122,134);   fill(76,43,123);   ellipse(x,y,100,100);   stroke(76,45,65); if(keyPressed){   if(key=='w'||key=='W'){     y--;   }    else if(key=='s'||key=='S'){       y++;   }  else if(key=='a'||key=='A'){       x--;   }  else if(key=='d'||key=='D'){    ...

cubo y esfera

http://www.iesrdelgado.org/web2017/web2018/josemaria/cuboyesfera3d/index.h...

processing

http://www.iesrdelgado.org/web2017/web2018/josemaria/imagen/index.h...