Skip to content

Commit 144e039

Browse files
committed
SOF-7354: more experiment with colors x2
1 parent f6caf64 commit 144e039

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
@@ -108,10 +108,10 @@ export const AtomsMixin = (superclass) =>
108108
if (label !== 0) {
109109
if (label % 2 === 0) {
110110
// even labels
111-
hue = atomHSL.h + (label * 0.05) / 2;
111+
hue = atomHSL.h + (label * 0.1) / 2;
112112
} else {
113113
// odd labels
114-
hue = atomHSL.h - ((label + 1) * 0.05) / 2;
114+
hue = atomHSL.h - ((label + 1) * 0.1) / 2;
115115
}
116116

117117
// hue is cyclic
@@ -124,7 +124,7 @@ export const AtomsMixin = (superclass) =>
124124
}
125125

126126
new THREE.Color(atomColor).setHSL(atomHSL);
127-
sphereMesh.material.emissiveIntensity = 0.2;
127+
sphereMesh.material.emissiveIntensity = 0.25;
128128
sphereMesh.material.emissive.setHSL(hue, atomHSL.s, atomHSL.l);
129129
}
130130
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)