From 15a29f02118215930ce73a2e0a5a1d39756c7004 Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Mon, 26 Mar 2018 02:21:59 -0700 Subject: [PATCH] reduce point size --- src/components/graph/drawPointsRegl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/graph/drawPointsRegl.js b/src/components/graph/drawPointsRegl.js index 87df4c49..03cb2d86 100644 --- a/src/components/graph/drawPointsRegl.js +++ b/src/components/graph/drawPointsRegl.js @@ -10,7 +10,7 @@ export default function (regl) { uniform mat4 projection, view; varying vec3 fragColor; void main() { - gl_PointSize = 30.0 / pow(distance, 2.5); + gl_PointSize = 10.0 / pow(distance, 2.5); gl_Position = projection * view * vec4(position.x, -position.y, 0, 1); fragColor = color; }`,