-
... har| KeyPlayer(char.asSymbol) } "hjkl".do { |char| KeyPlayer(char.asSymbol) } g.object_(KeyPlayer(\f)); h.object_(g.object); g.object.put($t, {"t!".postln }); g.object.put($x, {"x".postln }, both: true); g.object.putUp($x, {"x up!".postln } ...
-
// this file is part of redUniverse toolkit /redFrik RedSpring { var <>object, <>target, //objects <>stiffness, <>damping, <>length; //floats *new {|object, target, stiffness, damping, length| ^super.newCopyArgs( object, target, stiffness ? ...
-
SVGGroup Part of wslib see also: SVG , SVGFile superclass : SVGObject With SVGGroup SVGObjects can be grouped. It is similar to SVGFile, but works only inside an objects array. creation SVGGroup ( objects, name, transform ) creates a new ob ...
-
... ; ^listener } } USpeakerConfView : WFSMixedView { type { ^\speaker } points { ^(object !? _.positions) ? [] } points_ { |points| points = points.asUSpeakerConf; if( this.object.isNil ) { this.object = points; } { if( canChangeAmount ) { thi ...
-
... orld3(RedVector2D[width, height], nil, inf, 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2pi)*0.8).linlin(-1, 1, 0, width-1); var y= (cos(i/n*2pi)*0.8).linlin(-1, 1, 0, height-1); RedOscillator2(world, RedVector2D[x, ...
-
... = 300, w, wgrav, world, still= RedVector2D[0, 0], seeds= 1, //number of initial objects maxFree= 200, //max number of free objects at a time maxTotal= 600; //also decides when to stop //--world w= RedWindow("growth", Rect(128, 64, width, he ...
-
... { |obj| ^(obj.isNil or: { obj.isKindOf(ProxyChain) }) } chain_ { |chain| ^this.object_(chain) } chain { ^object } setDefaults { |options| if (parent.isNil) { defPos = 610@260 } { defPos = skin.margin; }; minSize = 510 @ (numItems * skin.bu ...
-
... orld3(RedVector2D[width, height], nil, inf, 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2pi)*0.8).linlin(-1, 1, 0, width-1); var y= (cos(i/n*2pi)*0.8).linlin(-1, 1, 0, height-1); RedOscillator(world, RedVector2D[x, ...
-
... berta.isFilterRole // false \wet2234d.isFilterRole // false */ + TaskProxyGui { object_ { |obj| super.object_(obj); if(envirGui.notNil) { envirGui.useHalo(this.object); }; } makeEnvirGui { |lineWidth, height| zone.decorator.nextLine.shift(0 ...
-
... { |obj| ^(obj.isNil or: { obj.isKindOf(ProxyChain) }) } chain_ { |chain| ^this.object_(chain) } chain { ^object } setDefaults { |options| if (parent.isNil) { defPos = 610@260 } { defPos = skin.margin; }; minSize = 510 @ (numItems * skin.bu ...