Skip to content

Instantly share code, notes, and snippets.

@xaderfos
xaderfos / osc_robot.pde
Created June 17, 2020 10:54 — forked from brendan-w/osc_robot.pde
Processing app for sending keystrokes with TouchOSC
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import java.util.Map;
import oscP5.*;
Robot robot;
OscP5 oscP5;
final int PORT = 8000;
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);
@xaderfos
xaderfos / poetry.clj
Created April 30, 2020 17:02
Code poetry (well... kind of)
(if (= 0 (mod (reduce + (range 1 (rand-int 100))) 2)) "loves me" "loves me not")
@xaderfos
xaderfos / install.sh
Last active September 12, 2016 02:16
Automate software installation on newly installed OS
#!/bin/sh
sudo apt-get update
sudo apt-get upgrade
# COWSAY FIGLET TOILET LOLCAT
sudo apt install -y cowsay figlet toilet lolcat
# ZSH
figlet ZSH | lolcat
# =============================================================================
@xaderfos
xaderfos / tsepSem140803.org
Created August 3, 2014 08:01
Supercollider Tutorial Topics EASTN Tsepelovo

Supercollider

Noise

Filters

OSC

CSV

Reverb

Looping

Envelope

Random