Improved default colours

feature-faces
Mike Lynch 2023-07-29 16:55:31 +10:00
parent efb4cf7608
commit 1bd838dd74
2 changed files with 4 additions and 4 deletions

4
gui.js
View File

@ -2,8 +2,8 @@ import { GUI } from 'lil-gui';
const DEFAULT_SHAPE = '120-cell'; const DEFAULT_SHAPE = '120-cell';
const DEFAULT_COLOR = 0x90ebff; const DEFAULT_COLOR = 0x3293a9;
const DEFAULT_BG = 0xdddddd; const DEFAULT_BG = 0x808080;

View File

@ -28,8 +28,8 @@ document.body.appendChild( renderer.domElement );
// set up colours and materials for gui callbacks // set up colours and materials for gui callbacks
scene.background = new THREE.Color(0xdddddd); scene.background = new THREE.Color(0x808080);
const material = new THREE.MeshStandardMaterial({ color: 0x90ebff }); const material = new THREE.MeshStandardMaterial({ color: 0x3293a9 });
const node_ms = [ material ]; const node_ms = [ material ];