Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. extString-boundsM9 Quark

    ... s; origin = ( origin ?? { Point( 0,0 ) } ).asPoint; lines = this.split( $\n ); ^Rect( origin.x, origin.y, this.class.widthM9( lines.collect( _.size ).maxItem ), this.class.heightM9( lines.size ) ); */ origin = ( origin ?? { Point( 0,0 ) } ) ...

  2. Chord Crafter by suhelkeswani (suhelkeswani) Code

    ... new main window (called ~mainScreen) ~mainScreen = Window.new("Chord Crafter", Rect.new(Window.screenBounds.width/2 -350, Window.screenBounds.height/2 - 175, 700, 350), false) .alwaysOnTop = (true); ~velocity = 60; ~velocitySlider = ...

  3. extStoredListDialogs Quark

    + StoredList { *boundsAround { |loc, winSize, flip = true| var rect; loc = loc ?? { Window.screenBounds.center }; rect = Rect.aboutPoint(loc, winSize.x * 0.5, winSize.y * 0.5); if (flip) { rect = Window.flipY(rect) }; ^rect } storeDialog { ...

  4. DragSink Doc

    ... and-drop sources and destinations. They are graphically represented as a simple rectangle, and their specialty is that they do not require the Cmd/Ctrl key to be held down to initiate dragging . Akin to StaticText they can store arbitrary c ...

  5. VGMulTreeGui Quark

    ... unitWidth = 60, unitHeight = 40, gap = 2@2; var w = Window("VG Tuning Editor", Rect(400,800,totalWidth, 700)).front; var argNames = tree.argNames; var editorNames = tree.branchNames; var comp, makeEditor; comp = CompositeView(w, Rect(4,4, ...

  6. TestSCScrollView Quark

    ... be identical" + TestSCScrollView + "test_nestingRelVsAbs"; w = SCWindow(title, Rect(10 + relativeOrigin.if(600,0), 10, 600, 600)); lastView = w; while { x < 299 } { b = relativeOrigin.if( {Rect(x - lastx, (x - lastx) * ratio, 600 - (2*x), ...

  7. imageExamples Quark

    ... sources/TrBtn_record_on_p.tiff" ) \ ]\ ];\ \ w = SCWindow ( "Drawing Options" , Rect (310, 500, 500, 300)).front;\ w.view.background_( Color .white);\ w.onClose = \\ resources.do\\ |img| \ if(img.isKindOf( Image ), \img.release\);\ if(img.i ...

  8. ProxyPresetGui Quark

    ... ight = skin.headHeight; var flow = zone.decorator; // top line StaticText(zone, Rect(0,0, 30, butHeight)).string_("curr") .background_(skin.foreground) .font_(font).align_(\center) .mouseDownAction = { var name = setLPop.item.asSymbol; "%: ...

  9. ScatterView3d Quark

    ... ( var data; data = {{2.0.rand2}!3}!150; w = GUI.window.new( "3D Scatterplot" , Rect (40,40, 500, 500)).front; a = ScatterView3d (w, Rect (10,10, 450, 450), data, [-2, 2].asSpec); a.drawMethod = \fillRect ; a.symbolSize = 3; a.symbolColor = ...

  10. 2_inphluxgui Quark

    ... Name, 13); fontbig = Font(g.fontName, 16); q.inph.ioWin = w = Window("inphlux", Rect.aboutPoint( (bnds.width * 0.5) @ (bnds.height - size), size2, size); ).front; q.inph.ioWin.background_(Color.grey(0.8)); q.inph.ioWin.alpha_(NTMI.g.alpha); ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow