Forums > Jitter

Text arranged along a curve with transparency

November 25, 2013 | 12:07 pm

So I’m trying to get some text to display along a curve as you might find in an Illustrator Text to Path tool. Is it possible to simply add some sort of curve to a jit.gl.text3d object? I’ve looked all over the forums for an answer to this and will appreciate any pointers.


November 26, 2013 | 2:59 pm

there is nothing built-in that will do this, however you can roll your own tool using jit.path.
you need to put jit.gl.text3d into non-automatic mode. this will allow you to change the position of each letter.
a possible better solution is to use javascript or poly~ to manage multiple instances of gl.text3d.

you can create a curve using jit.path, and use the outputeval matrix to output a specific number of positions, equally spaced along the curve.

you can then iterate that matrix, and send those positions to gl.text3d, one for each letter.

basic patch to get you started below:
<code>

– Pasted Max Patch, click to expand. –

</code>


December 16, 2013 | 1:07 am

this is amazing !


Viewing 3 posts - 1 through 3 (of 3 total)