Explorar el Código

Better labelling

master
Pete Shadbolt hace 8 años
padre
commit
df978f2f9e
Se han modificado 3 ficheros con 4 adiciones y 3 borrados
  1. +1
    -1
      static/index.html
  2. +2
    -1
      static/main.css
  3. +1
    -1
      static/main.js

+ 1
- 1
static/index.html Ver fichero

@@ -3,7 +3,7 @@
<html lang="en">
<head>
<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" />
<link rel="stylesheet" href="main.css">
</head>


+ 2
- 1
static/main.css Ver fichero

@@ -1,6 +1,7 @@
html, body { margin: 0; padding: 0; overflow: hidden; font-size: 10pt; font-family: "courier new"; }
#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;
}



+ 1
- 1
static/main.js Ver fichero

@@ -52,7 +52,7 @@ function makeScene(){
var vertex = new THREE.Vector3(i-5, j-5, 0);
nodeGeometry.vertices.push(vertex);
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 + ")");
}
}



Cargando…
Cancelar
Guardar