Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. Mouse Quark

    Mouse { classvar <all, <task, <screenSize, pos, <prevPos; var <name, <>action, <>xspec, <>yspec; *initClass { all = (); screenSize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask ...

  3. Mouse Quark

    Mouse { classvar <all, <task, <screenSize, pos, <prevPos; var <name, <>action, <>xspec, <>yspec; *initClass { all = (); screenSize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask ...

  4. PMacUGens Quark

    ... y sc3.4 or sc3.5 in 32bit mode (i.e. something is broken under 64bit sc3.5) /* PMouseX : Pattern { classvar screenBounds; var <>minval, <>maxval, <>warp, <>lag, <>length; *new {|minval= 0, maxval= 1, warp= 0, lag= 0.2, length= inf| ^super.n ...

  5. generic-mouse.desc Quark

    ( idInfo: "Generic Mouse", protocol: 'hid', deviceType: \mouse, elementTypes: [\mouseAxis, \button, \mouseWheel], status: ( linux: "unknown", osx: "tested and working. 2016-03-24, adc", win: "unknown"), deviceName: "Generic Mouse", deviceIn ...

  6. Bouncy_Balls Quark

    ... width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.background= Color.white; physics= TraerParticleSystem.new; mouse= physics.makeParticle(1, 0, 0, 0); ...

  7. 171-springs_more Quark

    //more springs. RedSpring is just a simple helper class //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front ...

  8. 172-springs_chain Quark

    //chain of springs. //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector ...

  9. particle_system_with_sound Quark

    ... height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }) ...

  10. 170-spring Quark

    //simple spring //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, obj, trg, mp; //--world w= RedWindow("spring test", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= Red ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow