-
... akeNameView(400, 20); }; this.name_("Influx ..."); leftTopV = HLayoutView(zone, Rect(0, 0, zone.bounds.width, 240)) .background_(Color.green.alpha_(0.2)); leftButtonV = VLayoutView(leftTopV, Rect(0, 0, zone.bounds.width * 0.375, 240) ); rig ...
-
... akeNameView(400, 20); }; this.name_("Influx ..."); leftTopV = HLayoutView(zone, Rect(0, 0, zone.bounds.width, 240)) .background_(Color.green.alpha_(0.2)); leftButtonV = VLayoutView(leftTopV, Rect(0, 0, zone.bounds.width * 0.375, 240) ); rig ...
-
... a sliding handle. It can have horizontal or vertical orientation, meaning the direction in which the handle moves. Class Methods Slider. new ( parent , bounds ) When a new Slider is created, its -orientation is determined by the initial siz ...
-
... !q.numOscs; var ampState = 0!q.numOscs; q.win = Window.new("FM Matrix", Rect(100, 100, q.numOscs * 30, 800)).decorate.front; StaticText(q.win, Rect(10, 10, 200, 20)).string_("modIndex"); q.win.view.decorator.nextLine; q.numOs ...
-
... 0.15], // tweak it to get more or less dense pattern grid task, resolution, direction, pos = 0, step = 1, border = 1, dims = [16,16]; // tweak dims to change size of grid w = Window("rand-n-step+", Rect(50,250,dims[0]*22+10+250,dims[1]*2 ...
-
... PenLineTo(_) )) } render { Pen.moveTo(startPoint); steps.do( _.render ); } } PenRect : PenShape { var rect; *new{ |rect| ^super.newCopyArgs(rect) } render { Pen.addRect(rect) } } PenOval : PenShape { var rect; *new{ |rect| ^super.newCopyArg ...
-
... PenLineTo(_) )) } render { Pen.moveTo(startPoint); steps.do( _.render ); } } PenRect : PenShape { var rect; *new{ |rect| ^super.newCopyArgs(rect) } render { Pen.addRect(rect) } } PenOval : PenShape { var rect; *new{ |rect| ^super.newCopyArg ...
-
... .0, 1.0, 0.1, 0.1, inf); c = a.asStream.nextN(500); w = Window.new("Pbetarand", 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 ...
-
... he dictionary lastStateNum = params[3]; win = GUI.window.new("- polymachine -", Rect(point.x, point.y, 760, tracks*62), resizable:false); indexBoxArray = Array.fill(tracks, {arg i; BoxGrid.new(win, bounds: Rect(260, 10+(i*60), 16*30, 12), c ...
-
... == 27, {~animate.stop;~mainRoutine.stop;win.close;}) }); StaticText(win, Rect(60,634,384,48)) .font_(Font(Font.defaultSansFace, 36)) .stringColor_(Color.gray(0.8)) .string_("input signal") .align_(\center); StaticText(win ...