-
... Tdef(instrument).set(val, 0.5) }); }); // GUI for tdefs w = Window("SC grids", Rect(100, 100, 400, 580)); [\hh, \k, \sd].do({|instrument, num| Slider2D(w, Rect(20, 20 + (180*num), 150, 150)) .x_(0.5) .y_(0.5) .action_({|sl| Tdef(instrument ...
-
... , wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= RedWorld1(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,d ...
-
... idth= 640, height= 360, maxAge= 200, maxBorneAge= 100; var win= Window("red04", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; physics= TraerParticleS ...
-
... ew Arguments: parent a parent view. if nil, then a new window is created bounds Rect . if nil then the parent Rect is used labels an array of strings. determines how many tabs there are. default ["tab1", "tab2", "tab3"] colors an array of c ...
-
... height= 400, w, wgrav, world, n= 100, kmeans; //--world w= RedWindow("k-means", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0); //dim,grav,maxvel,damp //--interface ...
-
... idth= 640, height= 360, maxAge= 200, maxBorneAge= 100; var win= Window("red05", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; usr.clearOnRefresh= fal ...
-
... = Bus.control; widthBus = Bus.control.set(60); w = GUI.window.new("5.1 Panner", Rect(128, 64, 400, 450)).front; w.view.background_(Color.grey(0.3)); w.view.decorator = FlowLayout(w.view.bounds); speakerList = [[-30, "L"], [30, "R"], [0, "C" ...
-
... e rendering plot lockFocus unlockFocus draw drawStringAtPoint drawAtPoint drawInRect tileInRect Instance Methods / accessing and setting pixels setPixel getPixel setColor getColor pixels loadPixels setPixels Instance Methods / Attributes fo ...
-
... network. Internally, local files are symlinked to current WsWindow's working directory, so they can be placed anywhere in the filesystem. Class Methods . new Create new instance and add it to the window immediately. . init Create new insta ...
-
... this when using WsLayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) ...