-
... RedFingerprint(Env.perc(0.3, 0.3, 1, -2).asSignal); win= Window("fingerprint", Rect(100, 100, width, height), false).front; usr= UserView(win, Rect(0, 0, width, height)); usr.drawFunc= { Pen.translate(width*0.5, height*0.5); Pen.strokeColo ...
-
... this when using WsLayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) ...
-
... values. Click '||' to stop playing, if you wish. Click '^', enter a writable directory and hit Return. (current slider recordings are saved to that directory) Restart your computer ;) (just for illustration) Relaunch below code, click '... ...
-
... ethods Examples Basic use ( var window; var slider; window = Window("2DSlider", Rect(100,100, 140 ,140)); window.front; slider = TabletSlider2D(window, Rect(20, 20,80, 80)) .x_(0.5).y_(1); slider.mouseDownAction = { arg view,x,y,pressure,ti ...
-
... t(*a.collect { |x| VLayout(*x) }); ) ( w = Window().front; a = { { PopUpMenu(w, Rect(0, 0, 50, 20)).items_({"abcdefghijklmno".scramble.keep(3)} ! 7) } ! 10 } ! 10; w.layout = HLayout(*a.collect { |x| VLayout(*x) }); ) ( w = Window().front; ...
-
... t(*a.collect { |x| VLayout(*x) }); ) ( w = Window().front; a = { { PopUpMenu(w, Rect(0, 0, 50, 20)).items_({ "abcdefghijklmno".scramble.keep(3) } ! 7) } ! 10 } ! 10; w.layout = HLayout(*a.collect { |x| VLayout(*x) }); ) ( w = Window().front ...
-
... = Plprand(0.0, 1.0, inf); c = a.asStream.nextN(500); w = Window.new("Plprand", Rect(10, 10, 540, 800)); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bo ...
-
... = Phprand(0.0, 1.0, inf); c = a.asStream.nextN(500); w = Window.new("Phprand", Rect(10, 10, 540, 800)); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bo ...
-
... xtendable handle. It can have horizontal or vertical orientation, meaning the direction in which the handle moves and extends. Dragging the mouse pointer on either end of the range moves the end by itself. Dragging in the middle of the rang ...
-
... meanrand(0.0, 1.0, inf); c = a.asStream.nextN(500); w = Window.new("Pmeanrand", Rect(10, 10, 540, 800)); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bo ...