-
// I often need descriptive information about an object for drag-n-drop purposes // This stores a ref to an object with a name and a "type" symbol NamedRef : Ref { var <>name, <>type, <>properties; *new { arg thing, name, type, properties; ...
-
// I often need descriptive information about an object for drag-n-drop purposes // This stores a ref to an object with a name and a "type" symbol NamedRef : Ref { var <>name, <>type, <>properties; *new { arg thing, name, type, properties; ...
-
/* An ExtendableObject is like Extendable, an object whose methods can be changed at runtime ExtendableObject carries an object and adds methods using `addMethod` By default, all messages are forwarded to it. */ a = Isolator(8); a + 3; // t ...
-
... sr.background = Color.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) { Pen.fillColor = Color.green; Pen.stringAtPoint("Click a name to move it to its location;", 10@10); Pen.stringAtPoint("alt-click to start drawin ...
-
... sr.background = Color.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) { Pen.fillColor = Color.green; Pen.stringAtPoint("Click a name to move it to its location;", 10@10); Pen.stringAtPoint("alt-click to start drawin ...
-
... RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector3D[width, height, depth].rand; var vel= RedVector3D[2, 2, 2].rand2; var acc= RedVector3D[0, 0, 0]; var mass= 0.5.rrand(4); var obj= ...
-
... DisplayInfo { ^"" } cueTitle { ^"" } } + CueInfo { asCueFunction { ^this; } } + Object { asCueFunction { "------------------------------------------------------------".postln; (this.class.asString + "does not respond to asCueFunction").warn ...
-
... edWorld(RedVector2D[width, height], wgrav, 20, 0.5); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width.rand, height.rand].round(50); var vel= RedVector2D[1.0.rand2, 1.0.rand2].round(1/3); var mass= 1.0.rand; RedObject(world, l ...
-
... nto TUIOServer and TUIO_OSCServer 2006-02-26 added gui support remove now makes objects invisible rather then destroying them 2005-12-16 removed tuio.play call in TUIO_OSCServer-setFunc_ */ SETOServer { var <knownObjs; var objectIDs; var <f ...
-
... polls control buses for their value and updates dependents assigned to the bus objects. Based on NodeWatcher . *newFrom(server) Returns the KrBusWatcher belonging to this server. If the KrBusWatcher has already been created, the same one w ...