/Template_p5_video_recording

Template for the video recording of p5 sketches

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

Template for the video recording of a p5 sketch

based on this article by Alexis Delrieu.

The objective is to record a video of a p5 sketch using the MediaRecorder

I used it with a parameter firstFrame and lastFrame because I want control over these for looping animations.

I'm not too happy with the result because a black screen appears at the end of the video. If you know how to fix it, please open an issue or contact me.

Feel free to use my code.

How to run it

Simply open index.html

Recording parameters are at the start of sketch.js