Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... * 0.5 ); var name; rect = vw.bounds.moveTo(0, 0).insetBy(1,1); if( pressed ) { Pen.width = 2; fillColor = hiliteColor; fillRect = rect.insetAll(0, (1 - value) * rect.height,0,0 ); if (useMoveValue) { fillRect2 = rect.insetAll(0, (1 - moveV ...

  2. RedMRCM Doc

    ... TALLED! See also: RedLTurtle , RedIFS , RedMandelbrot Description Plotting with Pen . After Flake - "The Computational Beauty of Nature". Class Methods . new Arguments: drawFunc A Function that draws something. matrices An array of arrays d ...

  3. 040-pendulum Doc

    //simple pendulum in a world with gravity ( var width= 300, height= 300, w, wgrav, world, n= 1, ploc; //--world w= RedWindow("pendulum test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[wid ...

  4. 040-pendulum Quark

    //simple pendulum in a world with gravity ( var width= 300, height= 300, w, wgrav, world, n= 1, ploc; //--world w= RedWindow("pendulum test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[wid ...

  5. 016-repulsive2 Doc

    ... ctor2D[0, 0], 1.5, 10) }.dup(n); //world,loc,vel,acc,mass,size //--loop w.draw{ Pen.strokeColor= Color.green; rep.loc= w.mouse; Pen.strokeRect(Rect.aboutRedObject2D(rep)); Pen.strokeColor= Color.white; world.objects.do{|o| if(o!=rep, { o.ad ...

  6. 016-repulsive2 Quark

    ... ctor2D[0, 0], 1.5, 10) }.dup(n); //world,loc,vel,acc,mass,size //--loop w.draw{ Pen.strokeColor= Color.green; rep.loc= w.mouse; Pen.strokeRect(Rect.aboutRedObject2D(rep)); Pen.strokeColor= Color.white; world.objects.do{|o| if(o!=rep, { o.ad ...

  7. 045-pendulum4 Doc

    //a few pendulums that attract eachother ( var width= 300, height= 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[wid ...

  8. 045-pendulum4 Quark

    //a few pendulums that attract eachother ( var width= 300, height= 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[wid ...

  9. Galton Board Simulator by simon (Dindoléon) Code

    ... barSize = view.bounds.height * displayRatio * timesNotesWerePlayed[index]; Pen.fillColor_( Color( myFavoriteColor.red + (mySecondFavoriteColor.red - myFavoriteColor.red * timers[index]), myFavoriteColor.green + ...

  10. XiiSlicerClasses Quark

    ... os / selectionDelta) * bounds.width; // *bufferGlobalLimits[0] } drawplayhead { Pen.line( Point(playhead, bounds.top+1), Point(playhead, bounds.bottom) ); } updateLabel { label.bounds = Rect(canvasBounds.left+2, bounds.bottom-10, 100, 15) ; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow