Slider

offonoll's picture

Hi! Now is the second time I have found that I want interact with some structure information, let's say that I want to sum data to an existing structure. So I made a slider sample to make it simplier. Are you planing to create a patch to do this? or it is an existing way to do this. but i am very interested on a structure index maths object, so we can pick elements and drag them.

The sample file, just works the 3 first sliders.

I will be glad to hear any idea.

Thank you so much guys!

PreviewAttachmentSize
off_Slider.qtz263.92 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

usefuldesign.au's picture
Re: Slider

I've often been considering some on screen control devices but never would have guessed it required such a big programming effort – well done there! As usual with QC, somebody else's code looks a little stranger than ones own for the same number of patches :| I'm referring of course to the Mouse detection Macro which looks like a good amount of effort went into resolving.

[ When I work in QC, it tends to be more of an iterative build up of code rather than top down breakdown of linear tasks or discrete objects. If this is normal, it explains the more complicated process of reading others' work that I encounter. I might post a separate thread about pseudo-coding for QC as it presents particular problems (for me at least) like passing data to the next frame that non-nodal languages may not encounter (not that I'm much of a programmer) ]

My only contribution to your question is that JS patch can perform maths on structures pretty easily once you get the hang of the syntax to handle the elements/items correct (I still have "why can't I just…" type questions unanswered about iterating thru keyed data items). Your example structure could be treated as an Array as well as a Object (Structure) type in JS. There's no matrix maths functions like some languages but it's easy enough to write the iterations yourself if you can produce a comp like this one. A custom patch would probably be faster though, certainly if Kineme write it.

offonoll's picture
Re: Slider

Its true that this is could be done simplier, there is no need to create a structure from Y mouse, also, Macro button detection, I have found it on quartzcompositions.com (search button) there are to much stuff there but it is a greate tool for any mouse area detection.

also would be greate to have some interface tools, ;)

usefuldesign.au's picture
Re: Slider

Yeah for programmer's they can combine with NIB and perhaps Quartz for all that. For mere tinkers like myself a 2D set of drawing tools and active interface elements would be nice as.

monobrau's picture
Re: Slider

This is my horizontal StickySliders, simple adjustable sliders/values. Feel free to use!

I'll share some more interface elements once i've got them sorted...

PreviewAttachmentSize
oneseconds_StickySlider_v011.qtz30.16 KB

leegrosbauer's picture
Re: Slider

Very nice! That Linear Value Translation qcClip from Hybrid Visuals, which you duly credit in the composition note, is a truly handy tool. Everybody should go have a look at that if they haven't already done so.

offonoll's picture
Re: Slider

There we go!!! DYNAMIC SLIDERS max10 units. (if you want more, just add more macros) Thank's again to Cwright!!!

I am also uploading it to the repository.

Enjoy!!

PreviewAttachmentSize
Off_SLIDER.qtz715.98 KB

waxtastic's picture
Re: Slider

Dasaq is doing all kinds of UI things. This is his slider http://dasaq.wordpress.com/2009/05/13/slider/

Check out the blog for tons of useful resources.

DanieleCiabba's picture
Re: Slider

ei... look at my slider... (old thing)

PreviewAttachmentSize
vuumeter.qtz.zip11.62 KB

leegrosbauer's picture
Re: Slider

spooky :-)

cybero's picture
Re: Slider

just picked up on this link - good pointer waxtastic

bernardo's picture
Re: Slider

uau thanks alot i will be using them alot... and vertical ones too... hugs bern