From b8519b5dfa00c1b57766f101660d471d36f99846 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Wed, 10 Jun 2015 18:22:39 +0300 Subject: Fix pixelation performance and crossorigin attr --- client/effects.js | 3 ++- client/templates/photos.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/effects.js b/client/effects.js index b5f54e2..52e1bcc 100644 --- a/client/effects.js +++ b/client/effects.js @@ -25,10 +25,11 @@ Effects = (function() { strokeColor: color, fillColor: color }); - paper.view.draw(); } } + paper.view.draw(); + var quant = MMCQ.quantize(colors, 2); var palette = quant.palette(); diff --git a/client/templates/photos.html b/client/templates/photos.html index 4ca451d..866ae9f 100644 --- a/client/templates/photos.html +++ b/client/templates/photos.html @@ -6,6 +6,6 @@ -- cgit v1.3.1