Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. red03 Doc

    ... y, 0)}; usr.mouseMoveAction= usr.mouseDownAction; usr.drawFunc= { physics.tick; Pen.width= 0.1; Pen.strokeColor= Color.grey(0, sin(usr.frame%1000/1000*2pi)*0.5+0.5); physics.springs.do{|s, i| Pen.moveTo(Point(s.getOneEnd.position.x, s.getOn ...

  2. red03 Quark

    ... y, 0)}; usr.mouseMoveAction= usr.mouseDownAction; usr.drawFunc= { physics.tick; Pen.width= 0.1; Pen.strokeColor= Color.grey(0, sin(usr.frame%1000/1000*2pi)*0.5+0.5); physics.springs.do{|s, i| Pen.moveTo(Point(s.getOneEnd.position.x, s.getOn ...

  3. asCode Quark

    ... 44.0, 200.0, 32.0, 4.0) ) .value_( 0.5038806200027466 ); */ w.drawHook = { GUI .pen.width_(5).line( 10@10, 390@390 ).stroke }; w.refresh; w.asCode; // includes drawHook functions. But only if they use GUI.pen /* w = GUI.window.new("test-asC ...

  4. Simple_Pendulum Doc

    //Simple_Pendulum //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Simple Pendulum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, ...

  5. Simple_Pendulum Quark

    //Simple_Pendulum //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Simple Pendulum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, ...

  6. extVarious-SVGFile Quark

    ... t }; } asSVGTransform { ^SVGTransform( this ); } // direct drawing functions: asPenFunction { ^SVGPath( this ).asPenLinesFunc; } fillPath { this.asPenFunction.value; GUI.pen.fill; } strokePath { this.asPenFunction.value; GUI.pen.stroke; } c ...

  7. gui_example_userview Quark

    //gui example with userview / pen graphics ( var width= 640, height= 320; var numChan= 4; var chanHeight= height/numChan; var win, usr, frameCount= 0; win= Window("gui example userview", Rect(100, 100, width, height)).front; usr= UserView(w ...

  8. RedPerlin Doc

    ... , {|x| a.noise1D(x/100, 0.75, 3, 0)}).normalize.plot //interpolation off //--1d pen test ( var width= 300, height= 300, w, u, a, persistance= 0.75, octaves= 8; w= Window("perlin test 1d", Rect(128, 64, width, height), false); u= UserView(w, ...

  9. 2_inphluxgui Quark

    ... t(166, 2.0, 160, 20.0)); // call this somewhere in skipjack, or when changes happen q.inph.updateGui = { q.ndefs.do { |ndef, i| // compare names of current q.ndefs with gui labels var but = g.inphGui.attachButtons[i]; var key = ndef.key; va ...

  10. XiiSnd Quark

    ... var outbus, inbus, selected; // temp vars var myVol; // var ateFunc; // what happens when predator eats from the prey // var myBuffer, myBufNum, myBufferName, poolnum, biteFlag; // var poolnum, bufferindex, myVol; // var <>selected, sampleN ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow