8968d35b5639ad14c39a3a1b697e4d984d124df0
ceisenhart
  Fri Oct 9 09:54:01 2015 -0700
Adding rainbow.h and rainbow.c, I modified these files a very long time ago for the expMatrixToJson program, giving them a new function

diff --git src/inc/rainbow.h src/inc/rainbow.h
index faa080d..a06d89f 100644
--- src/inc/rainbow.h
+++ src/inc/rainbow.h
@@ -1,22 +1,26 @@
 /* rainbow - stuff to generate rainbow colors. */
 
 #ifndef RAINBOW_H
 #define RAINBOW_H
 
 #ifndef MEMGFX_H
 #include "memgfx.h"
 #endif
 
 struct rgbColor saturatedRainbowAtPos(double pos);
 /* Given pos, a number between 0 and 1, return a saturated rainbow rgbColor
  * where 0 maps to red,  0.1 is orange, and 0.9 is violet and 1.0 is back to red */
 
 struct rgbColor lightRainbowAtPos(double pos);
 /* Given pos, a number between 0 and 1, return a lightish rainbow rgbColor
  * where 0 maps to red,  0.1 is orange, and 0.9 is violet and 1.0 is back to red */
 
 struct rgbColor veryLightRainbowAtPos(double pos);
 /* Given pos, a number between 0 and 1, return a light rainbow rgbColor
  * where 0 maps to red,  0.1 is orange, and 0.9 is violet and 1.0 is back to red */
 
+struct rgbColor whiteToBlackRainbowAtPos(double pos); 
+/* Given pos, a number between 0 and 1, return a blackToWhite rainbow rgbColor
+ * where 0 maps to white,  0.1 is grey, and 1 is black. */
+
 #endif /* RAINBOW_H */