mrdoob/three.js — pull request #4571 by daron1337 (2014-03-13 14:59:28+00:00)
Title: Lookup table and color maps for scientific visualization.

Build your lookup table from predefined color maps ( rainbow blue to red, cool to warm and black body radiation) and set the number of colours.
Define the boundaries of your data (max and min values) and then obtain the corresponding color from the colormap.