A new JavaScript API for driving animated content on the web. By unifying the animation features of SVG and CSS, Web Animations unlocks features previously only usable declaratively, and exposes powerful, high-performance animation capabilities to developers.
A JavaScript implementation of the Web Animations API that provides Web Animation features in browsers that do not support it natively. The polyfill falls back to the native implementation when one is available.
Here's a simple example of an animation that fades and scales a `
<script src="https://github.com/web-animations/web-animations-js/raw/2.3.2/web-animations.min.js"></script>
Hello world!
<script>
var elem = document.querySelector('.pulse');
var animation = elem.animate({
opacity: [0.5, 1],
transform: ['scale(0.5)', 'scale(1)'],
}, {
direction: 'alternate',
duration: 500,
iterations: Infinity,
});
</script>
For feedback on the API and the specification:
For issues with the polyfill, report them on GitHub: https://github.com/web-animations/web-animations-js/issues/new.
Breaking polyfill changes will be announced on this low-volume mailing list: web-animations-changes@googlegroups.com.
$ claude mcp add web-animations-js \
-- python -m otcore.mcp_server <graph>