-
... eakLevel rather than value. Arguments: val A Float . a = LevelIndicator(bounds: Rect(10, 10, 20, 160)).front; a.value = 0.5; a.warning = 0.6; a.critical = 0.9; a.value = 0.7; a.value = 0.9; ⧉ ✔ . style = val Sets the style of the view. Argu ...
-
... , Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("collision test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav ...
-
... height= 480, w, wgrav, world; //--world w= RedWindow("patterns and particles", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector[width, height], wgrav, 30, 0.1); //dim,gr ...
-
... lass methods Instance methods Printing showDialog print newPage Properties paperRect pageRect pageSize Page range fromPage toPage Inherited instance methods Undocumented instance methods bounds Examples Classes | GUI > Accessories'>Accessor ...
-
... t color will be used instead. Class Methods Gradient. new ( color1 , color2 , direction: 'h' , steps: 64 ) Arguments: color1 An instance of Color . color2 An instance of Color . direction \h or \v for horizontal and vertical respectively. D ...
-
... dth= 640, height= 480, w, theta= 0, speed= 0.01, point; w= RedWindow("3Dpoint", Rect(128, 64, width, height)).front; point= Red3DPoint(RedVector3D[0, 0, 0.5]); //--loop w.draw{ theta= theta+speed; point.rotation= RedVector3D[theta, theta*2, ...
-
... randcreate.com/physics/ ( var width= 400, height= 400; var win= Window("cloth", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; var particles; var gridSize= 10; var spring_strength= 0.2 ...
-
... ; ) //UI controls ( var sf; var w,curdle, scramble,quant; w = SCWindow("panel", Rect.new(200,200,230,180)); curdle=DDSlider( w, Rect.new(0,0,200,40), "curdle", 0.0, 1.0, 'linear', 0.01, 0.0); scramble=DDSlider( w, Rect.new(0,50,200,40), "sc ...
-
... de Class Methods . new Arguments: parent The parent view. bounds An instance of Rect , or a Point indicating width@height . env The envelope. An instance of Env . pointsPerSegment The resolution in points per segment. Default value is 10. . ...
-
... width= 640, height= 480, w, theta= 0, speed= 0.01, line; w= RedWindow("3Dline", Rect(128, 64, width, height)).front; line= Red3DLine(length: 1.75); //--loop w.draw{ theta= theta+speed; line.rotation= RedVector3D[theta, theta*3, theta*2]; li ...