I am currently working on a data visualization project. My goal is to create contour lines, in other words, iso-lines, from data snapped to the grid. The data may be temperature, meteorological data or any other environmental parameters, but only the condition should be on a regular basis. I searched on the Internet, however I could not find a good algorithm, pseudocode or source code for creating contour lines from grids. Does anyone know a library, source code, or algorithm for creating contour lines from gridded data? it will be good if your proposal has good runtime performance, I don’t want to wait so long for my users :)
Edit: thanks for the answer, but the contours have some limitations, as they should not intersect, so just generating Bezier curves does not reach my goal.
source
share