Jit.gl.text along jit.gl.path.

Martin Daigle's icon

Is it possible to draw 3d jit.gl.text along paths? I am hoping to have text flow down a spiral shape. I was thinking that perhaps, using the jit.gl.path, I would be a good way to acomplish this....

Let me know you have any tips on this matter! help me make my dreams come true! Thanks!

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

I'd recommend looking at jit.gl.textmult in conjunction with jit.mo.* matrix animators. You can get an animated spiral going pretty easily. Unfortunately the "Enable Global Context" feature breaks the current version of textmult, so you need to disable that in the Max Preferences, Jitter section, to get this working. We are aware of this, and this will be fixed in a future update.

jit.mo-spiral-textmult.maxpat
Max Patch



Martin Daigle's icon

Hey Rob, amazing as always.

I love your version, and it works well on my end with glcore, and global context off.

I added a little follow up patch, to show a more detailed description of what I would hope to achieve with this spiral text patch. I have a suspicion that elements of a list will not be able to bend, along a path.

Do you think this is possible?

Cheers,

Max Patch
Copy patch and select New From Clipboard in Max.

TFL's icon

I wanted to give it a try, building on top of what Rob did.

You are right that an entire symbol won't bend to follow the path. So the solution is to break each word into single letters. Even spaces should become elements of the list.

Then, orientating the letters toward the center was a matter of a bit of trigonometry, with the help of [cartopol] (see inside [jit.gen]).

Max Patch
Copy patch and select New From Clipboard in Max.