Skip to content

Instantly share code, notes, and snippets.

@liquidzym
liquidzym / WSL-disco-v5-tutorial.md
Created March 27, 2022 10:28 — forked from MSFTserver/WSL-disco-v5-tutorial.md
How to run disco diffusion V5 on windows 10 with WSL
if (bRecordAudio && bRecordVideo){
ffmpegAudioThread.waitForThread();
ffmpegVideoThread.waitForThread();
//need to do one last script here to join the audio and video recordings
stringstream finalCmd;
finalCmd << ffmpegLocation << " -y " << " -i " << filePath << "_vtemp" << movFileExt << " -i " << filePath << "_atemp" << audioFileExt << " ";
finalCmd << "-c:v copy -c:a copy -strict experimental ";
@liquidzym
liquidzym / movie.pde
Created September 11, 2011 06:17 — forked from roryf/movie.pde
Processing code I used to generate http://vimeo.com/28706322
import org.json.*;
import java.net.*;
import java.util.Iterator;
import processing.video.*;
PImage bg;
MovieMaker mm;
JSONObject data;
double west = -3.414001;
@liquidzym
liquidzym / watercanvas.js
Created June 11, 2011 14:22 — forked from victusfate/watercanvas.js
water canvas by Almer Thie http://code.almeros.com
/*
* Water Canvas by Almer Thie (http://code.almeros.com).
* Description: A realtime water ripple effect on an HTML5 canvas.
* Copyright 2010 Almer Thie. All rights reserved.
*
* Example: http://code.almeros.com/code-examples/water-effect-canvas/
* Tutorial: http://code.almeros.com/water-ripple-canvas-and-javascript
*/