-
... w = Window("module", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[], ysl = Set[]; var sliders, twod; var update = { |index, val| sliders[index].value = val; module.theta[index] = val ...
-
... y, only subclasses of JITGui are used, // so here are just some basic usage and layout tests // make its own window - defPos, minSize is used g = JITGui(Ndef(\a)); // make its own window, specific size g = JITGui(Ndef(\a), bounds: 390@20); ...
-
... = 0; urlBox.background = Color.red(1, 0.2); }; browser = View(bounds: 900@700).layout_(VLayout( HLayout( prev, reloadStop, next, urlBox, go ), webview )); browser.front; urlBox.valueAction = "http://supercollider.github.io/" ) ⧉ ✔ helpfile ...
-
... (0.65); w = Window("Let's do the time warp", Rect(800, 200, 600, 450)).front; w.layout = VLayout( HLayout( goButton = Button().fixedWidth_(60), VLayout( HLayout( StaticText().fixedWidth_(80).align_(\center).string_("curve"), curveNum = Numb ...
-
... db.asSpec; w = Window("orbital volume", Rect(240, 240, 300, 500)).front; w.view.layout = HLayout(*~dirt.orbits.collect { |x| var val = spec.unmap(x.get(\amp).ampdb); Slider().value_(val).action_({ |v| x.set(\amp, spec.map(v.value).dbamp.pos ...
-
... tions that will lay out the plots for you: ( var genCol, getPlotLay, multiPlot, layOutPlots, plotSpecs; // generate colors for each plot genCol = { |num, offset=(rrand(0,1.0)), range=(rrand(0.15,1.3))| num.collect { |i| Color.hsv(((i/(max(n ...
-
... Font.default.copy.size_(32), boldFont = font.boldVariant, controller, task; win.layout = HLayout( StaticText().font_(font).string_("Peers:"), peersBox = NumberBox().font_(boldFont).align_(\center).fixedWidth_(80), StaticText().font_(font).s ...
-
... dict with elements for \on and \off, and proper shared info including some gui layout information. // the element description ~onoffgroup = MKtlDesc.notePair( \bt1, 12, (elementType: \button, spec: \midiBut)); // in a dict ~descdict = (idI ...
-
... n this demo we create an array of 8 loudspeakers in the GUI in the "Loudspeaker Layout section. Once done, the desired decoder order is entered in the Calculate Decoder section and calculated with the button below it. The decoder and speake ...
-
... r customization ( w = Window("Influx control", Rect(0, 630, 300, 200)).front; w.layout = VLayout( HLayout( VLayout( StaticText(w, 190@20).string_("Change weights:"), Button(w, 190@20).states_([["set to diagonal"]]) .action_({ a.setwPre(\dia ...