About the Anime.js compiler
Lightweight JavaScript animation library. Runs in your browser. Run Anime.js code in your browser with no install and no signup — the editor, the input and the output share one screen. Anime.js compiles and runs on your own device through WebAssembly, so once the page has loaded it keeps working without a network connection.
Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.
A Anime.js example
This is the program the Anime.js editor opens with — run it as it is, then change it.
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/animejs@3/lib/anime.min.js"></script>
<style>
body { font-family: sans-serif; padding: 2rem; display: flex; flex-direction: column; align-items: center; }
.square { width: 50px; height: 50px; background: #6366f1; border-radius: 8px; margin: 0.5rem; display: inline-block; }
.row { display: flex; gap: 0.5rem; }
</style>
</head>
<body>
<h1>Anime.js Demo</h1>
<div class="row">
<div class="square" id="s1"></div>
<div class="square" id="s2"></div>
<div class="square" id="s3"></div>
<div class="square" id="s4"></div>
<div class="square" id="s5"></div>
</div>
<button onclick="animate()" style="margin-top:1rem;padding:0.5rem 1rem;">Animate</button>
<script>
function animate() {
anime({ targets: '.square', translateX: [0, 250], rotate: '1turn', backgroundColor: '#8b5cf6', delay: anime.stagger(100), direction: 'alternate', duration: 800, easing: 'easeInOutQuad' });
}
The editor opens with the full program.
More Web UI Frameworks compilers
Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.