Skip to content

Commit

Permalink
Fix file name, update waveform animation
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoCeruti authored Nov 23, 2023
1 parent b4795aa commit ea8a322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<!-- JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha512-z4OUqw38qNLpn1libAN9BsoDx6nbNFio5lA6CuTp9NlK83b89hgyCVq+N5FdBJptINztxn1Z3SaKSKUS5UP60Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="/assets/js/wavform.js"></script>
<script src="/assets/js/waveform.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions assets/js/wavform.js → assets/js/waveform.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
easing: 'easeInOutQuad',
duration: 400,
height: [4, () => anime.random(8, 100)],
opacity: anime.stagger([2, 0.3], {from: 'center', easing: 'easeOutQuad' }),
delay: anime.stagger(10, { from: 'center', easing: 'easeOutQuad' })
});
})()

0 comments on commit ea8a322

Please sign in to comment.