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 | |
| parent | 56cc386fbb7ac2ceb7fedf8a5eb0e6b5f2413e7c (diff) | |
Custom keyboard V2 - 3D model transparent, next to image, no fps counter
| -rwxr-xr-x | Custom keyboard V2/index.md | 4 | ||||
| -rw-r--r-- | Custom keyboard V2/pcb/index.html | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/Custom keyboard V2/index.md b/Custom keyboard V2/index.md index f2621b6..c4c8e9f 100755 --- a/Custom keyboard V2/index.md +++ b/Custom keyboard V2/index.md @@ -3,9 +3,7 @@ description: Adjustable column position, thumb clusters created: 2024-01-24 --- - - -<iframe src="pcb/index.html" style="width: 100%; height: 50em; border: none;" scrolling="no"></iframe> + <iframe src="pcb/index.html" style="width: 100%; max-width: 40em; height: 40em; border: none;" scrolling="no"></iframe> Checkout [V1 of this keyboard](https://blog.node5.net/Custom%20keyboard/). 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(); } |
