-
... heightCartPlane, rad, theta, func, cnt= 0, scale= 2; w= RedWindow("func plot", Rect(128, 64, width*scale, height*scale)).front; widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%(width*scale); dx= widthCartPlane/(widt ...
-
... tance variables as described below and in the SVGObject helpfile SVGEllipse.fromRect ( rect, name, strokeColor, fillColor, strokeWidth, transform ) creates a new object by converting a Rect to cx, cy, rx, ry variables instance variables cx, ...
-
... ticles, attractor, font= Font(Font.defaultMonoFace); //--world w= RedWindow("", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], RedVector2D[1, 1], 100, 0.5); //dim,grav,maxvel,damp //--particles (an Array w ...
-
... ticles, attractor, font= Font(Font.defaultMonoFace); //--world w= RedWindow("", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], RedVector2D[1, 1], 100, 0.5); //dim,grav,maxvel,damp //--particles (an Array w ...
-
// this file is part of redUniverse toolkit /redFrik +Rect { *aboutRedVector2D {|redVec, size| ^this.aboutPoint(Point(redVec[0], redVec[1]), size, size) } //!!!TODO. clean up focal and scaling *aboutRedVector3D {|redVec, size, width, height ...
-
... .init(hc); } init{ |hc| hiveConf = hc; w = Window.new("MiniHive Configuration", Rect( 200, 0, 500, 300 + 380 )); hview = CompositeView.new(w, Rect( 0,0, 500, 50)); hview.addFlowLayout(2@2); save = [ TextField.new( hview, 325@20 ), Button.ne ...
-
... round_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_(el.name) .align_(\center); buttons = 9.collect { |i| var radius = 35 * i.sign; var angle = (i + 4 / 8 * -2pi ); var ...
-
... round_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_(el.name) .align_(\center); buttons = 9.collect { |i| var radius = 35 * i.sign; var angle = (i + 4 / 8 * -2pi ); var ...
-
... nt("Lucida Grande", 11)}; } createMainWindow { window = Window(this.windowName, Rect(1400, 650, width: 282, height: this.windowHeight), resizable: false); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fr ...
-
... raggedChange, analyzeBusy, paintMode, paintTrack, paintLastFrame, paintAmp; var rectCutMode, rectStart, rectEnd, selectedRegionPoints, collectRegionPoints, smoothCutSelectedRegion, clearRegionSelection; var regionShape, regionClipboard, cop ...