commit 47447d4a481ab9b56be5d5c1456e4b9bcde94365
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Fri Aug 6 15:28:10 2021 +0200

    Use a trick to avoid having to correct the center sticker of the Kilominx.

diff --git a/src/main/java/org/distorted/objects/TwistyKilominx.java b/src/main/java/org/distorted/objects/TwistyKilominx.java
index 97cf63c5..c21df6e6 100644
--- a/src/main/java/org/distorted/objects/TwistyKilominx.java
+++ b/src/main/java/org/distorted/objects/TwistyKilominx.java
@@ -60,9 +60,12 @@ public class TwistyKilominx extends TwistyMinx
 
   private static final float CENTER_CORR = 0.87f;
 
+  private static final float C = 1.14f; // make the 'center' sticker artificially larger, so that we paint
+                                        // over the area in the center of the face.
+
   private static final float[][] STICKERS = new float[][]
       {
-        { -0.36616942f, -0.36327124f, 0.5f, -0.36327124f, 0.23233888f, 0.4605048f, -0.36616942f, 0.26603764f },
+        { C*-0.36616942f, C*-0.36327124f, C*0.5f, C*-0.36327124f, C*0.23233888f, C*0.4605048f, C*-0.36616942f, C*0.26603764f },
         { -0.36327127f, -0.5f, 0.36327127f, -0.26393202f, 0.36327127f, 0.5f, -0.36327127f, 0.26393202f },
         { -0.3249197f, -0.39442718f, 0.3249197f, -0.39442718f, 0.3249197f, 0.5f, -0.3249197f, 0.2888544f }
       };
@@ -641,14 +644,11 @@ public class TwistyKilominx extends TwistyMinx
     if( variant == (numLayers-1)/2 || numLayers==3 ) // center
       {
       float R = 0.10f;
-      float S = 0.09f;
+      float S = 0.20f;
       float[] RS = new float[] {R,R,R,R};
-      float cx = STICKERS[0][2]/CENTER_CORR;
-      float cy = STICKERS[0][3]/CENTER_CORR;
 
       FactorySticker factory = FactorySticker.getInstance();
       factory.drawRoundedPolygon(canvas, paint, left, top, STICKERS[0], null, S, FACE_COLORS[face%NUM_FACES], RS);
-      canvas.drawCircle(left+(0.5f+cx)*TEXTURE_HEIGHT, top+(0.5f-cy)*TEXTURE_HEIGHT, 0.05f*TEXTURE_HEIGHT, paint);
       }
     else if( variant==0 ) // corner
       {
