• fullscreen
  • pshape.pde
  • background(255);
    smooth();
    PShape h=new PShapeSVG(new XMLElement(split(param("archive"),".jar,")[3].replaceAll("[(]","<").replaceAll("[)]",">")));
    shape(h,50,-30,50,50);
    shape(h,45,200,20,20);
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Luis Gonzalez

    Vector Hearts

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

    Heart SVG art by Jon Phillips:
    <a href="http://luis.net/projects/processing/tinysketch/heart/heart_left-highlight_jon_01.svg">heart_left-highlight_jon_01.svg</a> 4,267 bytes
    courtesy of <a href="http://openclipart.org/">http://openclipart.org/</a>

    No External files used. The SVG Data is stored as a parameter. It was manually optimized to fit in the "imports" form field of 440 bytes.

    Luis Gonzalez
    14 Sep 2009
    Parameter use is legal because it is a core function of processing. Other sketches exclude "void setup()" function and are relying on parameters to set HEIGHT and WIDTH. ARCHIVE is no different.
    You need to login/register to comment.