Skip to content

Latest commit

 

History

History
 
 

contour

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Contour Plots

Demo: http://bl.ocks.org/4241134

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.