@d-healey here is the drawing function, I call this when I move the knobs.
function connect() { bg.setPaintRoutine(function(p) { p.setColour(0xFF6F6F6F); p.drawLine(oscFreq.getValueNormalized() * 114 + 27, oscFreqSlide.getValueNormalized() * 114 + 27, 105, 155, 1); p.drawLine(oscFreqSlide.getValueNormalized() * 114 + 27, oscFreqMacro.getValueNormalized() * 114 + 27, 155, 205, 1); p.drawLine(delayTime.getValueNormalized() * 114 + 27, delayTimeSlide.getValueNormalized() * 114 + 27, 265, 315, 1); p.drawLine(delayTimeSlide.getValueNormalized() * 114 + 27, delayTimeMacro.getValueNormalized() * 114 + 27, 315, 365, 1); p.drawLine(freqShifter.getValueNormalized() * 114 + 27, freqShifterSlide.getValueNormalized() * 114 + 27, 425, 475, 1); p.drawLine(freqShifterSlide.getValueNormalized() * 114 + 27, freqShifterMacro.getValueNormalized() * 114 + 27, 475, 525, 1); p.drawLine(wideFreq.getValueNormalized() * 114 + 307, wideFreqSlide.getValueNormalized() * 114 + 307, 105, 155, 1); p.drawLine(wideFreqSlide.getValueNormalized() * 114 + 307, wideFreqMacro.getValueNormalized() * 114 + 307, 155, 205, 1); p.drawLine(width.getValueNormalized() * 114 + 307, widthSlide.getValueNormalized() * 114 + 307, 265, 315, 1); p.drawLine(widthSlide.getValueNormalized() * 114 + 307, widthMacro.getValueNormalized() * 114 + 307, 315, 365, 1); p.drawLine(pan.getValueNormalized() * 114 + 307, panSlide.getValueNormalized() * 114 + 307, 425, 475, 1); p.drawLine(panSlide.getValueNormalized() * 114 + 307, panMacro.getValueNormalized() * 114 + 307, 475, 525, 1); }); }D