ccapture.js-examples

CCapture.js examples

example scripts for rendering video animations in javascript (three.js / p5.js / tween.js / hydra) using CCapture.js

click the “record” button in each script to export WebM format video right in your web browser (google chrome reccomended).

the media/ folder contains scripts for converting to mp4 & gif using ffmpeg & gifski (these are bash executables, so run chmod +x media/*.sh first)

source

CCapture.js + three.js

a three dimentional cube rotating linearly

CCapture.js + three.js + tween.js

a three dimentional cube rotating quadratically

CCapture.js + p5.js

a two dimentional square rotating linearly

CCapture.js + hydra

a two dimentional square rotating linearly