diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-12 10:59:59 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-12 10:59:59 +0300 |
| commit | 5fa7dd33b040efce3626672d60ddeacb60580ef0 (patch) | |
| tree | b1024675bfdc0b6d42ebef3d13102d723b174432 /client/effects.js | |
| parent | be4103f6cdebfb7b7b04270c20d6c91eeb61a4f3 (diff) | |
Add pixelate button'
Diffstat (limited to 'client/effects.js')
| -rw-r--r-- | client/effects.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/effects.js b/client/effects.js index 52e1bcc..3743b9e 100644 --- a/client/effects.js +++ b/client/effects.js @@ -5,7 +5,7 @@ Effects = (function() { var raster = new paper.Raster('img-' + id); raster.visible = false; - var gridSize = 20; + var gridSize = 6; var gridDim = 9; var colors = []; @@ -29,6 +29,7 @@ Effects = (function() { } paper.view.draw(); + return; var quant = MMCQ.quantize(colors, 2); var palette = quant.palette(); |
