-
... * 0.5); var halfColor = hiliteColor.copy.alpha_( hiliteColor.alpha * 0.5 ); var rect, fillRect, fillRect2, fillColor; var hexPoints = 7.collect { |i| Polar(center.y, 2pi * (i/6) + angle).asPoint + center }; Pen.fillColor = hexColor; Pen.mov ...
-
... ue) }, {|box| this.extDetCent_(box.value) }, ].collect { |func, i| NumberBox(w, Rect(0,0, width / 5 - 3, 20)) .decimals_(3) .action_(func); }; boxes[[0, 1, 4, 9]].do { |box| box.enabled_(false).scroll_(false) }; } allVals { ^[ refVal, baseV ...
-
... with JITGui: * put into a zone with its own layout * make sure it works with direct placement, FlowLayout or new Layout schemes * know its own preferred size * know how to place itself in a Layout * flexify getVal function, * so PdefnGui c ...
-
... r width= 640, height= 480, w, theta= 0, speed= 0.01, box; w= RedWindow("3Dbox", Rect(128, 64, width, height)).front; box= Red3DBox(); //--loop w.draw{ theta= theta+speed; box.rotation= RedVector3D[theta, theta, theta]; box.update; //--rende ...
-
... ; }; ~makeBandpassFilter.value('5-50'); win= Window("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(channelDa ...
-
... ? <dragViews, // one per key minNoteFloor, maxNoteCeil; // to position views correctly *initClass { StartUp.add({ // font = GUI.font.new("Helvetica", 10); // nice and small backColors = ( ready: [Color.new255(181, 196, 255), Color.new255(13 ...
-
... ? <dragViews, // one per key minNoteFloor, maxNoteCeil; // to position views correctly *initClass { StartUp.add({ // font = GUI.font.new("Helvetica", 10); // nice and small backColors = ( ready: [Color.new255(181, 196, 255), Color.new255(13 ...
-
... with JITGui: * put into a zone with its own layout * make sure it works with direct placement, FlowLayout or new Layout schemes * know its own preferred size * know how to place itself in a Layout * flexify getVal function, * so PdefnGui c ...
-
... height= 480, w, theta= 0, speed= 0.005, hypercube; w= RedWindow("3Dhypercube", Rect(128, 64, width, height)).front; hypercube= Red4DTesseract(); //--loop w.draw{ theta= theta+speed; hypercube.rotation= RedVector[theta, 0, 0, 0, 0, theta]; ...
-
... var useScope = false; // (s == Server.internal); // w = Window("< Bleepo >", // Rect(Window.screenBounds.width - 410, 464, 410, 410 + (200 * useScope.binaryValue)) // ).front; // w.addFlowLayout; // // "q.dir: %\n\n".postf(q); // // m = Pro ...