Skip to content

Instantly share code, notes, and snippets.

View gcorallo's full-sized avatar

guido c gcorallo

  • Buenos Aires, Argentina
View GitHub Profile
@gcorallo
gcorallo / ofApp.cpp
Last active March 16, 2018 14:02
almost median filter.
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
img.load("img.jpg");
pix = img.getPixels();
pix2 = img.getPixels();
ind =0;
import processing.video.*;
Capture video;
PGraphics canvas;
PGraphics previo;
PShader diff;
int ww=320;
int hh=240;
void setup() {
size(ww*2, hh*2, P2D);
@gcorallo
gcorallo / linksCreativeCoding
Last active August 29, 2015 14:02
Links de la charla sobre Creative Coding del 16/06/2014 @LabGCBA
historia:
http://www.theatlantic.com/technology/archive/2013/01/the-never-before-told-story-of-the-worlds-first-computer-art-its-a-sexy-dame/267439/
http://dada.compart-bremen.de/
http://recodeproject.com/
http://www.demoscene.tv/
http://www.pouet.net/
http://www.net-art.org/
http://www.teleportacia.org/war/war.html
+teórico (txt):
@gcorallo
gcorallo / Twitter4j StreamAPI Processing
Last active December 29, 2015 04:38
Twitter4j StreamAPI Processing.
import twitter4j.conf.*;
import twitter4j.api.*;
import twitter4j.*;
ConfigurationBuilder cb;
void setup() {
size(100, 100);
background(0);
@gcorallo
gcorallo / ICCProfiles for PImage in p5
Last active December 26, 2015 06:19
ICC Profiles for PImage in Processing.
/*
ICC Profiles for PImage in Processing.
Press spacebar to switch between default and loaded profile (first time takes a while...)
*/
import java.awt.color.ColorSpace;
import java.awt.color.ICC_Profile;
import java.awt.color.ICC_ColorSpace;
import java.awt.image.ColorConvertOp;
import java.io.FileInputStream;