Playing with unsafe can be quite fun.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# A script to collect (conserve? steal?) Constant Dullaart's "war" web pages | |
# See: https://twitter.com/constantdull/status/785797564167839744 | |
# Usage: ./war_collector.sh | |
start_from="war.repair" | |
if [ ! -d src ] ; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
w/ speed up or slow down: | |
ffmpeg -i INPUT -crf 14 -vf "scale=640:640, setpts=1.0*PTS" -c:a copy -tune grain OUTPUT | |
(adjust crf for compression amount and 1.0*PTS for speed up / down) | |
w/out speed up: | |
ffmpeg -i INPUT -crf 14 -filter:v scale=640:640 -c:a copy -tune grain OUTPUT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int seed = int(random(999999)); | |
void setup() { | |
size(960, 960, P2D); | |
smooth(8); | |
pixelDensity(2); | |
rectMode(CENTER); | |
generate(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- channel from ofLog | |
- padding from ofLog | |
- nanosThen from ofFpsCounter | |
- secsThen from ofFpsCounter | |
- _mutexBlocks from ofThread | |
- _threadRunning from ofThread | |
- threadBeingWaitedFor from ofThread | |
- prevValue from ofParameter::Value | |
- document from ofXml | |
- element from ofXml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofApp.h" | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
video.setDeviceID(0); | |
video.setup(320, 240); | |
} | |
//-------------------------------------------------------------- |
OlderNewer