Skip to content

Instantly share code, notes, and snippets.

@errete
errete / 36.pde
Created January 19, 2014 20:29
processing.org code for the cover of http://8tracks.com/danielrt/36
int i, j, k; // loops
int pos[]= new int[2]; // last point of curve
color c[]={ // https://kuler.adobe.com/Delacroix-color-theme-3382641/
color(26, 56, 56),
color(63, 122, 81),
color(130, 163, 82),
color(209, 192, 98),
color(254, 190, 88),
};
PGraphics n36; // raster "36."
@errete
errete / 35.pde
Created January 17, 2014 20:37
code for the cover of http://8tracks.com/danielrt/35
int i, j, k;
float[] disp=new float[2]; // [0] = x displacement; [1] = y displacement
color[] c={
color(115, 221, 191),
color(184, 222, 83),
color(100, 193, 81),
color(21, 126, 77),
color(70, 69, 67)
};
PGraphics n35; // raster "35"
int i, j, x; // loops
color[] c={
color(234, 38, 92), // red
color(5, 130, 204), // blue
color(144, 204, 0), // green
color(254, 183, 0) // orange
};
PGraphics n34; // raster "33"
int gray; // color of current pixel
PFont fnt=createFont("HelveticaNeue-Bold", 54);
@errete
errete / portada_33.pde
Last active December 31, 2015 06:48
code for the cover of http://8tracks.com/danielrt/33
int i, j; // loops
color[] c={
color(234, 38, 92), // red
color(5, 130, 204), // blue
color(144, 204, 0), // green
color(254, 183, 0) // orange
};
int[] displacement=new int[2]; // [0=x; 1=y]
int sSize=8; // squares size
PGraphics n33; // raster "33"