Galaxy and glowing point visual improvements.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 16 Sep 2018 22:07:28 +0000 (01:07 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 16 Sep 2018 22:07:28 +0000 (01:07 +0300)
src/main/java/eu/svjatoslav/sixth/e3d/examples/PointCloudDemo.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/life/Cell.java

index 9185614..974ecc7 100644 (file)
@@ -26,7 +26,7 @@ public class PointCloudDemo {
         Transform transform = new Transform(new Point3D(0, -1000, 1000), 0, 0);
 
         // add galaxy
-        geometryCollection.addShape(new Galaxy(1000, 3, 10000, transform));
+        geometryCollection.addShape(new Galaxy(500, 3, 10000, transform));
 
     }
 }
index 18f2d57..9b14866 100755 (executable)
@@ -27,11 +27,11 @@ class Cell extends AbstractCompositeShape implements
     /**
      * Color of the inactive cell (R, G, B, A)
      */
-    private static final Color INACTIVE_COLOR = new Color("55F5");
+    private static final Color INACTIVE_COLOR = new Color("55F8");
     /**
      * Color of the inactive cell (R, G, B, A) while mouse is over it.
      */
-    private static final Color INACTIVE_COLOR_MOUSE_OVER = new Color("77F7");
+    private static final Color INACTIVE_COLOR_MOUSE_OVER = new Color("77F8");
     /**
      * A placeholder variable to help in next generation computation. Indicates
      * whether cell is going to survive within next generation.