Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Michael Bostock 1a6163cb1a Add d3.geom.quadtree. 2011-01-21 11:59:05 -08:00
Michael Bostock 487037e1af Merge branch 'jheer-master'
Adds support for contours (d3.geom.contour) and cardinal spline interpolation.
I've extended cardinal spline interpolation to d3.svg.area, and added closed
basis spline interpolation. The spline tension is now set using a named
method, and closed splines can be generated using basis-closed and
cardinal-closed, respectively.

This commit also includes Jeff's nifty clustered force-directed graph example!
2011-01-10 16:05:58 -08:00
Michael Bostock bdcb648849 Turn off the compiler's "advanced" optimizations.
The renaming of attributes is totally not worth the hassle of maintaining an
externs file (or using the awkward `foo["bar"]` syntax). The file size
reduction from the advanced optimizations was negligible, besides!
2011-01-05 11:35:39 -08:00
Jeffrey Heer b9ad0a4af1 Minor tweaks and beautification 2010-12-06 20:48:11 -08:00
Jeffrey Heer ecf796c04a Added contour by marching squares 2010-12-06 20:27:25 -08:00
Jeffrey Heer 2f63829ad3 Simple CCW test for convex hull 2010-12-06 12:52:37 -08:00
Michael Bostock 46b5d541bd Minor beautification. 2010-11-22 23:58:27 -08:00
Jeffrey Heer bbe029fa7f Added convex hull at d3.geom.hull 2010-11-22 16:21:46 -08:00
Michael Bostock 156ff68f16 Move Voronoi & Delaunay code into geom module. 2010-11-07 21:09:59 -08:00
Michael Bostock 841f354568 Tweak clipping code. 2010-11-07 16:56:02 -08:00
Michael Bostock ae5d3fbab9 Oops, invert area for clockwise polygons. 2010-11-07 13:53:47 -08:00
Michael Bostock a502859902 Add d3.geom module.
For now, just Sutherland-Hodgman clipping and area of a convex polygon.
2010-11-07 13:49:59 -08:00