Permalink
Switch branches/tags
Nothing to show
Commits on Oct 16, 2008
Commits on Sep 23, 2008
Commits on Aug 12, 2008
  1. Added .round().

    jeresig committed Aug 12, 2008
Commits on May 13, 2008
  1. Made a number of code formatting changes to the code. Braces are now …

    John Resig
    John Resig committed May 13, 2008
    …on the same line, spacing is used correctly, semicolons are where they're supposed to be.
  2. Landing a patch from Chris Davenport which adds QUADS, QUAD_STRIP, TR…

    John Resig
    John Resig committed May 13, 2008
    …IANGLE_FAN, and TRIANGLE_STRIP implementations to beginShape/vertex. Also endShape(CLOSE) support was added. Additionally, calling exit() actually stops the animation. Finally, some tabs were converted to spaces.
  3. Started to use createImageData whenever it's available (this allowed …

    John Resig
    John Resig committed May 13, 2008
    …two more demos to work in WebKit).
Commits on May 12, 2008
  1. Fixed issue with the mouse button patch (CENTER_RADIUS wasn't re-numb…

    John Resig
    John Resig committed May 12, 2008
    …ered correctly).
  2. Landing the patch from Renato Formato for handling curveVertex and cu…

    John Resig
    John Resig committed May 12, 2008
    …rveTightness correctly.
  3. ArrayList .add() had a weird convention for compatibility reasons - b…

    John Resig
    John Resig committed May 12, 2008
    …ut it doesn't, actually, seem to be needed. Not sure why it was there in the first place.
  4. Added the frameCount global.

    John Resig
    John Resig committed May 12, 2008
  5. Exposed the parse method (converting Processing code to JavaScript) v…

    John Resig
    John Resig committed May 12, 2008
    …ia Processing.parse(). It can be used like so:
    
      Processing.parse("float foo = 2.3; int test = (int)foo;")
      // => "var foo = 2.3; var test = 0|foo;"
  6. Two changes from Felipe Gomes:

    John Resig
    John Resig committed May 12, 2008
     - If you're using the Processing JavaScript API you must now explicitly call .init() to start the rendering. Previously it wasn't possible to gain advantage from the
    setup/draw functions (since they would never exist in time).
     - Made p.set() allow for the consumption of PImages, in addition to colors (effectively the same as doing p.image(img, x, y)).
  7. Landing some mouse scroll fixes offered by Felipe Gomes. This include…

    John Resig
    John Resig committed May 12, 2008
    …s the addition of the LEFT/CENTER/RIGHT and mouseButton globals. The contextmenu is now prevented, as well, from right clicks.