diff options
| author | user@node5.net <user@node5.net> | 2025-08-24 23:20:10 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2025-08-24 23:20:10 +0200 |
| commit | 1ee2f8625376cfaf271425fcd98a25d781c74dac (patch) | |
| tree | 4ab3beb51af42f092ad44ebb51510719eea4beed /Custom keyboard V2/pcb | |
| parent | 56cc386fbb7ac2ceb7fedf8a5eb0e6b5f2413e7c (diff) | |
Custom keyboard V2 - 3D model transparent, next to image, no fps counter
Diffstat (limited to 'Custom keyboard V2/pcb')
| -rw-r--r-- | Custom keyboard V2/pcb/index.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Custom keyboard V2/pcb/index.html b/Custom keyboard V2/pcb/index.html index 8a6ce3f..6ec3e20 100644 --- a/Custom keyboard V2/pcb/index.html +++ b/Custom keyboard V2/pcb/index.html @@ -66,6 +66,7 @@ renderer.setSize( window.innerWidth, window.innerHeight ); renderer.setAnimationLoop( animate ); document.body.appendChild( renderer.domElement ); + renderer.setClearColor( 0xffffff, 0); // controls controls = new OrbitControls( camera, renderer.domElement ); @@ -75,8 +76,8 @@ controls.enablePan = true; // FPS counter - stats = new Stats(); - document.body.appendChild( stats.dom ); + //stats = new Stats(); + //document.body.appendChild( stats.dom ); function onMouseDown(){ spin = false; @@ -212,7 +213,7 @@ renderer.render( scene, camera ); - stats.update(); + //stats.update(); } |
