Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 004-multiple_synth Doc

    ... (out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("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 //worl ...

  2. RedQWindow Doc

    ... , 200]) w.background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(175.rand@175.rand, 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius ...

  3. SpeedLim Doc

    ... ference in responsiveness ( var sl, uv, j = 0, speedlim; w = Window("SpeedLim", Rect.aboutPoint(Window.screenBounds.center, 200, 200) ).front; w.layout = VLayout( sl = Slider().orientation_(\horizontal).maxHeight_(30), uv = UserView().backg ...

  4. 161-growth2 Doc

    ... e maxTotal= 1000; //also decides when to stop //--world w= RedWindow("growth2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0.1, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav ...

  5. 160-growth Doc

    ... ime maxTotal= 600; //also decides when to stop //--world w= RedWindow("growth", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, ...

  6. 261-oscillators_clocks Doc

    ... , w, world, n= 12; //--world w= RedWindow("phase coupled oscillators - clocks", Rect(0, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], nil, inf, 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2 ...

  7. SMS Doc

    ... ta=basedata.copy; i = SCImage.new(windowx@windowy); w = SCWindow.new("SCImage", Rect(0, 100, windowx+10, windowy+10)).front; w.onClose_({ t.stop; i.free; }); // free the image when the window is closed userview = SCUserView(w, w.view.bounds ...

  8. RedJWindow Doc

    ... , 200]) w.background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(175.rand@175.rand, 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius ...

  9. Random_Arboretum Doc

    ... com/physics/ ( var width= 400, height= 400; var win= Window("Random Arboretum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var node_size= 10/2; var edge_length= 20; var edge_strength= 0.2; var ...

  10. FlowLayout Doc

    ... hods FlowLayout. new ( bounds , margin , gap ) Arguments: bounds An instance of Rect . Normally set to the parent.bounds . margin An instance of Point . The horizontal and vertical inner margins, within which the parent's subviews are place ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow