| 75 | } |
| 76 | |
| 77 | inline void plotDot(int x, int y, uint8_t v) { |
| 78 | if (x < 0 || x >= WIDTH || y < 0 || y >= HEIGHT) |
| 79 | return; |
| 80 | // Additive white (Processing used stroke(W), i.e., white) with gain control |
| 81 | leds[fl::XY((fl::u8)x, (fl::u8)y)] += CHSV(0, 0, scale8(v, kPointGain)); |
| 82 | } |
| 83 | |
| 84 | // draw a small disk ~ strokeWeight; 1..3 pixels radius |
| 85 | void plotSoftDot(float fx, float fy, float s) { |
no test coverage detected