Skip to content

Instantly share code, notes, and snippets.

@moxuse
moxuse / control-effects-midi-guy-sound-module.scd
Last active August 22, 2023 05:09
Control Effects of MIDI Guy sound module
// Control Effects MIDI Guy sound module
// https://github.com/kinoshita-lab/MIDI-guy/
// Orca code
..........................................
....4Uw..R....6Uq..Rt...2Uq..Rt...........
......:022cf....:112af....:731af..........
..........................................
..........................................
@lmccart
lmccart / p5.geolocation.js
Created November 15, 2019 18:40
p5.geolocation modifiations
// p5.geolocation.js VERSION 3
console.log("%c p5.geolocation Loaded ", "color:pink; background:black; ");
/**
* Check if location services are available
*
* Returns true if geolocation is available
*
* @method locationCheck
@jacobjoaquin
jacobjoaquin / solarFlare.pde
Last active August 19, 2019 09:54
Solar Flare - Built with Processing
/*
Solar Flare
Jacob Joaquin
Find me:
https://github.com/jacobjoaquin/
https://hackaday.io/jacobjoaquin
https://twitter.com/JacobJoaquin
http://jacobjoaquin.tumblr.com/
https://www.instagram.com/jacobjoaquin/
@papiron
papiron / coolbanner
Last active January 20, 2024 03:52
クールなバナーを作るシェルスクリプト(MacやFreeBSD用。Linuxの場合は下記のコメントを参照。)
#!/bin/sh
[ $# -lt 1 ] && echo 'Usage: coolbanner STRING [HEIGHT]' && exit
string="$1"
if [ -z $2 ]; then
height=30
else
height="$2"
fi
anonymous
anonymous / colour_ring.pde
Created May 19, 2016 15:14
// by davey whyte aka @beesandbombs
void setup(){
size(600,520,P3D);
colorMode(HSB,1);
noStroke();
}
float R = 160, r = 55;
int N = 720;
@claytical
claytical / sketch.js
Created March 28, 2016 01:09
Google Spreadsheet with P5JS Example
var url = "https://spreadsheets.google.com/feeds/list/1qwbpwuHScQcujaMEg434eWPmpChMGBzaRQ9n39tYBjE/od6/public/values?alt=json";
var dudes = [];
function setup() {
createCanvas(windowWidth, windowHeight);
// Request the data from openweathermap
loadJSON(url, gotSpreadsheet);
}
function draw() {
background(0);
import processing.pdf.*;
import java.util.Calendar;
boolean savePDF = false;
void setup() {
size(500, 500);
colorMode(HSB, 360, 100, 100);
}
@edsonsoares
edsonsoares / Kinect code
Last active January 3, 2016 23:57
Record and Save Junction Positions w/ Kinect
void setup_kinect(){
context = new SimpleOpenNI(this);
if (context.isInit() == false) {
println("Can't Init SimpleOpenNI, maybe the camera is not connected.");
exit();
return;
}
@cocopon
cocopon / Easing.pde
Last active May 10, 2024 00:03
A class that brings Robert Penner's easing functions into Processing
/*
* Easing.pde - brings Robert Penner's easing functions into Processing
* (c) 2015 cocopon.
*
* See the following to learn more about these famous functions:
* http://www.robertpenner.com/easing/
*
* License:
* http://www.robertpenner.com/easing_terms_of_use.html
*/
@yoggy
yoggy / robot_sample.pde
Created January 6, 2014 09:35
how to use java.awt.Robot class in processing ...
//
// how to use java.awt.Robot class in processing ...
//
import java.awt.*;
import java.awt.event.*;
Robot robot;
PFont pfont;
Point save_p;