-
... s c = CV([0!5, 10!5].asSpec) ( w = Window("CVSyncText"); m = MultiSliderView(w, Rect(0, 0, w.bounds.width, w.bounds.height*2/3)) .size_(5).indexThumbSize_(w.bounds.width/5).isFilled_(true); t = TextView(w, Rect(0, w.bounds.height*2/3, w.bou ...
-
... ymbol; ^out; } asWFSPathArray { ^this } edit { WFSPathEditor.addAll( this ) } asRect { var outRect; outRect = ( this[0] ? Rect(0,0,0,0) ).asRect; this.do({ |wfsPath| outRect = outRect.union( wfsPath.asRect ); }); ^outRect; } plotSmooth { |l ...
-
... Color = Color.gray(0.4); var extent = 40; Pen.strokeColor = Color.black; Pen.addRect(Rect(0, 0, me.bounds.width, me.bounds.height)); Pen.stroke; tServer.visibleObjs.do{|obj| Pen.use{ Pen.translate( obj.pos[0] * me.bounds.width, obj.pos[1] * ...
-
... ounds, env, pointsPerSegment) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. env - The envelope. An instance of Env . pointsPerSegment - The resolution in points per segment. Default value is 10 ...
-
... // use ScatterView in MathLib to show interpolated points ( w = Window (bounds: Rect (40, 40, 800, 800)).front; a = ScatterView (w, Rect (10, 10, 760, 760),b.interpolate(20), ControlSpec (0.0,5.0), ControlSpec (0.0,5.0)); a.drawAxis_( true ...
-
... erical waves. Spherical waves apply nearfield filters to account not only for directions but also for the distance of sound sources. For the correct use of the distance filters, which are unstable by nature, take care about the distance par ...
-
... , b; var lane; lane = parent.comp({ arg l; s = l.vert({ arg s; side.value(s) }, Rect(0, 0, sidebarSize, laneHeight)); m = FlowView(l, Rect(sidebarSize+gap, 0, width - sidebarSize - gap, laneHeight), 0@0, 0@0); main.value(m); }, Rect(0, 0, w ...
-
... { "shift option down".debug; }); w = GUI.window.new.front; v = GUI.slider.new(w,Rect(10,10,100,100)); v.keyDownAction = k; v.focus; ) ⧉ ✔ Use this to post the codes: ( UnicodeResponder.tester ) //it prints a code template for you: // shift ...
-
... ; (wxyz.size != 4).if({ "WXYZ array is not four channels - decoding may be incorrect".warn; }); bfMonitorChans = wxyz; #bfw, bfx, bfy, bfz = wxyz; } startBfMonitor { bfMonitorMode = true; bfMonitor = BFMonitor(bfw, bfx, bfy, bfz, bfMonitorO ...
-
... e prMake {|parent, bounds| var m; args= args ?? {(num: 1)}; bounds= (bounds ?? {Rect(0, 0, defaultWidth, defaultHeight*args[\num])}).asRect; m= RedMultiSliderView(parent, bounds); m.indexIsHorizontal= false; m.indexThumbSize= bounds.height/ ...