diff --git a/docs/js/index.js b/docs/js/index.js index 90657ff..4856b64 100644 --- a/docs/js/index.js +++ b/docs/js/index.js @@ -14,8 +14,9 @@ window.onload = function initialize() { image: imagejh2, particleType: 'led-matrix', type: 'random', - speed: 6, - transitionTime: 5000 + transitionTime: 2000, + idleTime: 5000, + ledSize: 4 }); pict2pix.animate({ image: imageay, diff --git a/docs/js/led-matrix.js b/docs/js/led-matrix.js index 88f9fa7..ac4d609 100644 --- a/docs/js/led-matrix.js +++ b/docs/js/led-matrix.js @@ -2,7 +2,7 @@ const imagejh = document.getElementById('image-jh'); window.onload = function initialize() { pict2pix.animate({ - image: imagejh2, + image: imagejh, particleType: 'led-matrix', type: 'random', transitionTime: 2000, diff --git a/docs/led-matrix.html b/docs/led-matrix.html index 71a2f98..69fbebb 100644 --- a/docs/led-matrix.html +++ b/docs/led-matrix.html @@ -112,7 +112,7 @@

Setting up Led Matrix Effect

window.onload = function initialize() { pict2pix.animate({ - image: imagejh2, + image: imagejh, particleType: 'led-matrix', type: 'random', transitionTime: 2000,