Happy musical farm SVG animation with GSAP and Web Audio API

Happy musical farm SVG animation with GSAP and Web Audio API

See the Code
See it Full Page
See Details

Animations are created via GSAP and are dynamically processed by AudioContext from Web Audio API. The variable frequencyData gets outputed 60 times of a second via requestAnimationFrame and all the elements get updated.

The experience is best on desktop. Also IE does not support Web Audio API.

Try adding some of your favorite songs. I’m sure the cows will appreciate it! :)

This Pen uses: HTML, SCSS, JavaScript, and


Source: codepen

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *