Forráskód Böngészése

make colors less knallig

Eren Yilmaz 6 éve
szülő
commit
203617b4f8
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/graph/InitializeNodePositions.java

+ 2 - 2
src/graph/InitializeNodePositions.java

@@ -19,8 +19,8 @@ public class InitializeNodePositions {
      */
     public static void placeNodes( LayeredGraphNode graph ) {
         float hue = 0; // color hue
-        float saturation = 1; // color saturation
-        float brightness = 1; // color brightness
+        float saturation = 1f; // color saturation
+        float brightness = 0.75f; // color brightness
         for( LayeredGraphNode n : graph.getContainedNodes() )
         {
             n.setColor( Color.getHSBColor( hue, saturation, brightness ), null );