Generates an algorithmic 3D OBJ file with ThreeJS and Node.js.
# print to stdout
node generate-mesh.js > test.obj
# write to file
node generate-mesh.js test.obj
// F E I G E N B A U M | |
// G R O W T H | |
float f = 3; // we have to start with some kind of seed, and ~3.4 is where things get interesting | |
float x = -2; // start it a little off screen | |
float y = 0.85; // again, a seed value is needed to actually see anything | |
void setup() { | |
size(800,800); | |
pixelDensity(displayDensity()); | |
smooth(); |