Skip to content

Instantly share code, notes, and snippets.

#N canvas 1352 283 1114 678 12;
#X declare -path abl_link;
#X declare -path jack_transport;
#X obj 309 14 declare -path abl_link;
#N canvas 668 992 772 801 ableton_tempo 0;
#X msg 148 3 tempo \$1;
#X floatatom 148 59 5 0 0 1 - - - 0;
#X msg 58 43 connect \$1;
#X obj 187 139 t f f;
#X obj 187 164 <;
@hellocatfood
hellocatfood / movie_cut_random.sh
Last active June 25, 2020 20:33
A script to perform a random cut on a video
#!/bin/bash
#A script to perform a random cut on a video
#By Antonio Roberts | www.hellocatfood.com
#Usage: ./movie_cut.sh /path/to/file.mp4
#e.g. ./movie_cut.sh /home/Desktop/videofile.mp4
# change 30 to however many videos you want output
filenumber=$(printf "%05d")
while [ $filenumber -le 30 ]
do
@hellocatfood
hellocatfood / typewriter.sh
Created May 23, 2020 14:01
Create a typewriter text effect using Imagemagick 7
#/bin/bash
# Adapted from here https://imagemagick.org/discourse-server/viewtopic.php?p=163774#p163774
# Requires Imagemagick 7 and a monospace font. Tested on Ubuntu 20.04
FONT= # replace with path to monospace font
POINTS=18
COUNT=0
TEXT= # replace textfile.txt with path to plain text file
#N canvas 62 73 929 984 12;
#X declare -path extra;
#N canvas 0 0 450 300 (subpatch) 0;
#X array array1 10352 float 2 black black;
#X coords 0 1 10352 -1 200 140 1;
#X restore 523 67 graph;
#X obj 207 60 openpanel;
#X obj 207 36 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 207 112 soundfiler;
@hellocatfood
hellocatfood / A_Perfect_Circle.pde
Created July 15, 2019 11:17
Code used for A Perfect Circle
import processing.video.*;
import processing.pdf.*;
Capture video;
PGraphics topLayer;
PGraphics topLayer2;
color trackColor;
float hue = 0;
int xorig=width/2, yorig=height/2;
int xprev=width/2, yprev=height/2;
#!/usr/bin/env python
# Author: David Huss
# Website: http://blog.atoaudiovisual.com
# Usage instructions http://blog.atoav.com/2013/09/restore-broken-deja-dup-backup-hand/
# Modified by Antonio Roberts to preserve folder structure
import Tkinter as tk
from tkFileDialog import *
import sys, os
placeholder
@hellocatfood
hellocatfood / feedback.sh
Last active August 17, 2020 00:51
Do feedback loops on an image with transparenty
#!/bin/bash
# applies a black and white feedback effect to still images.
# usage: ./feedback.sh image.png 18
# this would apply the feedback effect 18 times to the image.png image and output the result as feedback.png
cp $1 feedback.png
loop=0
@hellocatfood
hellocatfood / gist:ad1da963d5b37b43d542
Last active August 29, 2015 14:13
#artsdigital bingo
Technology
Technologies
Content
Wearable
Media
Future
Virtual
Disruption
Disruptive
Big Data
@hellocatfood
hellocatfood / gist:46dec37ed533c57e4519
Created January 8, 2015 18:50
Installation instructions for Flext and Py ext
Installation instructions for Flext and pyext on Ubuntu 14.10 (64 Bit) on a Dell XPS 13
Download the Pure Data source code
git clone git://git.code.sf.net/p/pure-data/pure-data/
Checkout flext
svn co https://svn.grrrr.org/ext/trunk/flext/
cd into flext