Frame.studio

Render animasi HTML ke MP4, langsung di browser.

Tempel kode, atur resolusi & FPS, lalu unduh video. Frame-per-frame — deterministik, tanpa upload, tanpa akun.

Dokumentasi singkat

Yang wajib ada di kode animasimu

  • window.draw(t) — fungsi sinkron, dipanggil per frame dengan t dalam detik (0 s/d dur)
  • window.dur — durasi animasi dalam detik, angka > 0
  • Minimal satu <canvas> dengan width & height > 0

Jangan pakai di dalam draw(t)

  • ✕ requestAnimationFrame / setInterval untuk animasi
  • ✕ async / await / Promise
  • ✕ Audio (video hasil silent)
  • ✕ Load gambar / fetch di dalam draw

Direkomendasikan

  • ✓ Three.js dari CDN resmi (cdnjs / jsdelivr)
  • ✓ preserveDrawingBuffer: true di WebGLRenderer
  • ✓ Canvas dengan resolusi target final (mis. 1080×1920)
  • ✓ Preload semua aset sebelum window.dur di-set

Template minimal

<canvas id="c" width="720" height="1280"></canvas>
<script>
  const ctx = document.getElementById('c').getContext('2d');
  window.dur = 5;
  window.draw = (t) => {
    ctx.fillStyle = '#101828';
    ctx.fillRect(0, 0, 720, 1280);
    ctx.fillStyle = '#ffd23f';
    ctx.beginPath();
    ctx.arc(360 + Math.sin(t*2)*200, 640, 80, 0, Math.PI*2);
    ctx.fill();
  };
</script>
1

Tempel kode animasi

atau upload file HTML
HTML
0 baris · 0 karakter
Atau upload file .html
Klik atau tarik file .html ke sini
—
2

Pengaturan output

Frame rate
Resolusi
Kualitas
Estimasi
Frame
—
Ukuran
—