IFD:GenerativeBauhaus WS2012/Johannes marryme: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
blast of the past
<P>UNDER-LINE<BR>
credits to jonas
online exhibition
</P>


class Punkt
{
public float xx;
public float yy;
public float zz;
public color cc;
public int i=1;


Punkt( float pX, float pY, float pZ, color pC)
{
  xx=pX;
  yy=pY;
  zz=pZ;
  cc=pC;
}


void render(){
<P>
  noStroke();
THE PRECISION OF CHAOS<BR>
  fill(cc);
THE MECHANICS OF BUGS<BR>
  ellipse(xx,yy,zz,zz);
THE FLASH OF PERMANENCE<BR>
  if (zz==90){
</P>
    i=-5;
  }
if (zz==-300){
  i=1;
  }
  zz=zz+i;
}
}


ArrayList allePunkte;
int altX, altY;


void setup(){
  size(800,400);
  allePunkte=new ArrayList();
//  allePunkte.add(new Punkt(400,200,0, 255));
  mouseX=400;
  mouseY=200;
}


void draw(){
    background(0);
    for (int i=0; i<allePunkte.size(); i++){
      Punkt p=(Punkt)allePunkte.get(i);
      p.render();
    }
//    delay(10);
    mousePressed(); 


}


void mousePressed(){
[[File:L1.png]]<br>
  if (altX!=mouseX & altY!=mouseY & mouseX!=400 & mouseY!=200)
l1
  {
  int s=allePunkte.size();
  if (s<200){
  if(s%2==1){
  allePunkte.add(new Punkt(mouseX, mouseY, 0, 0));
  }
  else{
  allePunkte.add(new Punkt(mouseX, mouseY, 0, 255)); 
  }
  }
  else
  {
    Punkt anfang = (Punkt)allePunkte.get(0);
    for (int i=0; i<allePunkte.size()-1; i++)
    {
    Punkt tausch=(Punkt)allePunkte.get(i+1);
    allePunkte.set(i,tausch);
    }
    allePunkte.set(199, anfang);
  }
  altX=mouseX;
  altY=mouseY;
  }


}


the band
credits to jonas


class Punkt
{
public float xx;
public float yy;
public float zz;
public color cc;


Punkt( float pX, float pY, float pZ, color pC)
{
  xx=pX;
  yy=pY;
  zz=pZ;
  cc=pC;
}


void render(){
  noStroke();
  fill(cc);
  ellipse(xx,yy,zz,zz);
  zz=zz+1;
}
}


ArrayList allePunkte;


void setup(){
  size(800,400);
  allePunkte=new ArrayList();
  allePunkte.add(new Punkt(400,200,0, 255));
}


void draw(){
[[File:L2.png]]<br>
    background(0);
l2
    for (int i=0; i<allePunkte.size(); i++){
      Punkt p=(Punkt)allePunkte.get(i);
      p.render();
    }
}


void mousePressed(){
  int s=allePunkte.size();
  if(s%2==1){
  allePunkte.add(new Punkt(mouseX, mouseY, 0, 0));
  }
  else{
  allePunkte.add(new Punkt(mouseX, mouseY, 0, 255)); 
  }


}


underline


[[File:L1.png]]
l1


[[File:L2.png]]
l2


[[File:L5.png]]
l5


[[File:L3.png]]
[[File:L3.png]]<br>
l3
l3


[[File:L11.png]]
 
 
 
 
 
 
[[File:L4.png]]<br>
l4
 
 
 
 
 
 
 
 
[[File:L6.png]]<br>
l6
 
 
 
 
 
 
 
 
[[File:L11.png]]<br>
l11
l11


[[File:L8.png]]
 
 
 
 
 
 
 
[[File:L8.png]]<br>
l8
l8
[[File:L9.png]]<br>
l9
[[File:L12.png]]<br>
l12
[[File:L5.png]]<br>
l5
2012, [[User:Meta| User:Meta]]
----

Latest revision as of 19:18, 21 October 2013

UNDER-LINE
online exhibition


THE PRECISION OF CHAOS
THE MECHANICS OF BUGS
THE FLASH OF PERMANENCE



L1.png
l1





L2.png
l2




L3.png
l3




L4.png
l4





L6.png
l6





L11.png
l11





L8.png
l8





L9.png
l9





L12.png
l12





L5.png
l5



2012, User:Meta