@@ -3,7 +3,7 @@ | |||||
<html lang="en"> | <html lang="en"> | ||||
<head> | <head> | ||||
<meta charset="utf-8"> | <meta charset="utf-8"> | ||||
<title>Title</title> | |||||
<title>abp</title> | |||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" /> | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" /> | ||||
<link rel="stylesheet" href="main.css"> | <link rel="stylesheet" href="main.css"> | ||||
</head> | </head> | ||||
@@ -1,6 +1,7 @@ | |||||
html, body { margin: 0; padding: 0; overflow: hidden; font-size: 10pt; font-family: "courier new"; } | html, body { margin: 0; padding: 0; overflow: hidden; font-size: 10pt; font-family: "courier new"; } | ||||
#infoholder { | #infoholder { | ||||
background: black; color:white; padding: 5px; margin:0px; position: absolute; top:5px; left:5px; font-family:"courier new"; text-align: center; font-size:10pt; width:200px; height:15px; | |||||
background: black; color:white; padding: 5px; margin:0px; position: absolute; top:5px; left:5px; font-family:"courier new"; text-align: center; font-size:10pt; | |||||
height:15px; | |||||
border-radius:3px; | border-radius:3px; | ||||
} | } | ||||
@@ -52,7 +52,7 @@ function makeScene(){ | |||||
var vertex = new THREE.Vector3(i-5, j-5, 0); | var vertex = new THREE.Vector3(i-5, j-5, 0); | ||||
nodeGeometry.vertices.push(vertex); | nodeGeometry.vertices.push(vertex); | ||||
nodeGeometry.colors.push(new THREE.Color(0.5, 0.5, 0.5)); | nodeGeometry.colors.push(new THREE.Color(0.5, 0.5, 0.5)); | ||||
nodeGeometry.labels.push(i + " " + j + " "); | |||||
nodeGeometry.labels.push("Click to add a qubit at (" + i + ", " + j + ")"); | |||||
} | } | ||||
} | } | ||||