CCapture.js is a JavaScript library designed to capture high-quality recordings of HTML5 canvas animations at a fixed and consistent frame rate. Unlike traditional screen recording tools, it decouples rendering speed from capture speed, allowing developers to generate smooth video outputs even when frames take longer to compute. It works by overriding time-related browser functions such as requestAnimationFrame and Date.now to simulate a stable time progression, ensuring every frame is captured accurately. This approach enables the creation of high-resolution videos, slow-motion sequences, or complex visualizations without dropped frames. The library supports multiple export formats including WebM, GIF, PNG sequences, and JPEG archives, making it flexible for different workflows. It integrates easily into browser-based creative coding environments like Three.js and p5.js, making it especially valuable for artists and developers producing generative visuals.

Features

  • Fixed framerate capture independent of rendering performance
  • Support for WebM, GIF, PNG, and JPEG export formats
  • Hooks into timing APIs like requestAnimationFrame
  • Motion blur and frame supersampling options
  • Works with WebGL and canvas-based animations
  • Configurable capture settings including quality and duration

Project Samples

Project Activity

See All Activity >

Categories

Video

License

MIT License

Follow CCapture.js

CCapture.js Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CCapture.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Video Software

Registered

2026-04-24