-
... dWorld1(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,damp //--objects trg= RedObject(world, RedVector2D[width*0.5, height*0.3]); objs= {|i| RedObject(world, RedVector2D[width*0.5+i, height*0.3+i], RedVector2D[0, 0], RedVec ...
-
... edWorld.new b= RedOscillator2(a); c= RedOscillator2(a); d= RedOscillator2(a); a.objects ( a.objects.do{|o, i| o.couple(a.objects.wrapAt(i-1), a.objects.wrapAt(i+1)) }; ) c.update c.dump ⧉ ✔ helpfile source: /tmp/scquark_hs/redUniverse/HelpS ...
-
//agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive //with mouse controlling world gravity //with sound on/off ( s.waitForBoot{ var width= 300, he ...
-
... mples Classes (extension) | Red > redUniverse'>redUniverse RedFood Extension an object with energy Location: NOT INSTALLED! See also: redUniverseExamplesOverview Class Methods Inherited class methods Instance Methods . eat Takes away energy ...
-
... External Control > Abstract Classes'>Abstract Classes AbstractMessageMatcher : Object Matches incoming messages to Functions Source: ResponseDefs.sc Subclasses: HIDFuncDeviceProtoMatcher , HIDFuncElementProtoMatcher , HIDRawValueMatcher , ...
-
... This is used widely in the Node classes ( Group and Synth ) to convert non-Node objects to an appropriate target. This allows nil and instances of Server to be used as targets. This can be useful when writing classes which create nodes inte ...
-
... ), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }).add; S ...
-
... and other image specific settings. A RedGIF consist of one or more RedGIFImage objects. NOTE: Do not instantiate. It is only a helper class for RedGIF . Class Methods . new Arguments: bounds A Rect . flags An Integer . Inherited class meth ...
-
JITLibExtensions: Filter: NodeProxy / Ndef extensions General objects Presets Recording, Mixing & Monitor Networking Overviews (extension) | Libraries > JITLib'>JITLib JITLibExtensions Extension popular extensions of the Just-in-time Librar ...
-
... methods Examples Classes | JITLib > GUI'>GUI | Live Coding PdefnGui : JITGui : Object a simple gui for Pdefns Source: TaskProxyGui.sc See also: Pdefn , PdefnAllGui , TdefAllGui Description PdefnGui displays a PdefnGui, and allows editing a ...