Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Recursion-toy-like vines with Pen by uiae (uiae) Code

    ... restart)", Rect(10, 10, 700, 700) ); win.onClose = { run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_(false).mouseDownAction_({ |v,x,y| view.clearDrawing; r.fSpawn(x,y) }); win.front; { while { ru ...

  2. HrPresetMorph Quark

    ... , Rect(160, 0, window.bounds.width - 165, window.bounds.height)); surfaceView = UserView(compositeBack, Rect(0, 0, window.bounds.width - 165, window.bounds.height)) .focusColor_(Color.gray(alpha: 0)) .background_(Color.white) .mouseOverActi ...

  3. extPlotTreeScale Quark

    ... teFunc; var pen, font; pen = GUI.current.pen; font = Font.sansSerif(10); view = UserView.new(parent, Rect(0,0,400,400)); view.drawFunc = { var xtabs = 0, ytabs = 0, drawFunc; drawFunc = {|group| var thisSize, rect, endYTabs; xtabs = xtabs + ...

  4. MantaGUI Quark

    ... tent), 10 + padExtent, 0, 0] } }.flatten; } createView {|parent, extent| view = UserView(parent, extent); view.background_(Color.clear); view.drawFunc = {|uview| var vals = manta.values.pad; //navigateIdx.postln; rects.do{|rect, i| this.dra ...

  5. TraerParticleSystem Doc

    ... simulation by some time t , or by the default 1.0 . You'll want to call this in UserView: -drawFunc or Window: -drawFunc . You probably want to keep this the same at all times unless you want speed up or slow things down. . clear this delet ...

  6. SMPTEView Quark

    ... alpha_(0.5); fontName = fontName ? "Monaco"; fontSize = inFontSize ? 20; view = UserView( parent, Rect( inBounds.left, inBounds.top, (fontSize * 7.2) + 2, fontSize * 1.2 ) ) //.relativeOrigin_( false ) //.canFocus_( false ) ; view.drawFunc ...

  7. ToggleSwitch Quark

    ... = argRadius; toggleSize=argToggleWidth; argBounds=argBounds.asRect; this.view = UserView(argParent, argBounds); this.view.mouseDownAction={ arg v, x, y, modifiers, buttonNumber, clickCount; this.mouseDown(x, y, modifiers, buttonNumber, clic ...

  8. KickandBass by scottintokyo (Scott L Simon) Code

    ... tontest",Rect(100,100,450,350)); w.view.background = Color(0.8,0.0,01); u = UserView(w, Rect(300, 200,100, 100)); u.background = Color.black; u.animate = true; pt = Point(); r = Rect(); //w.view.decorator = FlowLayout(w.view.boun ...

  9. OSCMon Doc

    ... show make a named display window for the oscmon . w . u its display window and userview . refresh refresh display . clearMsgNames . clearAddrs clear msgNames or addresses . trackMsgs . trackAddrs get and set flags whether to track msgNames ...

  10. imuUV Quark

    ... = NTMI.nUFO.rawImuBiValues; NTMI.g.main.movevals = 0.25!9; NTMI.g.main.imuUV = UserView(nil, 666@666).front; NTMI.g.main.imuUV.drawFunc = NTMI.g.main.imuUVMFunc; nUFO pad dimensions: area outerpads: w: 12.5, h: 9.5 area innerpads: w: 9.3, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow