# How would I create a virtual cabling system?

I am trying to devise a GUI system that functions as a virtual patchbay, as seen in something like Logic Studio's environment editor, or seen in virtual synthesizers that use virtual patchcables.

I'm not much of a coder, so I've been experimenting with LiveCode.

The challenge seems to be part code, part graphical. I can't even fathom how a system like that works. What bitmaps should I produce (if any) and how should they be manipulated in code?

Any assistance would be greatly appreciated.

Once you have an equation that gives you a point along the curve as a function f(t) = (x,y), where t is in the range [0,1], you can draw it the same way you would any other parametric curve: step along the function from 0 to 1 in small increments, drawing individual line segments from the value of f at the previous increment.