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
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
A graphic tool for easy creation/control of runtime graphics
19 posts
• Page 1 of 2 • 1, 2
A graphic tool for easy creation/control of runtime graphics
Ok, so, I made a post some days ago about the importance of runtime graphics (aka vector graphics), in preperation of FS 4, which allows you to resize your plugin freely during execution.
Ever since there is an idea in my head, and it doesn't want to vanish. Imagine this:
A tool much like Knobman, but for runtime graphics, usable in Flowstone (3.0.6+). Yes, I mean the whole thing, layers, coloring, shapes, shadows, etc. But of course without the animation strips, as they are not needed for runtime graphics. Instead a definition of what turns, slides, etc. to what degree and what it outputs.
How this would work? Well the tool would appear like a drawing tool, just like Knobman or maybe Paint, but under its surface it would translate the graphic elements to Ruby code, ready for you to copy/paste it into a blank RubyEdit. Just add the needed inputs and outputs (in most cases a view input and a value output), and the knob works right away.
IT is an idea in my head, yes, but a sophisticated one. I've gone through all stages of development it would require, and I'm pretty confident I could pull it off. I wouldn't dare to predict a time range, though.
But before I dive into it, I want some feedback. The more interest, the higher the chance that I realize it. If there are only 3 or 5 people interested, it definitely isn't worth the effort. Which means, if you're reading this, and were a silent lurker over the years and months, consider creating an account and expressing your interest. And all others too, of course.
Ever since there is an idea in my head, and it doesn't want to vanish. Imagine this:
A tool much like Knobman, but for runtime graphics, usable in Flowstone (3.0.6+). Yes, I mean the whole thing, layers, coloring, shapes, shadows, etc. But of course without the animation strips, as they are not needed for runtime graphics. Instead a definition of what turns, slides, etc. to what degree and what it outputs.
How this would work? Well the tool would appear like a drawing tool, just like Knobman or maybe Paint, but under its surface it would translate the graphic elements to Ruby code, ready for you to copy/paste it into a blank RubyEdit. Just add the needed inputs and outputs (in most cases a view input and a value output), and the knob works right away.
IT is an idea in my head, yes, but a sophisticated one. I've gone through all stages of development it would require, and I'm pretty confident I could pull it off. I wouldn't dare to predict a time range, though.
But before I dive into it, I want some feedback. The more interest, the higher the chance that I realize it. If there are only 3 or 5 people interested, it definitely isn't worth the effort. Which means, if you're reading this, and were a silent lurker over the years and months, consider creating an account and expressing your interest. And all others too, of course.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: A graphic tool for easy creation/control of runtime grap
Love when you have Ideas like that
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: A graphic tool for easy creation/control of runtime grap
Most definitely interested in something like this !
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: A graphic tool for easy creation/control of runtime grap
Yep, that's a thumbs up from me. Great idea
-
DaveyBoy - Posts: 131
- Joined: Wed May 11, 2016 9:18 pm
- Location: Leeds UK
Re: A graphic tool for easy creation/control of runtime grap
What were you planning on using for the drawing app? There's a lot of heavy lifting there if you go the DIY route...
I'd probably start with CorelDraw and a set of stock objects to derive the visuals, then use a VBA macro to back-translate the semantics to Ruby.
What is FS4 using for its default runtime graphics, SVG?
I'd probably start with CorelDraw and a set of stock objects to derive the visuals, then use a VBA macro to back-translate the semantics to Ruby.
What is FS4 using for its default runtime graphics, SVG?
I keep a pair of oven mitts next to my computer so I don't get a concussion from slapping my forehead while I'm reading the responses to my questions.
- deraudrl
- Posts: 239
- Joined: Thu Nov 28, 2019 9:12 pm
- Location: SoCal
Re: A graphic tool for easy creation/control of runtime grap
There is already something similar made by "stw" from long ago.
- Attachments
-
- SM Knob Maker V2.5.01.osm
- (1.12 MiB) Downloaded 1043 times
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: A graphic tool for easy creation/control of runtime grap
It sounds like a fascinating and potentially very useful idea. I love the idea of the thing actually compiling Ruby code (if I understood correctly).
For me it would have to be easy to understand and use, otherwise I would doubtless stick with what’s familiar to me (my failing, I know).
Just out of interest, would this be running in FS or be a separate app, like Knobman?
For me it would have to be easy to understand and use, otherwise I would doubtless stick with what’s familiar to me (my failing, I know).
Just out of interest, would this be running in FS or be a separate app, like Knobman?
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: A graphic tool for easy creation/control of runtime grap
This is something I would use.
Image Line has something like this for "Control Surface" in FL Studio. Take a look and check out the concepts for the aesthetics.
Image Line has something like this for "Control Surface" in FL Studio. Take a look and check out the concepts for the aesthetics.
- JWP
- Posts: 22
- Joined: Wed May 27, 2020 1:26 am
Re: A graphic tool for easy creation/control of runtime grap
I think we discussed Rlottie at some point , I dont know if you want to build this from the ground up but something like that would be great , so you could design in maybe illustrator and then bring into FS , but maybe thats even more work then just building it ?
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: A graphic tool for easy creation/control of runtime grap
I really like the input from you guys. But to not start any false hopes, I will go into more detail about what's possible and what not.
- There won't be any import of any kind of vector format, not even svg. I already stated that writing an SVG parser is a task I can not pull off. There simply is way too much I would need to consider (SVG supports some very tricky stuff) and supporting only a subset would inevitably lead to inconsistencies, bugs and glitches.
- The tool will not be a bridge to outer sources. It won't enable you to access material that you can find online. See above.
- The tool will "simply" use Ruby and it's drawing capabilities (that are based on GDI+). The goal is to take away the pain of actually programming those drawing capabilities. Instead of
- The tool will have its own ecosphere. As with all things created with Flowstone it will end up having one main view. Personally I prefer to have it exported as an exe and run it seperately, because that would take the load away from Flowstone. But that's your decision. You can just as well copy it into your project and create the knobs from there. It only has disadvantages, though.
@Adam
Thank you for the example. The basic concept is indeed similar, but it's approach is very different. It is realised in green. It is very restricted in terms of design of the knob and it always renders an animated bitmap strip. My tool relies on Ruby. My tool will not be bitmap based! The whole goal is to get away from bitmaps!
@JWP
Thanks for the tip with "control surface". Just to make absolutely sure: My tool would not allow you to create a whole GUI. Just one knob at a time. Also at start I will concentrate on knobs, but I have in mind to create other controls too, like sliders, switches, etc. I just don't know how much time it would take, so at first it's knobs only.
Please continue commenting, It helps me clear my mind and get new ideas regarding the realisation, like the control surface thing did.
- There won't be any import of any kind of vector format, not even svg. I already stated that writing an SVG parser is a task I can not pull off. There simply is way too much I would need to consider (SVG supports some very tricky stuff) and supporting only a subset would inevitably lead to inconsistencies, bugs and glitches.
- The tool will not be a bridge to outer sources. It won't enable you to access material that you can find online. See above.
- The tool will "simply" use Ruby and it's drawing capabilities (that are based on GDI+). The goal is to take away the pain of actually programming those drawing capabilities. Instead of
- Code: Select all
def init
@black = Color.new(0)
@pen = Pen.new(@black, 0.375)
end
def draw(view)
view.drawEllipse(@pen, [0, 0, 15, 15])
end
- The tool will have its own ecosphere. As with all things created with Flowstone it will end up having one main view. Personally I prefer to have it exported as an exe and run it seperately, because that would take the load away from Flowstone. But that's your decision. You can just as well copy it into your project and create the knobs from there. It only has disadvantages, though.
@Adam
Thank you for the example. The basic concept is indeed similar, but it's approach is very different. It is realised in green. It is very restricted in terms of design of the knob and it always renders an animated bitmap strip. My tool relies on Ruby. My tool will not be bitmap based! The whole goal is to get away from bitmaps!
@JWP
Thanks for the tip with "control surface". Just to make absolutely sure: My tool would not allow you to create a whole GUI. Just one knob at a time. Also at start I will concentrate on knobs, but I have in mind to create other controls too, like sliders, switches, etc. I just don't know how much time it would take, so at first it's knobs only.
Please continue commenting, It helps me clear my mind and get new ideas regarding the realisation, like the control surface thing did.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
19 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot] and 63 guests