diff --git a/organism/src/main.cpp b/organism/src/main.cpp index 3fa5a83..b37f71e 100644 --- a/organism/src/main.cpp +++ b/organism/src/main.cpp @@ -102,7 +102,7 @@ void draw_bezier(int x1, int y1, int x2, int y2, int x3, int y3) { int x = interpolate(xa, xb, percent); int y = interpolate(ya, yb, percent); - matrix->drawPixel(x, y, matrix->color565(255, 80, 83)); + matrix->drawPixel(x, y, matrix->color565(106, 95, 219)); } } @@ -137,12 +137,12 @@ void loop() { blob.x_coords[end_offset], blob.y_coords[end_offset] ); - //matrix->drawPixel(blob.x_coords[i], blob.y_coords[i], matrix->color565(128, 128, 128)); + matrix->drawPixel(blob.x_coords[i], blob.y_coords[i], matrix->color565(128, 128, 128)); blob.x_coords[i+1] += random(-1, 2); if (blob.x_coords[i+1] >= PANEL_WIDTH) { blob.x_coords[i+1] = PANEL_WIDTH - 1; } - if (blob.x_coords[i+1] < 0) { + if (blob.x_coords[i+1] < 0) { blob.x_coords[i+1] = 0; } //blob.y_coords[i+1] += random(-1, 2);