Skip to content

Commit ef4c4b3

Browse files
committed
SOF-7354: more experiment with colors x5
1 parent 46672f5 commit ef4c4b3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/mixins/atoms.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ export const AtomsMixin = (superclass) =>
109109
if (label % 2 === 0) {
110110
// even labels
111111
hue = atomHSL.h + (label * 0.1) / 2;
112-
saturation = atomHSL.s + (label * 0.1) / 2;
112+
saturation = atomHSL.s + 0.25;
113113
} else {
114114
// odd labels
115115
hue = atomHSL.h - ((label + 1) * 0.1) / 2;
116-
saturation = atomHSL.s + ((label + 1) * 0.1) / 2;
116+
saturation = atomHSL.s + 0.25;
117117
}
118118

119119
// hue is cyclic
@@ -126,7 +126,7 @@ export const AtomsMixin = (superclass) =>
126126
}
127127

128128
saturation = Math.max(0, Math.min(1, saturation));
129-
sphereMesh.material.emissiveIntensity = 0.25;
129+
sphereMesh.material.emissiveIntensity = 0.1;
130130
sphereMesh.material.emissive.setHSL(hue, saturation, atomHSL.l);
131131
}
132132
atomsGroup.add(sphereMesh);
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)