» Drag (Value)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Drag (Value)

plugin

about

Again, this is so simple I'm not sure it hadn't existed before. Yet, here it is.
This let's you click/press and drag one or more values depending on one or more buttons.

Have fun, I made two versions, a binary version and a dynamic/source-code version. Whichever you like best. Personally I'm a fan of binaries so that's why you get that version. If anyone would have a look at my code and give me tips that'd be great :)

Future versions might include the "apple feature" a.k.a. inertia-based dragging.

/edit: better helppatch now

download

Drag (Value) (binary).zip
25.04.11 [14:25 UTC] by Grandchild | 931 downloads
v1.0 - Contains the .dll and the helppatch
Show 1 older revisions

Older Revisions

Drag (Value) (source).zip
25.04.11 [14:25 UTC] by Grandchild | 742 downloads
v1.0 - Contains the source code (.csproj, .cs) and the helppatch

bo27 25/04/2011 - 11:20

nice! thanks
but for me works only in vvvv/plugin folder. could you make it more relative?

Grandchild 25/04/2011 - 12:23

You mean the helppatch? I have no idea why it doesn't open on F1 when it's in the help folder. I think it should work from there but it doesn't. Anything that I missed?

kalle 25/04/2011 - 13:25

search the xml for all instances of the Drag-plugin:

<NODE componentmode="Hidden" filename="%VVVV%\plugins\Drag (Value).dll" managers="" nodename="Drag (Value)" systemname="Drag (Value)">

and change to

<NODE componentmode="Hidden" filename="Drag (Value).dll" managers="" nodename="Drag (Value)" systemname="Drag (Value)">

just delete the %VVVV%\plugins\ -thing.

nice plugin btw.
i used modules for this.

Grandchild 25/04/2011 - 14:03

Ah thanks kalle! Updated in a sec...

Yeah I used modules for that too so far, but this is one example that's much simpler (and thus presumably faster) in textual code than in graphical code.

u7angel 26/04/2011 - 14:08

nice helppatch btw.

tonfilm 17/08/2011 - 01:26

just had a look at the code and saw that you access the pin slices by doing a modulo by the pin slice count. no need for that, the ISpread<T> does this for you of course, its a real spread :)

anonymous user login

Shoutbox

~15d ago

~18d ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~24d ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~1mth ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/

~1mth ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/

~2mth ago

joreg: Talk and Workshop on February 15 & 16 in Frankfurt: https://visualprogramming.net/blog/vvvv-at-node-code-frankfurt/

~2mth ago

woei: @Joanie_AntiVJ: think so, looks doable