hi all,
i am extremely new to processing, as of a few hours. perhaps i’m jumping too quickly and trying to do something more complex without know the basics but I have been messing around with the code below. And what I want to do is use a txt file with about 121 sentences of different definitions of “architecture” as the input for this visualization. I’ve tried a few ways to incorporate loadStrings without any luck… any advice on how to incorporate it into this existing code?
Thank you in advance!
public void setup() {
frameRate(2);
size(3000, 2000, P2D);
fill(255);
}
public void draw() {
background(0);
for (int i = 0; i < 1000; i++) {
float x = random(width);
float y = random(height);
text("WHAT IS ARCHITECTURE?", x, y);
text("Architecture is definitely a political act. - Peter Eisenman", x, y);
}
if (frameCount % 10 == 0) println(frameRate);
}