Danilo Garrido: Colores para Logo de Batman

De Casiopea
Los Colores para el Logo De Batman



TítuloLos Colores para el Logo De Batman
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 7, Danilo Garrido
Del CursoImagen Escrita 2012,
CarrerasDiseño Gráfico"Diseño Gráfico" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property.
Alumno(s)Danilo Garrido
ProfesorHerbert Spencer
/* se trata de un conjunto de insignias de Batman que cambian de color constantemente al presionar 1 o 2*/


PFont tipografia;
int c;
float t;
float b;
float r;
float e;
int d;
void setup(){
  
  tipografia=createFont("arial",20);
 textFont(tipografia,20);

   c=color(t,b-t,10);
  size(700,680);
  background(255);
  smooth();
  noStroke(); 
  d=#FAE014;
   r=random(1,100);
  e=random(100,150);
}

void draw(){
   
  fill(0);
  text("Presiona 1,2 o 3 Para Cambiar el Color",10,20);
  text("Presiona Cualquier Otra Tecla Para Detener Imagen",10,660);
  for(int x=70;x<661;x+=134){ 
    for(int y=65;y<661;y+=104){
      
  t= (r+(x/3))+(e-(y/2));
  b=((e/4)-(r/e))+10;
       frameRate(250);
 if(key=='1'){
   c++;
   d++;
      }
  if(key=='2'){
   c--;
   d--;
   
  }
  if(key=='3'){
 d=#FAE014;
    c=color(0);
 c++;  
 d++;
 }
fill(d);
stroke(0);
strokeWeight(3);
  ellipse(x+5,y+9,116,60);
  noStroke();
  strokeWeight(1);
      fill(c); 
  arc(x+35,y+8,35,40,0,PI/2); 
  arc(x-20,y+8,35,40,PI/2,PI);  
  arc(x-20,y+8,35,40,PI,TWO_PI-PI/2);
  arc(x+35,y+8,35,40,TWO_PI-PI/2, TWO_PI);
 ellipse(x+8,y-6,14,15);
 triangle(x,y+15,x+7,y+35,x+15,y+15);
 triangle(x-25,y-2,x-25,y+19,x+15,y-2);//ala izquierda
 triangle(x+3,y-2,x+40,y+19,x+40,y-2);//ala derecha
 triangle(x-25,y-2,x-19,y-6,x-20,y-2);
 triangle(x-20,y+15,x-19,y+15,x-20,y+15); //punta superior izquierda
 triangle(x+40,y-2,x+36,y-6,x+35,y-2);//punta superior derecha
 triangle(x+3,y+4,x-4,y+15,x-17,y+4);//punta central baja izquierda
 triangle(x+12,y+4,x+19,y+15,x+30,y+4);//punta central baja derecha
 triangle(x,y-2,x,y-17,x+8,y-2);//punta cabeza izquierda
 triangle(x+15,y-2,x+15,y-17,x+7,y-2);//punta cabeza derecha
 triangle(x,y-2,x,y-4,x-5,y-2);// costado cabeza izquierdo
 triangle(x+15,y-2,x+15,y-4,x+18,y-2);//costado cabeza derecho
 triangle(x-20,y-2,x-20,y-4,x-5,y-2);//elevación superior izquierda
 triangle(x+35,y-2,x+35,y-4,x+20,y-2);//elevación superior derecha
 triangle(x-20,y-4,x-20,y-12,x-10,y-12);//puta superior izquierda
 triangle(x+35,y-4,x+35,y-12,x+25,y-12);//punta superior derecha
 triangle(x-20,y+19,x-20,y+29,x-10,y+29);//punta inferior izquierda
 triangle(x+35,y+19,x+35,y+29,x+25,y+29);//punta inferior derecha
 rect(x,y,15,15);


  b++;
  t++;
    if(t<1){ 
   t++;
     }
   if(t>10){
    t--;
   } 
    
  }}}