diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/viz/index.html | 1 | ||||
-rw-r--r-- | tools/viz/survive_viewer.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/viz/index.html b/tools/viz/index.html index 0221b41..2987555 100644 --- a/tools/viz/index.html +++ b/tools/viz/index.html @@ -26,6 +26,7 @@ position: absolute; bottom: 20px; overflow: auto; + white-space: pre-wrap; background-color: rgba(0,200,200, .25); z-index: 3;"> diff --git a/tools/viz/survive_viewer.js b/tools/viz/survive_viewer.js index 67e65f0..d7f80ad 100644 --- a/tools/viz/survive_viewer.js +++ b/tools/viz/survive_viewer.js @@ -130,7 +130,7 @@ function redrawCanvas(when) { for (var key in angles) { for (var lh = 0; lh < 2; lh++) { - var bvalue = {"WW0" : "FF", "TR0" : "00"}; + var bvalue = {"WW0" : "FF", "TR0" : "00", "HMD" : "88"}; ctx.strokeStyle = (lh === 0 ? "#FF00" : "#00FF") + bvalue[key]; if (angles[key][lh]) @@ -190,7 +190,7 @@ function create_tracked_object(info) { } var trails; -var MAX_LINE_POINTS = 1000; +var MAX_LINE_POINTS = 100000; $(function() { $("#trails").change(function() { if (this.checked) { |