• fullscreen
  • perfumeBottle.pde
  • float a=0;void setup(){size(600,600,P3D);background(0);}void draw(){translate(300,300-a);rotateY(a);stroke(255,a,9,9);rotateY(a*10);fill(a,a);box(5-a,50+a,a);a+=0.1;if(a>85){a=-a*2;}}
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    license

    advertisement

    Lib4tech

    Creating a perfume bottle

    Add to Faves Me Likey@! 4
    You must login/register to add this sketch to your favorites.

    Submitted for the 'Tiny sketch' competition - started out as something completely different - I just love the unpredictability of changing a few parameters!

    Hernan G
    15 Sep 2009
    it looks like tron's master control program :)
    You need to login/register to comment.