-
... 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] * ...
-
... // 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 ...
-
... , 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 ...
-
... ; (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/ ...
-
... g to server } initialize { view = view ?? { window = SCWindow.new("JInT Wacom", Rect(1000,0, 440, 370)).front; window.onClose({notInitialized = true}); view = SC2DTabletSlider(window, Rect(10,10,420, 350)).resize_(5); }; view.background = C ...
-
... dow.isNil or:{ window.isClosed }) { window = Window("edit temporary shortcuts", Rect( Window.screenBounds.width/2-249, Window.screenBounds.height/2-193, 498, 385 )); tabs = TabbedView2(window, Rect(0, 1, window.bounds.width, window.bounds.h ...
-
... ost window. Arguments: window A Window in which to place the TextView. bounds A Rect for the TextView font A Font. qpalette A QPalette. * window ( name: "Window into your code" , bounds , font , qpalette ) Create a new Window with the TextV ...
-
... rgMargin| clothesline = argClothesline; name = argName; bounds = argBounds ?? { Rect(20, 30, 800, 300) }; margin = argMargin ?? { 30 @ 30 }; timeStep = argTimeStep; backgroundColor = Color.black; foregroundColor = Color(1, 0.8, 0.2); deacti ...
-
... rav, world, n= 40, rule, px= 0, py= 0; //--world w= RedWindow("agents test ca", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.08]; //world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= R ...