diff --git a/8By8/8By8.ino b/8By8/8By8.ino index cd05d6e..1977ce8 100644 --- a/8By8/8By8.ino +++ b/8By8/8By8.ino @@ -79,7 +79,7 @@ void setup() { for (int x = 0; x < 8; x++) { for (int y = 0; y < 8; y++) { - Cube::set_status(x, y, (x + y)/2, 3); + Cube::set_status(x, y, sqrt((x - 3) * (x - 3) + (y - 3) * (y - 3)), 3); } } }