Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1772) Code (147) Doc (407) Help (75) Quark (1139) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. Turtle Quark

    ... t.forward(100); ) w = SCWindow .new.front ( w.drawHook = { Pen .use { t.stroke; Color .red.set; Pen .fillRect( Rect (100,100,4,4)); Color .green.set; Pen .fillRect( Rect (0,0,4,4)); } }; w.refresh; ) f = { |turtle, length = 100, depth = 1| ...

  2. 239-4Dhypercubes Doc

    ... mass,size hypercubes= {|i| Red4DTesseract()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; hypercubes[i].rotation= RedVector.newFrom(theta ...

  3. Redraw Quark

    //redFrik Redraw { var <win, <mouse, mod, pmouse, userView, strokeColor, width; *new {|bounds| ^super.new.initRedraw(bounds); } initRedraw {|bounds| bounds= bounds ?? {Rect(300, 300, 500, 500)}; win= Window("redraw", bounds, false); userVie ...

  4. 239-4Dhypercubes Quark

    ... mass,size hypercubes= {|i| Red4DTesseract()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; hypercubes[i].rotation= RedVector.newFrom(theta ...

  5. ScaledUserView Quark

    ... SCUserView on which this class is based background gets and sets the background color *window Creates an ScaledUserViewWindow instead ScaledUserView .window; drawFuncs Next to the drawFunc , as used in the above examples, there are several ...

  6. UChainIOGUI_Old Quark

    ... I { classvar <>showControl = true, <>showAudio = true; var <analyzers; var <unitColors; var <>audioMax = 0, <>controlMax = 0; makeViews { |bounds| analyzers = ( \audio: UChainAudioAnalyzer(chain), \control: UChainControlAnalyzer(chain) ); R ...

  7. 237-3Dboxes Doc

    ... ld,loc,vel,acc,mass,size boxes= {Red3DBox()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; boxes[i].rotation= RedVector3D[thetas[i], theta ...

  8. 237-3Dboxes Quark

    ... ld,loc,vel,acc,mass,size boxes= {Red3DBox()}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.fillColor= Color.green(1, 0.25); world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; boxes[i].rotation= RedVector3D[thetas[i], theta ...

  9. gui_example_userview_fft Quark

    ... ow("fft gui example userview", Rect(100, 100, width, height)).front; img= Image.color(width, fft.fftSize2+1, Color.black).interpolation_(\fast); win.drawFunc= { channelData= fft.fft(channelData); if(~smoothingFilter.notNil, { channelData= ~ ...

  10. red02 Doc

    ... (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| physics.makeParticle(0.5, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow