Bending Text ?

For general discussion related FlowStone
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Bending Text ?

Post by tulamide »

Another two weeks have past. No text bending tool. I start to think, that you have a big mouth but never deliver.
"There lies the dog buried" (German saying translated literally)
ChrisHooker
Posts: 55
Joined: Tue Jul 13, 2010 10:02 pm

Re: Bending Text ?

Post by ChrisHooker »

I'm a little late to the party here (been away from the forum for a while)... but I've worked up an example. Hope it fits the need.

Fair credit where credit is due: I started with wlangfor's elliptical guide... but gutted everything else from his schematic.
Hopefully he doesn't follow Gibson Guitar's example and try to sue for use of a shape!
Attachments
Curved Text.fsm
(15.38 KiB) Downloaded 973 times
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Bending Text ?

Post by Spogg »

OMG! That is simply AMAZING Chris. :ugeek:

I honestly thought this was impossible, certainly within FlowStone.

I looked into the schematic and simply have NO idea what’s going on, but it works and the configured options are wonderful.

Once again you’ve shown that someone with great skill and talent can achieve near miracles within FlowStone.

Very well done Sir!

Spogg
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Bending Text ?

Post by tulamide »

I do understand what's going on and would have done the same (just with Ruby). The only downside is the limitation on characters. Everything else is executed very well. I love it.
"There lies the dog buried" (German saying translated literally)
ChrisHooker
Posts: 55
Joined: Tue Jul 13, 2010 10:02 pm

Re: Bending Text ?

Post by ChrisHooker »

Thanks guys.

With respect to the limitation of characters, I've configured the schematic so that you can add as many characters as you want.
Where I have the 21 paste-synchronized "Angled Label" modules (Top > Curved Text > Curved Text > Curved Label), you can add more of these modules, and conintue connecting them the same way the existing ones are linked.
Attached is an example that goes up to 91 characters.

What I think is the biggest drawback to this schematic is that when stretching the ellipse out of round, I couldn't figure out math to get the characters to rotate accordingly - so as of now, they will stay rotated as if in a perfect circle. Hence my adding the "Character Angle" manual-adjustment array/text-box.
Attachments
Curved Text 2.fsm
(25.21 KiB) Downloaded 951 times
Last edited by ChrisHooker on Sun Jul 21, 2019 4:47 pm, edited 2 times in total.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Bending Text ?

Post by RJHollins »

This now reminds me ...

A module was made [I believe by NuBeat], that was a Gauge display around a knob.

I think it was done with Ruby.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Bending Text ?

Post by trogluddite »

Very cool, Chris - having it controlled by some knobs so that I can animate is the icing on the cake - I could happily play with it for hours!

You may not have realised it, but your little "Angled Label" module has been designed to work perfectly with the 'Draw Loop' primitive! (I only had to delete one Integer box so that the input index doesn't get incremented)...
Curved Text 2 Plus Draw Loop.fsm
(18.27 KiB) Downloaded 1002 times
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Bending Text ?

Post by tulamide »

ChrisHooker wrote:What I think is the biggest drawback to this schematic is that when stretching the ellipse out of round, I couldn't figure out math to get the characters to rotate accordingly - so as of now, they will stay rotated as if in a perfect circle. Hence my adding the "Character Angle" manual-adjustment array/text-box.

An ellipse is a circle whose sin and cos components are multiplied asynchronously. So for example, an ellipse that is twice as wide than it is high, has the effect of cos() * 1 and sin() * 0.5

Hope that helps?
"There lies the dog buried" (German saying translated literally)
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Bending Text ?

Post by RJHollins »

I found an example of NuBeat's Gauge that he posted a while back. [mostly RUBY]

Gauge - NuBeat-2.fsm
(171.84 KiB) Downloaded 1023 times
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Bending Text ?

Post by lalalandsynth »

This is awesome !
Post Reply