Carriage returns in jit.gl.text2d

Mar 16, 2010 at 11:45pm

Carriage returns in jit.gl.text2d

Howdy,
Can anyone tell me how to create carriage returns in jit.gl.text2d?
Ultimately I want one word per line. Is it a matter of somehow converting the text to a matrix? I notice the help patch says “each row of the matrix is interpreted as one line of text.”
baz

#49193
Mar 16, 2010 at 11:48pm

Acshully, I think I may have found the answer:

http://cycling74.com/forums/topic.php?id=3171

#176719
Mar 17, 2010 at 12:29am

Just in case anyone ever wants to do this, this is what I came up with:

– Pasted Max Patch, click to expand. –
#176720

You must be logged in to reply to this topic.