diff --git a/static/img/ball.png b/static/img/ball.png index daab427..b49b534 100644 Binary files a/static/img/ball.png and b/static/img/ball.png differ diff --git a/static/index.html b/static/index.html index 46999cb..e941749 100644 --- a/static/index.html +++ b/static/index.html @@ -26,12 +26,19 @@
+

Node (5,2)

diff --git a/static/main.css b/static/main.css index 4667beb..cd03e3a 100644 --- a/static/main.css +++ b/static/main.css @@ -21,7 +21,7 @@ html, body { margin: 0; padding: 0; overflow: hidden; font-size: 10pt; font-fam padding: 10px; font-family:"courier new"; position: absolute; - bottom: 10px; + top: 10px; right: 10px; font-size: 9pt; } @@ -34,7 +34,7 @@ html, body { margin: 0; padding: 0; overflow: hidden; font-size: 10pt; font-fam font-family:"courier new"; position: absolute; top: 10px; - right: 10px; + left: 10px; font-size: 9pt; } @@ -45,6 +45,12 @@ ul { margin: 0px; } +li{ + padding:3px; +} + + + .visible { visibility: visible; opacity: 1; @@ -62,3 +68,10 @@ ul { a { color: yellow; } + +h3 { + padding-top: 0px; + padding-bottom: 0px; + margin-top: 2px; + margin-bottom: 2px; +} diff --git a/static/scripts/materials.js b/static/scripts/materials.js index 5e4f52e..2d77ee4 100644 --- a/static/scripts/materials.js +++ b/static/scripts/materials.js @@ -15,6 +15,10 @@ materials.prepare = function() { transparent: false, linewidth: 1 }); + materials.gimbalEdge = new THREE.LineBasicMaterial({ + color: "black", + linewidth: 1, + }); materials.tip = new THREE.PointsMaterial({ size: 0.4, map: tipSprite, diff --git a/static/scripts/mouse.js b/static/scripts/mouse.js index a22c6a9..f143e37 100644 --- a/static/scripts/mouse.js +++ b/static/scripts/mouse.js @@ -47,6 +47,7 @@ mouse.onUp = function(event) { }; mouse.onMove = function(event) { + // TODO: wasclick sux mouse.wasClick = false; mouse.position_absolute = { x: event.clientX,