Nasa, 7:35AM (GMT+1), “Touchdown confirmed for Mars Curiosity!!!”
To celebrate this little step I’ve made a GH definition that use NASA height data to build the Mars surface. It’s not very advanced and it has some bottlenecks that could be great to solve.
Beginners could find interesting the method used to extract values from an image that uses a custom colour scheme to represent data (is not possible to extract hue values directly) or the simple displacement method used. These are the curves that follows the colors in the reference color gradient used by NASA in RGB (up) and HSV space:
You can see that the is no linearity or constant change in any channel, either RGB or HSV space.
There is some bottlenecks in the definition that you must take care about: data comparation component (Find Similar Members) and surface closest point (Surface CP). If you want to improve it, please do it, but send me the modified version ;)
Take care of not raise or push down the values in sliders without saving or know perfectly how much data your computer is able to calculate without memory problems. The main sample image is really big and the more resolution you set, more memory it will take to sample and calculate.
Grasshopper 0.9.0005 or 0.9.0006 needed.
Follow the link reference to download definition and data.
Thanks to Andrea Graziano for data links :)