summary refs log tree commit diff
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-08-24 23:20:10 +0200
committeruser@node5.net <user@node5.net>2025-08-24 23:20:10 +0200
commit1ee2f8625376cfaf271425fcd98a25d781c74dac (patch)
tree4ab3beb51af42f092ad44ebb51510719eea4beed
parent56cc386fbb7ac2ceb7fedf8a5eb0e6b5f2413e7c (diff)
Custom keyboard V2 - 3D model transparent, next to image, no fps counter
-rwxr-xr-xCustom keyboard V2/index.md4
-rw-r--r--Custom keyboard V2/pcb/index.html7
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
 ---
 
-![Left side working prototype](Left&#32;side&#32;working&#32;prototype.jpg)
-
-<iframe src="pcb/index.html" style="width: 100%; height: 50em; border: none;" scrolling="no"></iframe>
+![Left side working prototype](Left&#32;side&#32;working&#32;prototype.jpg)  <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();
 
 			}