hi, I am currently working on a data visualization project.My aim is to produce contour lines ,in other words iso-lines, from gridded data.Data can be temperature, weather data or any kind of other environmental parameters but only condition is it must be regularly spaced. I searched in internet , however i could not find a good algorithm, pseudo-code or source code for producing contour lines from grids. Does anybody knows a library, source code or an algorithm for producing contour lines from gridded data? it will be good if your suggestion has a good run time performance, i don't want to wait my users so much :)
Edit: thanks for response but isolines have some constrains like they should not intersects so just generating bezier curves does not accomplish my goal.