Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ht= 300, w, wgrav, world, n= 18, ploc; //--world w= RedWindow("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objec ...

  2. 052-boids3 Quark

    ... 300, height= 300, w, wgrav, world, n= 10; //--world w= RedWindow("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= Red ...

  3. 110-bounce_objects Quark

    ... 300, height= 300, w, wgrav, world, n= 18; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.38]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.92); //dim,grav,maxvel,damp //--o ...

  4. ServerGui Quark

    ... UI.skin; height = skin.buttonHeight; if(model.isLocal,{ booter = Button(layout, Rect(0,0, 47, height)); booter.states = [["Boot", skin.fontColor, skin.background], ["Quit", skin.fontColor, skin.background]]; //booter.font = GUI.font.new("He ...

  5. ServerGui Quark

    ... I.skin; height = skin.buttonHeight; if(model.isLocal, { booter = Button(layout, Rect(0, 0, 47, height)); booter.states = [["Boot", skin.fontColor, skin.background], ["Quit", skin.fontColor, skin.background]]; //booter.font = GUI.font.new("H ...

  6. TestEditor Quark

    ... Up { w = Window.new; } tearDown { if(w.notNil,{ w.close }) } prDoSizeTest { arg rect; var g; Environment.use({ (Quarks.local.path +/+ Quark.find("ServerTools").path +/+ "scripts" +/+ "guiDebugger.scd").loadPath; g = NumberEditor.new.gui(w,r ...

  7. CollapseView Quark

    ... view.flow({|w| // we need an inner flow view for the CollapseButton to work correctly button=CollapseButton(w, buttonBounds).offset_(offset).eq_(buttonEq).scale_(buttonScale).minHeight_(minHeight); func.value(w); },bounds); view.resizeToFi ...

  8. WFSPoint Quark

    ... FSSpeaker.dist( this ) // the absolute distance per speaker * aWFSSpeaker.distDirection( this ); // when this is in front of speaker, distance will be negative } isNextTo { |aWFSSpeaker, round = 0| // or on top of var angleOffset; if( aWFSS ...

  9. JInT_PowerMate Quark

    ... ng to server } initialize { view = view ?? { window = SCWindow.new("PowerMate", Rect(1000,0, 440, 370)).front; window.onClose({notInitialized = true}); view = Knob.new(window, Rect(10,10,420, 350)).resize_(5); }; view.background = Color.whi ...

  10. SWMiniBeeConfigGui Quark

    ... f, parent, bounds| if ( parent.isNil ){ w = Window.new("MiniBee Configuration", Rect( 0, 0, 430, 350 )); top = CompositeView.new( w, Rect( 0,0, 430, 90 )); top.addFlowLayout(2@2,2@2); }{ w = CompositeView.new( parent, bounds ); top = Compos ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow