-
... 1072 = 10616832 // this is the mask for shift arrow key Three usage examples, direct and with helper methods isCaps, isShift, isCtrl, isAlt, isCmd, isNumPad, isHelp, isFun : ( w = Window .new.front; w.addFlowLayout; // direct, using bit fie ...
-
... 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. ...
-
... ndow with a graphical interface for an instance of ZPlane . Arguments: bounds A Rect indicating the bounds of the window holding the graphical interface. . close Close the gui associated with a particular instance of ZPlane . Inherited inst ...
-
... 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 ...
-
... Seconds 2 ASCII characters representing one numeric value Field 08 - Latitude Direction 1 ASCII character either N or S representing compass direction Field 09 - Longitude Degrees 2 ASCII characters representing one numeric value Field 10 - ...
-
... r((f.sampleRate * 0.333).roundUp)); f.close; w = Window("granular windows", Rect(800, 200, viewWidth + 4, 450)); u = UserView(w, Rect(2, 2, viewWidth, 400)).front; u.background = Color.gray(0.1); indexSl = EZSlider(w, Rect(2, u.b ...
-
... desired size and position where to display a JITGui. can be nil, a point, or a rect. JITGuis know their minimum size ( minSize), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least minSize. With ...
-
... 300, height= 300, w, wgrav, world, n= 10; //--world w= RedWindow("boids test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= Red ...