Skip to content
Browse files

Update geom/contour/

  • Loading branch information...
1 parent 42e61cc commit 7bb124a3993ad2fc99a6920a24b33a260086ce88 @mbostock mbostock committed Dec 8, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 geom/contour/
2 geom/contour/
@@ -1,3 +1,5 @@
+# Contour Plots
Demo: <>
Computes a contour for a given *grid function* using the [marching squares]( algorithm. Returns the contour polygon as an array of points. The grid function takes two arguments, *x* and *y*, and returns true if the specified point is inside the contour, and false for points outside the contour. The contour plugin can also take an optional starting point [x, y] on the grid.

0 comments on commit 7bb124a

Please sign in to comment.
Something went wrong with that request. Please try again.