-
... grey(1.0 - lightness.round, 0.06); ~sliders = { |n = 1, prefix = "/1", oneBound(Rect(0, 0, 400, 50)), buttonExtent(Point(50, 50)), gap = 10, bcolor, bltColor, scolor, sltColor, sBkColor, startI = 0, nameStartI = 1| var out = Array(n * 5), t ...
-
... this; } init { |name, startPos| var countStream, step, window = SCWindow( name, Rect( 360, 10, 300, 100 ), false ); window.front; pos = startPos; pressed = (play: false, stop: false, return: false ); active = (play: false, stop: false, retu ...
-
... , 200]) w.background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(175.rand@175.rand, 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius ...
-
... ; layout.startRow; ActionButton(layout, "Timeline", { MxTimeGui(model).gui(nil, Rect(0, 0, 1000, 800)); }); ActionButton(layout, "Mixer", { MxMixerGui(model).gui(nil, Rect(0, 0, 1000, 500)); }); ActionButton(layout, "SynthiX", { SynthiX(mod ...
-
... com/physics/ ( var width= 400, height= 400; var win= Window("Random Arboretum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var node_size= 10/2; var edge_length= 20; var edge_strength= 0.2; var ...
-
... com/physics/ ( var width= 400, height= 400; var win= Window("Random Arboretum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var node_size= 10/2; var edge_length= 20; var edge_strength= 0.2; var ...
-
... hods FlowLayout. new ( bounds , margin , gap ) Arguments: bounds An instance of Rect . Normally set to the parent.bounds . margin An instance of Point . The horizontal and vertical inner margins, within which the parent's subviews are place ...
-
... ; //multiple RedMixGUIs are linked with SimpleController ( var w= Window("lkj", Rect(100, 200, 300, 300)); w.front; w.layout= VLayout(); a= RedMixStereo(20, 40, 0); b= Pbind(\degree, 0, \out, 20).play; c= Pbind(\degree, 4, \out, 40).play; a ...
-
... rid; this.prDrawValues; } prDrawValues { var caseSize = Point( super.interactionRect.width / thisValues.size, super.interactionRect.height / thisEntries.size ); var ratioOffset = min( caseSize.x * (1 - thisBoxRatio), caseSize.y * (1 - thisB ...
-
... ooseriff, shuffles, fillchance, stopchance; w = SCWindow("ThrashCutProc1 demo", Rect.new(200,200,300,150)); chooseriff=DDSlider( w, Rect.new(0,0,150,40), "chooseriff", 0, 3, 'linear', 1, 0); shuffles=DDSlider( w, Rect.new(0,50,150,40), "shu ...