Browse Source

Thicker, bendier edges.

master
Pete Shadbolt 7 years ago
parent
commit
472eac2c6a
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      abp/static/scripts/materials.js

+ 3
- 3
abp/static/scripts/materials.js View File

@@ -1,8 +1,8 @@
var materials = {}; var materials = {};


var curveProperties = { var curveProperties = {
splineDensity: 20,
curvature: 3
splineDensity: 10,
curvature: 20
}; };


// Is called on boot // Is called on boot
@@ -12,7 +12,7 @@ materials.prepare = function() {
materials.edge = new THREE.LineBasicMaterial({ materials.edge = new THREE.LineBasicMaterial({
color: "gray", color: "gray",
transparent: false, transparent: false,
linewidth: 3
linewidth: 5
}); });
materials.edge.depthTest = false; materials.edge.depthTest = false;
materials.qubit = new THREE.PointsMaterial({ materials.qubit = new THREE.PointsMaterial({


Loading…
Cancel
Save