• Home
  • Blog
  • Support

VDMX - MAC VJ SOFTWARE

  • Home
  • Blog
  • Support
  • Menu
Using "Random Walk" to change the color of the output.

Using "Random Walk" to change the color of the output.

Making a custom “Random Walk” data-source plugin for VDMX with Quartz Composer

March 30, 2018

Download the completed project file and sample plugin from this tutorial.

Though VDMX provides many plugins and built-in datasources to automate control of sliders, buttons and other interface controls, many people like to use their own algorithms to generate control information to use as part of their performance or installations.

One of the ways this can be accomplished is by making a custom plugin for VDMX using Quartz Composer or Vuo. Compositions placed in the VDMX assets folder under “plugins”.

In this tutorial we will look at using Quartz Composer to create a “Random Walk” value generator for VDMX. This composition can be downloaded and installed to be used as is, or as a starting point for your own more complex creations.

Tip: Check out related tutorial on making Color Mixer and Complimentary Color generator plugins with Quartz Composer.


Installing and Using The Random Walk Example

To begin, from within VDMX choose the “Open Assets Folder In Finder” and drag the “Random Walk” file into the plugins folder. compositions The composition will be available from the Workspace Inspector and any published outputs will be available as data-sources and video streams. As with other plugins, we can have multiple copies running at the same.

To control a parameter with the output from Random Walk works just like any other data-source. In most cases you can make this assignment by right-clicking on an interface control and selecting it from the appropriate sub-menu. The UI Inspector panel can also be used to configure an interface item to receive data from the composition and customize how it is applied.

The Random Walk plugin itself has two basic controls: Step Size (adjust the max amount the value can change) and the Wrap Mode (whether wrap around or bounce off the at the edges). Each of these can be set from the plugin control window


How The Random Walk Example Works

For those interested in how the Random Walk composition was created, in this second part we will open the file in the Quartz Composer Editor to take a closer look. When editing the composition, you can follow the provided notes for each section.

The process for a random walk involves four basic steps:

  1. Input maximum step size.
  2. Generate random numbers and accumulate.
  3. Apply wrapping function.
  4. Publish and visualize results.

The wrapping functions are used to convert the un-ranged random numbers into a 0 to 1 range that can be used by VDMX to control parameters. A sawtooth wave provides a wrap at edge, where as a triangle wave causes a reflection at the edge.

Additional parameters, such as adding a button to reset the accumulator back to its starting value, can be added using Input Splitter objects.

 


Notes:

Use the "Open Assets Folder in Finder" to locate the custom "plugins" folder.

Quartz Composer and Vuo plugins can be added from the Workspace Inspector.

Editing the "Random Walk" plugin in Quartz Composer.

In Intermediate, Plugins Tags Quartz Composer, Random Walk
← Posting Images to Twitter Using Processing and VDMXAnimating Properties of GLSL Shaders in VDMX →

Download VDMX6

Download VDMX6 Plus

Download VDMX5


ISF for Motion


Buy VDMX

Email / Support

Free Sample Clips

Free Utility Apps

Open Source

GLSL Shaders

Privacy Policy

FAQ


Recent Features

Featured
VDMX6 Update – Video Tracking, OCR, Scopes, Color Transfer and more!
VDMX6 Update – Video Tracking, OCR, Scopes, Color Transfer and more!
Who is SONICRIDER - Jurgen Winkel?
Who is SONICRIDER - Jurgen Winkel?
ISF for Metal – Now open source!
ISF for Metal – Now open source!
RestInPeace_QuartzComposer_Dead_Transparent.png
Sunsetting Quartz Composer in VDMX6
vdmx5_demo_project.png
Announcing VDMX6 and VDMX6 Plus!!!
Interview with Sarah GHP!
Interview with Sarah GHP!
Mapping Festival 2024 interview with Hiroaki Umeda
Mapping Festival 2024 interview with Hiroaki Umeda
Who is the legendary Sarah Landau?
Who is the legendary Sarah Landau?
Featured
Some techniques for drawing text in GLSL
Some techniques for drawing text in GLSL
Visualizing and adjusting color levels with the VDMX Scopes plugin
Visualizing and adjusting color levels with the VDMX Scopes plugin
Adapting the v002 Glitch Analog GLSL shader to ISF
Adapting the v002 Glitch Analog GLSL shader to ISF
Tracking faces, bodies, and hands with VDMX
Tracking faces, bodies, and hands with VDMX
Introduction to OCR & QR code capture in VDMX
Introduction to OCR & QR code capture in VDMX
Using Color Transfer FX & Segmented Color Transfer
Using Color Transfer FX & Segmented Color Transfer
Creating custom video FX for VDMX6 Plus with TouchDesigner
Creating custom video FX for VDMX6 Plus with TouchDesigner
Screenshot 2025-02-25 at 3.54.43 PM.png
Exploring the new Blur Faces and Face Overlay FX in VDMX
How to instantly remove backgrounds from video with VDMX
How to instantly remove backgrounds from video with VDMX

Top Posts

Automatic BPM Detection

The “Hap” Open Source Video Codecs for OS X

Multi-screen video mixing on a Macbook Pro

Creating a multi-channel live camera video sampler

Video Fundamentals Taught with VDMX Part 1


Tutorials by Topic

Quick Start

Basics

Intermediate

Technique

Templates

Data-Sources

MIDI / OSC / DMX

Quartz Composer

ISF