Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (94) Code (9) Doc (39) Help (3) Quark (42) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. red05 Quark

    ... age.div(10).rand.do{|i| var q= physics.particles.choose; if(p!=q, { physics.makeSpring(p, q, 0.1.rand, 0.25.rand, 10.rand+10); }); }; }; usr.mouseMoveAction= usr.mouseDownAction; usr.drawFunc= { var dead= List.new; physics.particles.do{|p, ...

  2. Dimple_examples.help Quark

    ... .05, 0.05 ); c = d.createConstraint( "piston", a, d.world, [-0.1,0,0,0,0,1]); c.spring_( 0.001, 0.0001 ); a.force_( 0.1, 0.01, 0.001 ); c.force_( -0.01 ); // ===================================================================== // slide d.c ...

  3. Fb1_ODE Quark

    ... ) } } // wrappers for predefined ODEs Fb1_MSD : UGen { *new { |f = 0, mass = 1, spring = 1, dampen = 0, tMul = 1, t0 = 0, y0 = #[0, 0], intType = \sym2, compose, composeArIn, dt0, argList0, init_intType = \sym8, withDiffChannels = false, wi ...

  4. README Quark

    ... ut.pdf) ## changelog: * 241219 - added barycenter to RedObject * 240103 - added springs coupled example * 230914 - added one discrete world example, optimised RedWorld neighbours * 230912 - added RedOscillator and RedOscillator2 - thanks g. ...

  5. particle_system_with_sound Quark

    ... ~ps.makeParticle(1, x, y, 0); //create a particle at mouse location s= ~ps.makeSpring(p, mouse, diff.x*0.01, diff.y*0.01, delta); if(objects.size<500, { objects.add(( particle: p, spring: s, synth: Synth(\part, [\out, 40, \x, x, \y, y]), d ...

  6. Dimple Quark

    ... ; // this.dump; objectA.addConstraint( this ); objectB.addConstraint( this ); } spring_{ |a,b| //properties.put( 'response/spring', [a,b] ); this.set( "response/spring", [a,b]); } destroy{ |osc=true| if ( osc ){ dimple.addr.sendMsg( "/world ...

  7. Fb1_ODEdef Quark

    ... // only single Functions are needed Fb1_ODEdef(\MSD, { |t, y, f = 0, mass = 1, spring = 1, dampen = 0| [ { y[1] }, { f - (dampen * y[1]) - (spring * y[0]) / mass } ] }, 0, [0, 0], 1, 1); Fb1_ODEdef(\SD, { |t, y, f = 0, spring = 1, dampen = ...

  8. readme Quark

    ... cd bugfix for RedUniverse interpolate class method 121126 - added update2 to RedSpring - thanks a. bartetzki 120820 - bugfix memory leak in RedParticleSystem - thanks d. kolokol 111004 - added examples 013, 017, 046, 161 changed envelope in ...

  9. red04 Quark

    ... age.div(10).rand.do{|i| var q= physics.particles.choose; if(p!=q, { physics.makeSpring(p, q, 0.1.rand, 0.25.rand, 100.rand+10); }); }; }; usr.mouseMoveAction= usr.mouseDownAction; usr.drawFunc= { var dead= List.new; physics.particles.do{|p, ...

  10. SWBusNode Quark

    ... c=1| bus = Bus.control( s, nc ); settings.put( \friction, 0.5 ); settings.put( \spring, 0.414 ); settings.put( \damp, 0.313 ); settings.put( \mass, 0.1 ); settings.put( \beltmass, 1 ); synthDef = (\FrictionNode++nc).asSymbol; SynthDef( synt ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow