diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-17 21:36:44 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-17 21:36:44 +0300 |
| commit | 651491ca50532e8b7cf497c072cf909545ef8a3e (patch) | |
| tree | 560c0d9502f2a039ae6180aac1671aebe8ba6096 /client/button.js | |
| parent | 161734857bdf3c3a382a2740a58f9065c929990f (diff) | |
averageColor() also animated
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/button.js b/client/button.js index f759887..2916938 100644 --- a/client/button.js +++ b/client/button.js @@ -42,6 +42,14 @@ function animate() { _.delay(function() { Effects.average(); + }, delay); + + _.delay(function() { + _.each(Session.get('photos'), function(x, i) { + _.delay(function () { + Effects.averageColor(x.id); + }, 400 * i); + }); }, delay + 2000); } |
