-
... an2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("rocks pinball test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 15, 0.5); //dim,grav,ma ...
-
... an2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("rocks pinball test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 15, 0.5); //dim,grav,ma ...
-
... iteColor.blue - myFavoriteColor.blue * timers[index]), ) ); Pen.fillRect( Rect( 0, view.bounds.height - barSize, view.bounds.width, barSize ) ); if(timers[index] > 0) { timers[index] = timers[index] ...
-
... os = [0.5,0.5]; ~nearests = [0,1,2]; ); ( w = Window.new("points of proximity", Rect(100, 100, ~size, ~size)).front; w.drawHook = { var thesize, y; Pen.color = Color.white; Pen.fillRect(Rect(0, 0, ~size, ~size)); x.do{|ax, index| y = 1 - ax ...
-
... lt= RedSmooth(0.1, 0.5); var number, slider, plot, fifo; number= NumberBox(win, Rect(10, 10, 90, 20)); number.value= flt.factor; number.decimals= 3; number.action= {|view| view.value= view.value.max(0); flt.factor= view.value; }; StaticText ...
-
... /redFrik 2012 ( var width= 640, height= 360, num= 200; var win= Window("red00", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...
-
//redFrik 2012 ( var width= 640, height= 360, num= 10; var win= Window("red01", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...
-
... w, world, acc, vel, loc, rep, n= 200; //--world w= RedWindow("repulsive test3", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height]); //dim,grav,maxvel,damp //--objects rep= RedObject(world, RedVector2D[width*0.5 ...
-
... /redFrik 2012 ( var width= 640, height= 360, num= 200; var win= Window("red00", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...
-
//redFrik 2012 ( var width= 640, height= 360, num= 10; var win= Window("red01", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...