Skip to content

Instantly share code, notes, and snippets.

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 / 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;