Recursion Function or something different?

No recursion needed

Just make a while loop (or use draw() itself), duplicating the String and half the size and add something to x value for text() every time

Repeat until x>height

Duplicate:
Eg. myText =
myText+myText;

See

https://processing.org/reference/textAscent_.html

1 Like