aboutsummaryrefslogtreecommitdiff
path: root/examples/AuroraDemo/PatternFlowField.h
diff options
context:
space:
mode:
authormrcodetastic <12006953+mrcodetastic@users.noreply.github.com>2024-07-28 23:40:30 +0100
committermrcodetastic <12006953+mrcodetastic@users.noreply.github.com>2024-07-28 23:40:30 +0100
commit3960bbed887fc6211ced5abcf8ef00ec4cbd0346 (patch)
tree8c9c2a51247a44f5b63f6cf04168a3e3944087ba /examples/AuroraDemo/PatternFlowField.h
parentf2634319ab7ebfe22fc6d2ebabcdd27879f3667e (diff)
updates
Diffstat (limited to 'examples/AuroraDemo/PatternFlowField.h')
-rw-r--r--examples/AuroraDemo/PatternFlowField.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/AuroraDemo/PatternFlowField.h b/examples/AuroraDemo/PatternFlowField.h
index 8e41c3d..d0cb7a1 100644
--- a/examples/AuroraDemo/PatternFlowField.h
+++ b/examples/AuroraDemo/PatternFlowField.h
@@ -67,7 +67,7 @@ class PatternFlowField : public Drawable {
boid->velocity.y = -((float)cos8(angle) * 0.0078125 - 1.0);
boid->update();
- effects.drawBackgroundFastLEDPixelCRGB(boid->location.x, boid->location.y, effects.ColorFromCurrentPalette(angle + hue)); // color
+ effects.setPixel(boid->location.x, boid->location.y, effects.ColorFromCurrentPalette(angle + hue)); // color
if (boid->location.x < 0 || boid->location.x >= VPANEL_W ||
boid->location.y < 0 || boid->location.y >= VPANEL_H) {