Add another color to entropy value
Add new yellow-green color to entropy value between 3 and 4 to make it more smooth color changes.
This commit is contained in:
parent
2a1294f1c0
commit
a07bd333ef
@ -105,6 +105,7 @@ class Magic extends Operation {
|
||||
*/
|
||||
function chooseColour(val) {
|
||||
if (val < 3) return "green";
|
||||
if (val < 4) return "yellowgreen";
|
||||
if (val < 5) return "goldenrod";
|
||||
return "red";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user