Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. red00 Quark

    ... var win= Window("red00", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0.3, 0.9); num.do{phys ...

  2. red01 Quark

    ... var win= Window("red01", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.2.rand2, 0.2.rand2, 0, 0.4); n ...

  3. ActiveCompositeView Quark

    ... ds ); } init { |parent, bounds| view = CompositeView( parent, bounds ); uview = UserView( view, view.bounds.moveTo(0,0) ).enabled_( true ); uview.mouseUpAction_({ |vw ...args| mouseUpAction.value( this, *args ); action.value( this, *args ); ...

  4. readme Quark

    ... 2 - added RedMRCM and RedIFS 090521 - RedWindow and RedJWindow now draws in the UserView - thanks Thor 090514 - growth example and asPoint added to RedVector 090510 - added RedLSystem and RedLTurtle classes updated example 070-lsystem.scd e ...

  5. red02 Quark

    ... var win= Window("red02", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0.3, 0.1); num.do{|i| ...

  6. red03 Quark

    ... var win= Window("red03", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0, 0.1); num.do{|i| ph ...

  7. SGME_GUIPanel6 Quark

    ... perior topPanelBounds = Rect(0, 0, window.bounds.width, halfHeight); topPanel = UserView(compositeView, topPanelBounds) .canFocus_(true); topPanel.mouseDownAction_({|view, x, y, modifiers, buttonNumber, clickCount| var factor = 2; if(clickC ...

  8. Simple_Pendulum Quark

    ... win= Window("Simple Pendulum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, p, anchor, s; usr.background= Color.white; physics= TraerParticleSystem(gy:1, drag:0.05); p= physics.make ...

  9. PrePostView Quark

    ... ildren[1]; ^this.new(sliderZone, slider.bounds); } init { |parent, bounds| uv = UserView(parent, bounds); uv.background_(Color(1,1,1,0)); uv.acceptsMouse_(false); // horizontal for now: uv.drawFunc = { |uv| var bounds = uv.bounds; var maxwi ...

  10. SCDrawServer Quark

    ... 200, width, height), resizable: false, border: false).front.fullScreen; view = UserView(window, Window.screenBounds()).background_(bgcolor).clearOnRefresh_(refresh); if(hideCursor == true, { SCNSObject("NSCursor", "hide"); }); bounds = Win ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow