-
... thDef(\tutorial2, {|out, sustain=1, pan | var env = EnvGen.ar(Env.linen(0.01, 0.98, 0.01, 1,-3), timeScale:sustain, doneAction:2); var sound = SinOsc.ar(440.0); Out.ar(out, DirtPan.ar(sound, ~dirt.numChannels, pan, env)); }).add ); // it's ...
-
... 28, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 5, 1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 0.5.rran ...
-
... ("pendulum test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedV ...
-
... ollision test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.6); //dim,grav,maxvel,damp //--objects { var vel= RedVector2D[2.rand2, -5]; // ...
-
... symbol is filename, number is randseed: influxPresets: [ 3, 12, 37, 42, 45, 86, 98, 875 ], // key of influxPreset to put into starting weights: influxWeights: 42, ////// not yet implemented, just sketched here: influxTerrains: [\none, \tanh ...
-
... dow("boids test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= RedWorld3(RedVector2D[width, height], 0, 10, 0.1); //dim,grav,ma ...
-
... ndow("rocks test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 15, 0.5); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[250, 10].rand; / ...
-
... dow("boids test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.05); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVe ...
-
... lue_( 0.041653990745544434 ); GUI.slider.new( ~window, Rect(317.0, 332.0, 20.0, 98.0) ) .value_( 0.87993323802948 ); GUI.slider.new( ~window, Rect(128.0, 98.0, 8.0, 73.0) ) .value_( 0.3661167621612549 ); GUI.slider.new( ~window, Rect(366.0, ...
-
... , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 6, 98, 117, 102, 110, 117, 109, 0, 0, 8, 112, 99, 104, 82, 97, 116, 105, 111, 0, 1, 11, 115, 97, 109, 112, 108, 101, 83, 116, 97, 114, 116, 0, 2, 3, 97, 109, 112, ...