From f57c4d29252596acc7c4af4700d74cac1fdb6966 Mon Sep 17 00:00:00 2001 From: Adam Whiteside Date: Sun, 26 Jun 2016 17:57:11 -0700 Subject: [PATCH 01/34] Added THREE.js and typings. Automatic reordering by node and jspm Updated d3 to v3.5.17 Progress to THREE support Rough first pass at WebGL graphing intergration using THREE.js with d3 Got dots, rectfill and cargrid modes all working. Got 1D plots to work with WebGL Updating code to Google style standards. --- client-js/app/elements/labrad-plot.html | 11 +- client-js/app/elements/labrad-plot.ts | 861 +++++++++++++++++------- client-js/app/scripts/activities.ts | 2 +- client-js/gulpfile.js | 2 +- 4 files changed, 614 insertions(+), 262 deletions(-) diff --git a/client-js/app/elements/labrad-plot.html b/client-js/app/elements/labrad-plot.html index 135b0d8..9ae4e9b 100644 --- a/client-js/app/elements/labrad-plot.html +++ b/client-js/app/elements/labrad-plot.html @@ -35,10 +35,19 @@ #dots { margin-top: 40px; } + #plot { + position: relative; + } + #canvas { + position: absolute; + top: 50px; + left: 40px; + }