Commit eb778a7
committed
Add transparent colors3 color heatmap
This relates to issue #66 where we are adding colors to enable the creation of a trace heatmap.
The addition of this capability is fairly straightforward:
-set the base image to fully transparent (white)
-calculate an alpha gradient value for each square in the same way the red, green, and blue gradients are calculated
-use this calculated alpha value to set the pixel-wise color
-there are two places this is computed in three color heatmap so this will need to be updated in two places.1 parent c6c9d1e commit eb778a7
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
| |||
0 commit comments