-
... s; }.defer; } buttonBounds { // if(view.tryPerform(\relativeOrigin) ? false) { ^Rect(0, 0, buttonWidth, bounds.height) // } { // Rect(bounds.left, bounds.top, buttonWidth, bounds.height) // } } textBounds { // if(view.tryPerform(\relativeOr ...
-
... s; }.defer; } buttonBounds { // if(view.tryPerform(\relativeOrigin) ? false) { ^Rect(0, 0, buttonWidth, bounds.height) // } { // Rect(bounds.left, bounds.top, buttonWidth, bounds.height) // } } textBounds { // if(view.tryPerform(\relativeOr ...
-
... 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 ...
-
... 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 ...
-
... 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" ...
-
... var triggeredBySink = false; ~temp = nil; win = Window.new("Sound Descripter", Rect(140, 800, 1100, 200)) .front.alwaysOnTop_(true) .background_(colorSet1[2]) .onClose_({ onsetButton.valueAction = 0; breakButton.valueAction = 0; peakIndexB ...
-
XixiPredator { var <>point, rect, destpoint, stageRect, preyArray, predatorArray; var prey; var fillcolor, strokecolor; var posNegX, posNegY; var xDistance, yDistance; var <>friction, restlessness, <>restlessSeed; var xAway, yAway; var choo ...
-
... 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 ...