-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|612|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Misc


 
Andy_A
Created : 15 September 2016
 
Language : Blitz

Contour Map from Data

Makes a contour map!

I found this on the QB64 forum. It's a really nice and compact way to create a contour map from just a handful of data points.

There seems to be quite a few practical uses for this type of code. Here's a simple use:


However, it can be very slow, if you use a large screen res with lots of data points (loops nested 4 deep). As it is now, with 23 data points at 640x480 res, it takes about 20 seconds on my slow laptop.


 

Comments


Friday, 16 September 2016, 18:14
HoboBen
Ooooh neat!