-
... ndBus = Bus. audio(s, 2); var harmo_view; var harmo_text; var amp_slider = UserView( win, Rect( margin, win.bounds.height * 0.78 + ( margin / 2 ), win.bounds.width - (margin*4) / 3, win.bounds.height * 0.1 - margin ) ); var lfo_amou ...
-
... positeView.new(w, Rect(0, 0, width, height)) .background_(col); u=UserView(n, Rect(margin, margin, width-(margin*2), height-(margin*2))); // OK u.background_(col); u.drawFunc={|uview| if(toggle.asBoolean, { ...
-
... var win= Window("red03", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0, 0.1); num.do{|i| ph ...
-
... var win= Window("red03", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0, 0.1); num.do{|i| ph ...
-
... perior topPanelBounds = Rect(0, 0, window.bounds.width, halfHeight); topPanel = UserView(compositeView, topPanelBounds) .canFocus_(true); topPanel.mouseDownAction_({|view, x, y, modifiers, buttonNumber, clickCount| var factor = 2; if(clickC ...
-
... win= Window("Simple Pendulum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, p, anchor, s; usr.background= Color.white; physics= TraerParticleSystem(gy:1, drag:0.05); p= physics.make ...
-
... win= Window("Simple Pendulum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, p, anchor, s; usr.background= Color.white; physics= TraerParticleSystem(gy:1, drag:0.05); p= physics.make ...
-
... ildren[1]; ^this.new(sliderZone, slider.bounds); } init { |parent, bounds| uv = UserView(parent, bounds); uv.background_(Color(1,1,1,0)); uv.acceptsMouse_(false); // horizontal for now: uv.drawFunc = { |uv| var bounds = uv.bounds; var maxwi ...
-
... me_(true) .fontRatio_(0.3); var ampSlider = GMFaderSlider(); var ampContainer = UserView() .resizeTo(128, 700) .layout_( VLayout() .margins_(0) .spacing_(0) .add(ampText, 1) .add(ampSlider, 4) ); ampContainer.front; ) ⧉ ✔ Style Setup Before ...
-
... ize+20, scrsize),false).front; //win.view.background_(Color.white); scr = UserView.new(win,Rect(scrsize+20, 0, scrsize, scrsize)); scr.background_(Color.white); setColor = {|x, y, val, postVal=false| //x = x/scrsize; //y = y/s ...