diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-03-12 01:42:41 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-03-12 01:42:41 +0100 |
| commit | 6a83c9b84f49d541f39726712b8a0331590555d2 (patch) | |
| tree | 51f5f29e35fa3af1f483ce8b1bb9829d281c13f0 /client/draw.js | |
| parent | 48f66e675f632d4ae837b3f8474569b3cfbceb56 (diff) | |
basic linear spectral manipulation!
Diffstat (limited to 'client/draw.js')
| -rw-r--r-- | client/draw.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
