-
... ].do({ |i,j| (time/dt).asInteger.collect{ i.next }.plot(i.class.asString,bounds:Rect(0,200*j,600,200),minval:min,maxval:max)}); r = 6.collect{ c.next.round(0.000001) }; ) //checks out with http://people.revoledu.com/kardi/tutorial/ODE/Compa ...
-
... ight= 500, w, world, n= 20; //--world w= RedWindow("phase coupled oscillators", Rect(0, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], nil, inf, 0); //dim,grav,maxvel,damp //--init objects n.do{ RedOscillator(world, ...
-
... t(i))}); num= names.size; w = SCWindow("BBCutProc11 demo N.M.Collins 23/08/03", Rect.new(100, 500, 500, (30*num))); string= Array.fill(num); slider= Array.fill(num); //Fill with defaults. This array will hold the updated last value of any G ...
-
... alues of QToolButtonStyle . Discussion: ( ~icon = Image(64).draw({ Pen.fillOval(Rect(0, 0, 64, 64)) }); ~styles = QToolButtonStyle.classVarNames; ~tool = ToolBar( MenuAction("Text") .icon_(~icon) .action_({ ~tool.toolButtonStyle = (~tool.to ...
-
... BussesTool object Arguments: layout the parent view, FlowView or window bounds Rect or nil Inherited instance methods Examples BussesTool.new ⧉ ✔ helpfile source: /tmp/scquark_hs/ServerTools/HelpSource/Classes/BussesTool.schelp link::Class ...
-
... nherited instance methods Examples Basic use ( w = Window.new; t = TabletView(w,Rect(40,40,300,300)); t.background = Color.white; w.acceptsMouseOver = true; w.front; f = { arg what, x, y, pressure, tiltx, tilty, deviceID, buttonNumber, clic ...
-
... 00, height= 512, w, cnt= 0, lsys, lplot; //--world w= RedWindow("lsystem test", Rect(128, 64, width, height)).front; //lsys= RedLSystem("F", ($F: "-[-F+F+F]+[+F-F-F]")); //lsys= RedLSystem("F", ($F: "F[+F--F]+F")); lsys= RedLSystem("F", ($F ...
-
... thods Inherited instance methods Undocumented instance methods clickToIdx createRects createView drawHexagon initGUI manta navigateColor navigateIdx padExtent refresh selectColor selected strokeColor strokeWidth textColor Help template Desc ...
-
... ates an Image and display it. . makeWindow Display the pixels using Pen and fillRect . . type A string. "BM". . width . height Image dimensions in pixels. . depth Colour depth. 1, 4, 8, 16, 24 or 32. . compression When read from disk. . pal ...
-
... eight= 512, w, cnt= 0, lsys, lplot; //--world w= RedWindow("lsystem grow test", Rect(128, 64, width, height)).front; lsys= RedLSystem("F", ($F: "F[+F--F]+F")); lplot= RedLTurtle(lsys, 5, 5); //length, theta //--loop w.draw{ if(cnt==0, { lsy ...