-
... pleaseWait; { var h,fb,f,w,val,space; window = f = GUI.window.new("::inspect::",Rect(440,500,1100,900)); f.view.background = Color.white; h = f.bounds.height - 50; w = f.bounds.width; menu = GUI.listView.new(f,Rect(3,0,200,h)); menu.font = ...
-
... c( \startCenter, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \startRadius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) ) .setSpec( \endCenter, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \endRadius, PointSpec( Rect(-200,-200,400,400), 0.1@0.1 ) );
-
... w, wgrav, world, n= 60, s= 1, f= 0.25; //--world w= RedWindow("boids 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.1, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel, ...
-
... , height= 300, w, wgrav, world, n= 20; //--world w= RedWindow("collision test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.6); //dim,grav ...
-
... .isNil, { numIns = 4; }, { numIns = 2 * argExtraArgs[0].asInteger; }); bounds = Rect(200, 200, max(250, 50 + (20 * numIns)), 150); ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bounds, numIns, numOuts, argCanvasXY).ini ...
-
... av, world, n= 50, minDist= 50, cnt= 0; //--world w= RedWindow("distance lines", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.001]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.5); //dim,g ...
-
... the bottom right corner, the view can be magnified or de-magnified. Bounds is a Rect indicating the dimensions of the graphical interface. close If a Z-plane graph gui is open, close it. Examples // Creating a new instance of ZPlane. ( // C ...
-
... . 9) Click '||' to stop playing, if you wish. 10) Click '^', enter a writable directory and hit Return. (current slider recordings are saved to that directory) 11) Restart your computer ;) (just for illustration) 12) Relaunch below code, cl ...
-
... indow .new.front ( w.drawHook = { Pen .use { t.stroke; Color .red.set; Pen .fillRect( Rect (100,100,4,4)); Color .green.set; Pen .fillRect( Rect (0,0,4,4)); } }; w.refresh; ) f = { |turtle, length = 100, depth = 1| if (depth <= 0, { turtle. ...
-
... var width= 511, height= 800, scpsHeight= height-20; var win= Window("openbci", Rect(2, 100, width, height)).front; var scp= ScopeView(win, Rect(0, 0, width, scpsHeight)); StaticText(win, Rect(0, scpsHeight, 50, 20)).string_(""++binSize.rou ...