I'm trying to make a sketch that repeats the text entered into bgText across the background completely, the word REDACTED is then written over the top. After making the simple version, I tried to make a set of iterations to automate the process but have met with limited success. Can you help me?
Thanks
//Leave a space on both ends of the string
String bgText=" A ";
size(800, 600);
background(100, 100, 100);
fill(255);
PFont consolas = loadFont("Consolas-24.vlw");
textFont(consolas);
textSize(20);
int a = 0;
int b=0;
int c=100;
int d=120;
int e=0;
float f=textWidth(bgText);
int g=0;
int h=1;
// The code commented out creates the desired effect, un-comment and remove lines 54-63