-
... geometry in SuperCollider. Provides methods for getting/setting the radius of a Rect, as well as the central points on each side. Fun fact: once you've finished a README, the pronunciation of its name changes.
-
TestPlotter : ViewTester { test_suppliedBounds { var b,p; b = Rect(100, 100, 200, 200); p = Plotter("name", b, parent: w); p.interactionView.background = Color.black; p.setValue([0,1,0,1]); this.assertEquals(p.interactionView.bounds,b,"inte ...
-
... , w, world, n= 12; //--world w= RedWindow("phase coupled oscillators - clocks", Rect(0, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], nil, inf, 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2 ...
-
... os = (screenHeight - windowHeight) / 2; window = Window("Acerca de Synthi GME", Rect(xPos, yPos, windowWidth, windowHeight), resizable: false, scroll: false); aboutText = "Synthi GME\n\n" ++ "Version" + SynthiGME.version ++ "\n\n" ++ "Desar ...
-
... grey(1.0 - lightness.round, 0.06); ~sliders = { |n = 1, prefix = "/1", oneBound(Rect(0, 0, 400, 50)), buttonExtent(Point(50, 50)), gap = 10, bcolor, bltColor, scolor, sltColor, sBkColor, startI = 0, nameStartI = 1| var out = Array(n * 5), t ...
-
... this; } init { |name, startPos| var countStream, step, window = SCWindow( name, Rect( 360, 10, 300, 100 ), false ); window.front; pos = startPos; pressed = (play: false, stop: false, return: false ); active = (play: false, stop: false, retu ...
-
... ; layout.startRow; ActionButton(layout, "Timeline", { MxTimeGui(model).gui(nil, Rect(0, 0, 1000, 800)); }); ActionButton(layout, "Mixer", { MxMixerGui(model).gui(nil, Rect(0, 0, 1000, 500)); }); ActionButton(layout, "SynthiX", { SynthiX(mod ...
-
... com/physics/ ( var width= 400, height= 400; var win= Window("Random Arboretum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var node_size= 10/2; var edge_length= 20; var edge_strength= 0.2; var ...
-
... rid; this.prDrawValues; } prDrawValues { var caseSize = Point( super.interactionRect.width / thisValues.size, super.interactionRect.height / thisEntries.size ); var ratioOffset = min( caseSize.x * (1 - thisBoxRatio), caseSize.y * (1 - thisB ...
-
... ymbol; ^out; } asWFSPathArray { ^this } edit { WFSPathEditor.addAll( this ) } asRect { var outRect; outRect = ( this[0] ? Rect(0,0,0,0) ).asRect; this.do({ |wfsPath| outRect = outRect.union( wfsPath.asRect ); }); ^outRect; } plotSmooth { |l ...