This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

VL

French

VL is a new visual programming language supported in vvvv that combines dataflow paradigms with features from object-oriented programming. It builds directly to the .NET Intermediate Language and can also consume .NET libraries. vvvv and vl work together in harmony. Whenever you're stuck in vvvv with expressing a certain problem, VL can most likely help out. This greatly reduces the number of cases when you'll have to resort to C# as a fallback solution.

Features

Define a Particle with properties (position, velocity, radius) and a create (white), update (gray) and hittest (blue) operation

Datatypes

Besides primitive data types like String, Value, Color,... VL allows you to patch your own complex data-types with custom behavior and lets you create and manage dynamic instances of them.

Iterate over the Particles in a spread and keep those whose lifetime is < 100

Loop regions

In vvvv all looping is handled via automatic spreading inside the nodes. VL hands this power to the patcher which opens up a whole new world of possibilities.

Patch operations without specifiying a datatype for its inputs or outputs

Generics

Generic programming, the implementation of operations irrespective of the concrete data type used at runtime is widely supported in modern programming languages. In VL, however, it is the default, which is very useful for creating libraries that work for any data type.

Trigger the execution of a webrequest in an async region to not block the mainloop

Async Regions

Sometimes parts of a program take longer to compute but should not block the mainloop. For those scenarios VL has async regions. Anything inside them gets computed on a background-thread and reports its result when finished.

Decide at runtime whether to order by time or id

Delegates

In VL, operations can be passed over links. Like this a patch can invoke an operation at runtime that has not been explicitly specified before. A powerful pattern in modern programming that makes generic and modular patching a breeze.

Handle midi-events as they occur and only send controller messages to the midi-output (without touching the mainloop)

Observables

VL embraces observables to do event handling. This approach works well together with the dataflow paradigm and is very flexible.

Getting Started

VL is included with vvvv since version beta35. Here is what should get you going:

VL in use

A couple of nodes shipping with the vvvv library are already relying on vl internally. Here is an incomplete list, just to give you an idea:

  • Editing Framework (Cameras, Point- and BezierEditors)
  • Arduino/Firmata nodes
  • TUIO encoder and decoder nodes
  • Midi File Reader

anonymous user login

Shoutbox

~6d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~7d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~20d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/

~1mth ago

joreg: 6 session beginner course part 1 "Playground" starts November 4th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/