• fullscreen
  • s99999999_200_30.pde
  • int t,i,w=255,a[]=new int[w*w];
    void draw(){
    background(w);smooth();beginShape(17);
    a[t]=mouseY;a[t+1]=mouseX-w;
    for(i=0;i<t;i+=2)
     vertex(w+cos((t-i)/99f)*a[i+1],a[i]);
    if(a[t]>0)t+=2;
    endShape();
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    dotlassie
    this is so cool!
    Julien Deswaef
    11 Sep 2009
    This is "Rhonda" (in &lt;200 chars). Awesome. (about Rhonda : http://rhondaforever.com/ )
    bitcraft
    11 Sep 2009
    Wow. very nice effect!

    I think a simple curve using "noFill(); beginShape();" rather than a quadstrip would look more elegant, but that may be a matter of taste ... And you might get an ArrayIndexOutOfBoundsException: 65025 after running the sketch for 18 hours ;-)
    Eduardo Ulrich
    23 Sep 2009
    Amit Pitaru developed something that looks kind of the same as this except it was a musical instrument...i believe he used a wacom tablet to interact with it and did it in action script...he has a huge library of pics of what people drew and the sound it made(heard him talk about it at offf)but it did lead to Rhonda... anyway this is still cool and fun to play around;)

    Forrest O.
    24 Sep 2009
    Too cool. I made a Frocessing (ActionScript) port over here: http://wonderfl.net/code/b2c7a2fc2c12330e33c0841139ab4374bd3a981e
    Forrest O.
    24 Sep 2009
    Too cool. I made a Frocessing (ActionScript) port over here: http://wonderfl.net/code/b2c7a2fc2c12330e33c0841139ab4374bd3a981e
    ¡¡¡ GENIAL !!!
    kusoyarou
    30 Dec 2010
    Wow. This is one of the coolest on OP.
    kusoyarou
    30 Dec 2010
    This would be really cool to use with wii-mote or some other kind of external hacking.
    You need to login/register to comment.