Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

Bending Text ?

For general discussion related FlowStone

Re: Bending Text ?

Postby wlangfor@uoguelph.ca » Mon May 20, 2019 12:40 pm

tulamide wrote:
wlangfor@uoguelph.ca wrote:OK, so working on this and it should be fairly featured.

I'm making sure that everything is vector based so that it is not so difficult to position etc. I was thinking though; Odds are You want this to spin? I guessed based on the image you provided.

If so, I'll either use ruby to make it all spin or I will provide a bitmap saver which is automatic and then which in turn can make it spin at Your desired speed.

It's a nice effect and while I feel trigonometry would be more accurate to effectively decide the plane for other sphere styles at least this can handle square ones. Though perhaps due to to it being vector in nature it would work either way? Assuming I added some extra math I suppose.

Will let You know when it is done.

I'm awaiting it eagerly. A real time font bending engine would be great! With all my knowledge I couldn't find a way to realize it. Only with bitmaps, which of course is too CPU heavy, and negates the purpose of realtime vector drawing. So that will come in handy.


OK, this is how far I have gotten and today i will finish. It comes down to using the circumference of the circle and then a new function which automatically reduces spacing, based upon those values it updates every angle etc.

Seems bulky, but it's designed to make an image afterall.

thanks to MyCo for his angled text label module btw.
Attachments
new rounded text v6.fsm
still stright but in the beginning
(3.54 KiB) Downloaded 173 times
Download VST: LA Bands 15 Band EQ
My Website http://www.leattol.com
User avatar
wlangfor@uoguelph.ca
 
Posts: 612
Joined: Tue Apr 03, 2018 5:50 pm
Location: Penetanguishene, Ontario, Canada

Re: Bending Text ?

Postby wlangfor@uoguelph.ca » Mon May 20, 2019 12:42 pm

lalalandsynth wrote:This will be amazing .

On another note , could something be made that would have a similar effect as the font , "Sharp" "Crisp" etc in Photoshop ? Its very annoying to have the PS fonts and FS fonts be different , namely the FS fonts being fuzzy.

Dont know if its possible , probably not , just thought I would mention this issue.


that's a font subtype, if it was was; it would be through ruby. Arial for instance has a few different renders. There's also the case of gems in ruby. I'm guessing there's a gem which can render that.

I'll look into that.
Download VST: LA Bands 15 Band EQ
My Website http://www.leattol.com
User avatar
wlangfor@uoguelph.ca
 
Posts: 612
Joined: Tue Apr 03, 2018 5:50 pm
Location: Penetanguishene, Ontario, Canada

Re: Bending Text ?

Postby wlangfor@uoguelph.ca » Thu May 23, 2019 3:24 am

btw, I figured it out. It's a lot easier than I had thought.

Basically maybe You could have a loop assuming it's connected to a module with an mgui inside. Not sure if that's possible; but otherwise multiple module which are turned off and inactive if not within the range of the automatic letter array count. Ok, so next is choosing the height for them being square.

So, making sure the height for them is exactly 100% of the container and the width is the same each one is rotated based on angle in sequence like a red hot shili peppers logo, or a simple snowflake.

This might even be an idea that would rotate as well. but like photoshop, as You'd mentioned You could always save an image smoothed and unsmoothed and use alpha to mix those 2. Decidedly in different opacity and mixes those might be very similar to PS.

Anyways, I'd been meaning to finish this. I've been working on some pop that I want to eventually add to My portfolio. eventually I want to do soundtracks:

Image
Download VST: LA Bands 15 Band EQ
My Website http://www.leattol.com
User avatar
wlangfor@uoguelph.ca
 
Posts: 612
Joined: Tue Apr 03, 2018 5:50 pm
Location: Penetanguishene, Ontario, Canada

Re: Bending Text ?

Postby tulamide » Tue May 28, 2019 6:07 pm

Did you give up?
tulamide
 
Posts: 2038
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Bending Text ?

Postby lalalandsynth » Tue May 28, 2019 6:51 pm

As for the text rendering there is the v.setTextRenderingHint for Ruby .

Or like this .
def draw v
# Set alignment
v.setTextRenderingHint @trh

# Draw Background
v.drawRectangle Brush.new(Color.new(255)), @area if @bg

# Draw the label
v.drawString @label, @font, @sf, @area,(Brush.new @color)

end

def event i,v
redraw 0
end
Last edited by lalalandsynth on Tue May 28, 2019 10:32 pm, edited 1 time in total.
User avatar
lalalandsynth
 
Posts: 518
Joined: Sat Oct 01, 2016 12:48 pm

Re: Bending Text ?

Postby wlangfor@uoguelph.ca » Tue May 28, 2019 9:00 pm

OOh, I'll try it thanks.

lalalandsynth wrote:As for the tect rendering there is the v.setTextRenderingHint for Ruby .

Or like this .
def draw v
# Set alignment
v.setTextRenderingHint @trh

# Draw Background
v.drawRectangle Brush.new(Color.new(255)), @area if @bg

# Draw the label
v.drawString @label, @font, @sf, @area,(Brush.new @color)

end

def event i,v
redraw 0
end
Download VST: LA Bands 15 Band EQ
My Website http://www.leattol.com
User avatar
wlangfor@uoguelph.ca
 
Posts: 612
Joined: Tue Apr 03, 2018 5:50 pm
Location: Penetanguishene, Ontario, Canada

Re: Bending Text ?

Postby lalalandsynth » Tue May 28, 2019 10:31 pm

Btw , you should plug these string values into the @trh via an index selector or something.

off,singleBitPerPixelGridFit,singleBitPerPixel,antiAlias,antiAliasGridFit,ClearTypeGridFit
User avatar
lalalandsynth
 
Posts: 518
Joined: Sat Oct 01, 2016 12:48 pm

Re: Bending Text ?

Postby wlangfor@uoguelph.ca » Wed May 29, 2019 3:23 am

lalalandsynth wrote:Btw , you should plug these string values into the @trh via an index selector or something.

off,singleBitPerPixelGridFit,singleBitPerPixel,antiAlias,antiAliasGridFit,ClearTypeGridFit


will do :)
Download VST: LA Bands 15 Band EQ
My Website http://www.leattol.com
User avatar
wlangfor@uoguelph.ca
 
Posts: 612
Joined: Tue Apr 03, 2018 5:50 pm
Location: Penetanguishene, Ontario, Canada

Re: Bending Text ?

Postby tulamide » Mon Jun 10, 2019 12:06 am

Another two weeks, and still no bending of text :(
tulamide
 
Posts: 2038
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Bending Text ?

Postby wlangfor@uoguelph.ca » Mon Jun 10, 2019 2:14 am

tulamide wrote:Another two weeks, and still no bending of text :(


Oh, well I thought this was possible with Ruby? OK, I'll finish this, sorry.
Download VST: LA Bands 15 Band EQ
My Website http://www.leattol.com
User avatar
wlangfor@uoguelph.ca
 
Posts: 612
Joined: Tue Apr 03, 2018 5:50 pm
Location: Penetanguishene, Ontario, Canada

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 11 guests

cron