From 944b5c500da0df6b5c20e09e83f1571911cbea36 Mon Sep 17 00:00:00 2001 From: Francisco Dans Date: Mon, 27 Apr 2015 12:57:54 +0200 Subject: [PATCH] adds color to isopleth --- lib/torque/renderer/ball.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/torque/renderer/ball.js b/lib/torque/renderer/ball.js index 47f172d..b6d23dc 100644 --- a/lib/torque/renderer/ball.js +++ b/lib/torque/renderer/ball.js @@ -213,8 +213,10 @@ BallRenderer.prototype = { for (var n = 0, ln = neighbors.length; n0 && (contour[index+3] === 0 || contour[index+3] !== contour[i+3])){ - iso[index+3] = contour[i+3]; - iso[index] = 150; + iso[index + 3] = contour[i+3]; + iso[index] = 153; + iso[index + 1] = 60; + iso[index + 2] = 243; } } }