()
| 1563 | } |
| 1564 | |
| 1565 | function generateColor () { |
| 1566 | let c = HSVtoRGB(Math.random(), 1.0, 1.0); |
| 1567 | c.r *= 0.15; |
| 1568 | c.g *= 0.15; |
| 1569 | c.b *= 0.15; |
| 1570 | return c; |
| 1571 | } |
| 1572 | |
| 1573 | function HSVtoRGB (h, s, v) { |
| 1574 | let r, g, b, i, f, p, q, t; |
no test coverage detected