Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. 091-livecoding-worlds Doc

    ... nder2D; }); o.addForce(~world.gravity); o.update; ~world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding swapping wor ...

  2. 091-livecoding-worlds Quark

    ... nder2D; }); o.addForce(~world.gravity); o.update; ~world.contain(o); //--render Pen.fillColor= Color.grey(1-(i/~n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--livecoding swapping wor ...

  3. WFSPathBox Quark

    ... ^wfsPath } value_ { |newWFSPath| if( wfsPath != newWFSPath ) { wfsPath.removeDependant( this ); wfsPath = newWFSPath; wfsPath.addDependant( this ); if( editor.notNil && { editor.isClosed.not }) { editor.object = wfsPath; }; }; this.update; ...

  4. Bouncy_Balls Doc

    ... leBoundaryCollisions.value(b); handleBoundaryCollisions.value(c); physics.tick; Pen.color= Color.black; Pen.strokeOval(Rect.aboutPoint(Point(mouse.position.x, mouse.position.y), 17.5, 17.5)); Pen.fillOval(Rect.aboutPoint(Point(b.position.x, ...

  5. Bouncy_Balls Quark

    ... leBoundaryCollisions.value(b); handleBoundaryCollisions.value(c); physics.tick; Pen.color= Color.black; Pen.strokeOval(Rect.aboutPoint(Point(mouse.position.x, mouse.position.y), 17.5, 17.5)); Pen.fillOval(Rect.aboutPoint(Point(b.position.x, ...

  6. EnvScaleView Quark

    ... ettingsView,numGridLinesPerUnit,vhorzGridDist,selGridLineCoord,loopStartNode,loopEndNode,timeIncr,timeStep,uI,breakPointCoords,curvePointCoords,<>selectedBreakPoint,breakPointTime,envGrid,envGridHeight,<action; classvar unitStep; *initClass ...

  7. GameLoopVisualiser Quark

    ... }.defer}); } close { if(mainView.notNil, {mainView.close}, {"There is no view open for GameLoopVisualiser".error}); } clear{ if(mainView.notNil, {mainView.close}); instance = nil; } /* Private */ calculateMeterUnit{ sceneWidth = entManager ...

  8. 090-livecoding Doc

    ... 2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--loop ~win.draw{ Pen.strokeColor= Color.white; ~world.objects.do{|o| o.addForce(o.world.gravity); o.update; o.world.contain(o); //--render Pen.strokeRect(Rect.aboutRedObject2D(o ...

  9. 090-livecoding Quark

    ... 2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--loop ~win.draw{ Pen.strokeColor= Color.white; ~world.objects.do{|o| o.addForce(o.world.gravity); o.update; o.world.contain(o); //--render Pen.strokeRect(Rect.aboutRedObject2D(o ...

  10. RedQWindow Doc

    ... ds Inherited class methods Instance methods draw play stop resize background isOpen mouse isPlaying userView animate frame frameRate Inherited instance methods Examples Classes (extension) | Red > redUniverse'>redUniverse RedQWindow Extensi ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow