Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Jun 08, 2011

  1. Raymond Hill

    Added small feature: if user click inside canvas, diagram is recomput…

    …ed with existing sites
    gorhill authored
  2. Raymond Hill

    See rhill-voronoi-core.js

    gorhill authored
  3. Raymond Hill

    With this major revision, I consider code is now stable:

     - circle event now uses rb-tree code rather than sorted array
     - this allowed to remove numerous code path etc.
     - fixed serious bug introduced in an earlier revision in Voronoi.addBeachsection() (diagram computation failed when two or more first sites shared y value)
    gorhill authored

Jun 04, 2011

  1. Raymond Hill

    see rhill-voronoi-core.js

    gorhill authored
  2. Raymond Hill

    Mostly peformance work, mainly:

    * Vertices are now shared by edge objects, this reduces significantly the number of vertex objects to create
    * Vertices are now created as literal object exposing an x and y property, not worth to have a dedicated Voronoi.Vertex class
    * Beachsections are reused whenever possible, this reduces significantly the number of beachsections to create during computation. Example, for 25,000 Voronoi sites, number of beachsections instanciated went down from 25000-50000 to 400 approx.
    * For busy code path, expanded in place small functions calls
    Also, renaming and some internal reorganization of the code
    gorhill authored
  3. Raymond Hill

    more details

    gorhill authored

May 30, 2011

  1. Raymond Hill

    using rhill-voronoi-core.min.js instead of non-compressed version.

    gorhill authored
  2. Raymond Hill

    using rhill-voronoi-core.min.js instead of non-compressed version.

    gorhill authored
  3. Raymond Hill

    See rhill-voronoi-core.js

    gorhill authored
  4. Raymond Hill

    Performance work: No longer worth to cache beachsection's left cut po…

    …int, since the cut point is now *only* evaluated at node insertion time. Because of this, caching ended up acting as a performance impediment rather than a performance boost. (left cut points used to be computed at node removal time as well, but this was revisited recently.)
    gorhill authored
  5. Raymond Hill

    typo

    gorhill authored
  6. Raymond Hill

    I meant *no* rendering code

    gorhill authored

May 29, 2011

  1. Raymond Hill

    Fixed IE8 conditional scripting and now reflect color choice in knobs…

    … for each generator
    gorhill authored
  2. Raymond Hill

    Fixed IE8 conditional scripting

    gorhill authored
  3. Raymond Hill

    Fixed IE8 conditional scripting

    gorhill authored
  4. Raymond Hill

    Performance work: test against zero in _leftParabolicCut() / avoid ca…

    …lling expensive leftBreakPoint() in removeArc(), no need to calculate the parabolic cut, all the information is readily available in the beachsection / expand equalWithEpsilon() in place faster than calling as a function
    gorhill authored
  5. Raymond Hill

    Performance work: test against zero in _leftParabolicCut() / avoid ca…

    …lling expensive leftBreakPoint() in removeArc(), no need to calculate the parabolic cut, all the information is readily available in the beachsection / expand equalWithEpsilon() in place faster than calling as a function
    gorhill authored

May 27, 2011

  1. Raymond Hill

    removed rhill-voronoi.(php|js), updated according to latest state of …

    …the code
    gorhill authored
  2. Raymond Hill

    oops

    gorhill authored
  3. Raymond Hill

    This actually shouldn't be on github, at least for the time being -- …

    …it uses an old version of the Voronoi() object and is customized heavily in order to demonstrate Fortune's algorithm
    gorhill authored
  4. Raymond Hill

    minor

    gorhill authored
  5. Raymond Hill

    Minified version (used YUI Compressor)

    gorhill authored
  6. Raymond Hill

    More clean up

    gorhill authored
  7. Raymond Hill

    Performance work:

      * '!obj' faster than 'obj === undefined'
      * simplified loop for removing undefined edges in Cell.prepare()
    gorhill authored
  8. Raymond Hill

    Fixed queueSanitize(): it was not doing its job due to increment/decr…

    …ement of Voronoi.numBeachsections being misplaced in the code path. Also, revised implementation of queueSanitize() after I figured most voided circle events are likely to be found toward the beginning of the circle events queue. This helped performance, especially on FF, as the queue was never shrinking, causing queuePushCircle() to struggle
    gorhill authored
  9. Raymond Hill

    Minor change to visual

    gorhill authored
  10. Raymond Hill

    Code change to adapt to Voronoi object usage change

    gorhill authored
  11. Raymond Hill

    Code change to adapt to Voronoi object usage change

    gorhill authored
  12. Raymond Hill

    Code change to adapt to Voronoi object usage change

    gorhill authored
  13. Raymond Hill

    Performance work, notably having the binary tree keep references to p…

    …revious/next nodes so that these no longer to be found on-the-fly.
    
    Usage change: returned 'cells' member is now an Array instead of an object.
    gorhill authored

May 26, 2011

  1. Raymond Hill

    Fixed erroneous explanation in comment

    gorhill authored
  2. Raymond Hill

    circumcircle() now returns only center coords, hence renamed circumci…

    …rcleCenter()
    gorhill authored
  3. Raymond Hill

    lol @ 'algorotaterithm', no idea what happened

    gorhill authored
  4. Raymond Hill

    Improved loop performance

    gorhill authored
  5. Raymond Hill

    Performance improved a bit on Firefox: circumcircle now calculated in…

    … place in Voronoi.addCircleEvent(), which allow to reuse calculations + other minor changes
    gorhill authored
Something went wrong with that request. Please try again.