yahoo piples

....

zondag 5 februari 2012

donderdag 17 november 2011

assignment for NOV21

I did the division summation and multiplication and subtraction functions :
Then I also added text for the result .
But I really got problem with  using them into textfields .
Following are screenshot for my sketch:






















PFont fontA ;
PImage a ;

int divisionof2numbers ( int number1  , int number2 ) {

  int  division = 0;

  division =  number1 / number2 ;

  println ("the answer of division :" + number1 + " divide " + number2 + " = " + division );

  return division ;
}

void setup()
{
 a = loadImage ( "bg.png");
  size (400,400) ;
 background(a);

  int answer =  divisionof2numbers  ( 4444444 , 44 ) ;
   fontA = loadFont("Amoeba-Bold-48.vlw");
  textFont(fontA, 32) ;
  fill(0, 102, 153);
  String s = "The answer is :" + answer ;
  text ( s,50 , 200);
}

zaterdag 22 oktober 2011

assignment for OCT24

I final figured out how to upload the file to this blog..
OMG. ..  How stupid I am is beyond imagination.
Well, now  my work can be download..
Here is the assignment for oct. 24.
Click to show picture. Also with sound.
I want to show the idea of  hide and seek game.











You can download the sketch here :
assignment for oct_24.zip

research about recursion

I  searched a lot of sketches about recursion .
Followings are the top five  recursions I like most.
I made 5 poster for introducing them .
All elements I used are from screenshots of  the sketches.


TOP 5 : recursive atom
http://www.openprocessing.org/visuals/?visualID=32425



Top 4: recursive tree
http://www.openprocessing.org/visuals/?visualID=5434

































Top:3 recursive squares
http://www.openprocessing.org/visuals/?visualID=6643



































Top 2 : circle recursion
http://www.openprocessing.org/visuals/?visualID=11008







































Top1:concentric circles
http://www.openprocessing.org/visuals/?visualID=20917