swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrick McNeill
Date: Thu, 18 Jul 96 14:54:13 EDT

Patrick - I had the same problem myself and it seems to just be the way X works.
I came up with a work around that will show you the heat, but at a lesser 
resolution.  Replace the following code:
  for (i = 0; i < 64; i++)
    [colormap setColor: i ToRed: (double)i / 63.0 Green: 0 Blue: 0];

With:

  // ****  Modified to show at least a few colors ****
    for (i=0;i<16;i++)
      [colormap setColor: i ToName: "black"];
    for (i=16;i<32;i++)
      [colormap setColor: i ToName: "blue"];
    for (i=32;i<48;i++)
      [colormap setColor: i ToName: "orange"];
    for (i=48;i<64;i++)
      [colormap setColor: i ToName: "red"];

This will replace the Red gradient that Heatbugs normally uses with  four
colors.  The coolest color is black and the warmest is red.  Using this method,
you can see where the heat is, but not as precisely.

Hope this helps!

-Patrick

http://www.tjhsst.edu/people/pmcneill               address@hidden
-< Web >-                                                -< Email >-
--------------------------------------------------------------------
And now a daily fortune... 
--------------------------------------------------------------------

Vhet thees vurld needs is a guud feefe-a-duller plesma veepun.

--------------------------------------------------------------------
 * Just in case you were wondering, the "fortune" above is 
   automatically generated from either the "Chef-Fortunes" file, my
   new James fortune database, or the standard database.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]