-
... edUniverse.migrateAll(~world, RedWorld3(RedVector2D[400, 400], RedVector2D[0, 0.98], 5, 0.99)); ~win.resize(~world.dim); ) //back to a world without gravity ( ~world= RedUniverse.migrateAll(~world, RedWorld(RedVector2D[300, 300], RedVector2 ...
-
... 64, width, height)).front; world= RedWorld3(RedVector2D[n, n], RedVector2D[0, 0.98], 3, 0.5); //dim,grav,maxvel,damp //--objects rep= RedObject(nil, RedVector2D[width/2, 100], nil, nil, 0.5, pixelSize); n.do{|x| n.do{|y| var loc= RedVector2 ...
-
... ("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.1); //dim,grav,maxvel,damp //world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.9); //dim,g ...
-
... 00], [160, 100], [320, 100],[640,100] ].compensateMasking.round(0.001); // -> [ 98.326, 98.084, 99.435, 100 ], meaning that after masking each is slightly lower [ [440,100], [554.36, 100], [659.25, 100], [783.99, 100] ].compensateMasking.ro ...
-
... dSplitter2.ar(sig, 800)); bands = bands + Streson.ar(bands, freqs.reciprocal, 0.98); bands = bands + CombC.ar(bands, 2, [0.5, 0.333], 8); sig = Rotate2.ar(bands[0], bands[1], SinOsc.kr(0.01)); }.play; ) n.free; ⧉ ✔ helpfile source: /tmp/scq ...
-
... llision test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects { var vel= RedVector2D[2.rand2, -5]; // ...
-
... , 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector[width, height], wgrav, 30, 0.1); //dim,grav,maxvel,damp ~world= world; //--loop w.draw{ var dead= List.new; world.objects.do{|o, ...
-
... ndependent LFOs ( x = { var source = SinOsc.ar(50 * { LFDNoise3.kr(0.1).range(0.98, 1.02) } ! 2); SmoothFoldS.ar(source, -0.1, 0.1, SinOsc.kr(0.05, [0, pi]).range(0.1, 1)) }.scope ) x.release // Adding more complexity by applying preamplifi ...
-
... indow("3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.98, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.1); //dim,grav,maxvel,damp //world= RedWorld2(RedVector3D[width, height, depth], wgra ...
-
... 0, out.dup); }).play(s) ) x.set(\ratio, 2.1) x.set(\ratio, 3.1) x.set(\ratio, 0.98) x.free; z.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/JoshUGens/HelpSource/Classes/PV_SpectralEnhance.schelp link::Class ...