Improved default colours
parent
efb4cf7608
commit
1bd838dd74
4
gui.js
4
gui.js
|
@ -2,8 +2,8 @@ import { GUI } from 'lil-gui';
|
|||
|
||||
|
||||
const DEFAULT_SHAPE = '120-cell';
|
||||
const DEFAULT_COLOR = 0x90ebff;
|
||||
const DEFAULT_BG = 0xdddddd;
|
||||
const DEFAULT_COLOR = 0x3293a9;
|
||||
const DEFAULT_BG = 0x808080;
|
||||
|
||||
|
||||
|
||||
|
|
4
main.js
4
main.js
|
@ -28,8 +28,8 @@ document.body.appendChild( renderer.domElement );
|
|||
|
||||
// set up colours and materials for gui callbacks
|
||||
|
||||
scene.background = new THREE.Color(0xdddddd);
|
||||
const material = new THREE.MeshStandardMaterial({ color: 0x90ebff });
|
||||
scene.background = new THREE.Color(0x808080);
|
||||
const material = new THREE.MeshStandardMaterial({ color: 0x3293a9 });
|
||||
|
||||
const node_ms = [ material ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue