-
... ravityForce(oo).neg); }); }); }; o.update; world.contain(o); //--render Pen.fillColor= Color.hsv(0.4, 1-(o.mass/12), 1, o.mass/12); Pen.fillRect(Rect.aboutPoint(o.loc.asPoint, 0.5, 0.5)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ravityForce(oo).neg); }); }); }; o.update; world.contain(o); //--render Pen.fillColor= Color.hsv(0.4, 1-(o.mass/12), 1, o.mass/12); Pen.fillRect(Rect.aboutPoint(o.loc.asPoint, 0.5, 0.5)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... aticText().fixedHeight_(" ".bounds(fnt).height*4) .align_(\topLeft).background_(Color.grey(0.9, 0.5))), View() ); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \sSentograph); routineGui.stop; oscResponders.do{|x| x.free}; if(calibrateWi ...
-
... c,mass,size .theta_(-1).angularVel_(-0.5); }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.width= 1; world.objects.do{|o| o.addForceAngular1D(world.gravity); //o.addForce(world.gravity); o.update; //world.contain(o); a= o; //-- ...
-
... c,mass,size .theta_(-1).angularVel_(-0.5); }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.width= 1; world.objects.do{|o| o.addForceAngular1D(world.gravity); //o.addForce(world.gravity); o.update; //world.contain(o); a= o; //-- ...
-
... ew.useWithSkin( ( labelWidth: 40, font: Font( Font.defaultSansFace, 10 ), hiliteColor: Color.gray(0.33) ), { x.gui(w); }; ); )
-
... ew.useWithSkin( ( labelWidth: 40, font: Font( Font.defaultSansFace, 10 ), hiliteColor: Color.gray(0.33) ), { x.gui(w); }; ); )
-
... ; w = Window .new.front; w.flow({ arg l; Button (l,80@17) .states_([ [ "stop" , Color .black, Color .red] ]) .action_(a.func( 'stop' )); Button (l,80@17) .states_([ [ "play" , Color .black, Color .green] ]) .action_(a.func( 'play' )); l.sta ...
-
... en available * Use `res.headersSent` when available * deps: debug@2.6.1 - Allow colors in workers - Deprecated `DEBUG_FD` environment variable set to `3` or higher - Fix error when running under React Native - Use same color for same namesp ...
-
... risms and meshes) Radius (for spheres) Velocity Acceleration Force Mass Density Color Static Friction Dynamic Friction Class Methods . new Creates a new GUI instance. Arguments: dimple DIMPLE instance to control Returns: A DimpleGUI instanc ...