From 6a83c9b84f49d541f39726712b8a0331590555d2 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 12 Mar 2018 01:42:41 +0100 Subject: basic linear spectral manipulation! --- client/draw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/draw.js') diff --git a/client/draw.js b/client/draw.js index bed5f80..ef66e22 100644 --- a/client/draw.js +++ b/client/draw.js @@ -54,7 +54,7 @@ function triangle(px,py,r){ function tri(px, py, r) { ctx.save() ctx.globalCompositeOperation = 'multiply' - ctx.fillStyle = color.color((px+py)/(w+h), 0, 1, 1) + ctx.fillStyle = color.color((px+py)/(w+h), 0, 1, 0.2) function p(){ let theta = randrange(0, Math.PI*2) let x = px + Math.cos(theta) * r -- cgit v1.2.3-70-g09d2