This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// generateme.tumblr.com, 2016 | |
// idea by zach lieberman | |
// choose variant | |
int variant = 0; // 0 or 1; | |
void setup() { | |
size(800, 800); | |
background(0, 5, 25); | |
strokeWeight(0.8); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://generateme.tumblr.com | |
// Harmonograph with noise | |
// space - save | |
// click - change | |
float time; | |
float f1,f2,f3,f4; | |
float p1,p2,p3,p4; | |
float a1,a2,a3,a4; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generate RAW files which can be sonificated and then imported to IrfanView. | |
* generateme.tumblr.com, 2015, v0.1. | |
* erros? write generateme.blog@gmail.com | |
* | |
* To use it change lines: | |
* img = loadImage(<insert image filename here>); | |
* and | |
* makeRaw(<filename prefix>, <channel order or gray>, <bits per pixel>, <bits per 1st channel>, <bits per 2nd channel>, <bits per 3rd channel>); | |
* | |
* Details: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// STEP 2 | |
// FIND draw() FUNCTION AND ADD | |
// if (doBatch) { batchStep(); } | |
// NEAR THE END OF THE FUNCTION. | |
// FOR UNFAMILIAR PPL: THE END OF THE FUNCTION IS NEAR THE CLOSING (MATCHING) CURLY BRACKET | |
// HERE IS THE EXAMPLE: | |
void draw() { | |
// HERE IS SOMETHING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PImage img; | |
void setup() { | |
size(800,800); | |
background(255); | |
smooth(8); | |
// image size 300x300 | |
// http://hqwallbase.com/images/big/natalie_portman_actress_faces_grayscale_monochrome_wallpaper-9529.jpg | |
img = loadImage("natalie.png"); | |
img.loadPixels(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PImage img; | |
void setup() { | |
size(800,800); | |
background(255); | |
smooth(8); | |
// image size 300x300 | |
// http://hqwallbase.com/images/big/natalie_portman_actress_faces_grayscale_monochrome_wallpaper-9529.jpg | |
img = loadImage("natalie.png"); | |
img.loadPixels(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// shader example for Processing | |
// uniform - variables set in Processing sketch using shader.set() | |
// varying - variables set by Processing itself | |
// image to process | |
uniform sampler2D texture; | |
// mouse position normalized | |
uniform vec2 inp; | |
// vertex color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Object | |
// | |
// GenerateMe submission to MCCC Sep 2016 | |
// generateme.blog@gmail.com | |
// http://generateme.tumblr.com/ | |
// http://folds2d.tumblr.com/ | |
void setup() { | |
size(540, 540); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// generateme.tumblr.com | |
// mccc Nov 2016 | |
// the main idea: | |
// SOUND | |
// - generate sound with 8bit audio formula (concept: http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html) | |
// - left channel, values from formula, right channel reversed ulaw | |
// - equalize (more bass, less treble) | |
// - add delay | |
// - save as RAW 8bit signed, stereo, 24576 samples per second |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Noise3d Generator | |
// generateme.tumblr.com | |
// setup below | |
// - click to change object | |
// - move mouse to rotate | |
// - press space to save (image and obj file) | |
// - press + to zoom in | |
// - press - to zoom out |
NewerOlder