Skip to content

Commit

Permalink
23 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhenii Pashko committed Jan 26, 2025
1 parent a2443c6 commit 05b875d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
if ( index < shuffledPixels.length ) {
wholeImage.style.opacity = 1 - (index / shuffledPixels.length);
shuffledPixels[ index ].style.opacity = '0';
setTimeout( () => fadeOutNextPixel( index + 1 ), 100 );
setTimeout( () => fadeOutNextPixel( index + 1 ), 1 );
} else {
wholeImage.style.opacity = 0;
isDisassembled = true;
Expand All @@ -81,7 +81,7 @@
if ( index < shuffledPixels.length ) {
wholeImage.style.opacity = index / shuffledPixels.length;
shuffledPixels[ index ].style.opacity = '1';
setTimeout( () => fadeInNextPixel( index + 1 ), 100 );
setTimeout( () => fadeInNextPixel( index + 1 ), 1 );
} else {
wholeImage.style.opacity = 1;
isDisassembled = false;
Expand Down

0 comments on commit 05b875d

Please sign in to comment.