Skip to content

Instantly share code, notes, and snippets.

Ggil Ucoa aJulop

Block or report user

Report or block aJulop

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sport4minus
sport4minus / load_sequence.pde
Created Jun 23, 2012
load image sequence in processing
View load_sequence.pde
/**
* this code snippet can be used in the processing environment to load all images in a folder
* "input" in the sketches' data folder into an array of PImages.
* ideally, the images are sequentially named, like 0001.jpg, 0002.jpg etc.
* in this demo, te images are sequentially displayed.
*/
PImage[] imageSequence;
String[] imageFilenames;
void setup() {
@gre
gre / easing.js
Last active Jul 16, 2019
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
View easing.js
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
You can’t perform that action at this time.