-
//TODO add multiple options for arg + Object { *checkArgs{ |class, method, args, types| [args, types, (0..(args.size-1))].flopWith{ |aarg, type,i| if( ( (type.size > 0) and: { type.collect{|x| aarg.isKindOf(x) }.reduce('||').not }) || ( (ty ...
-
... get = \doc; Verbosity.target = \win; g = JITGui.new(~verbose, 1); // make one g.object.key ~verbose.dump; g.object = 123; // object gets shown asCompileString g.object = (key: \otto); // if the object understands .key, key gets shown g.obje ...
-
... World3(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel ...
-
... s Model. It is used to create the option of actions performed at a change of an object, such as a Synth being started or freed. This helpfile will not explain how this works, but instead show a number of wslib methods that use it. see also: ...
-
/* JITLibExtensions allows adding specs to objects, and various JITGuis use that for controller ranges: EnvirGui, ParamGui, NdefParamGui as used in TdefGui, PdefGui, NdefGui, NdefMixer etc. From version 3.7.2 and 3.8, EnvirGui and its subcl ...
-
// SETODictObj is an object where you can set custom functions for each classID: SETODictObj.setAction(1, {|me| "%: Hello, I'm a first class object\n".postf(me)} ); // It is also possible to set the same function for a range of classIDs SET ...
-
//multiple objects are pushed away from a moving circle ( var width= 640, height= 480, w, world, acc, vel, loc, rep, n= 200; //--world w= RedWindow("repulsive test3", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, h ...
-
... edWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1; RedBoid(~world, loc, vel, 0, mass, mass*5) //world,loc,ve ...
-
VoicerGUI : ObjectGui { // override gui and guify -- this object should make NO VIEWS // *new should return not a VoicerGUI but a VoicerProxyGui // perhaps misleading but I want aVoicer.gui to set up the proxy and the gui transparently // s ...
-
VoicerGUI : ObjectGui { // override gui and guify -- this object should make NO VIEWS // *new should return not a VoicerGUI but a VoicerProxyGui // perhaps misleading but I want aVoicer.gui to set up the proxy and the gui transparently // s ...