Text arranged along a curve with transparency

Nov 25, 2013 at 12:07pm

Text arranged along a curve with transparency

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.

#273759
Nov 26, 2013 at 2:59pm

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>

#273855
Dec 16, 2013 at 1:07am

this is amazing !

#275829

You must be logged in to reply to this topic.