-
... n= 50, wind, cnt= 0, amp= 0.5, period= 400; //--world w= RedWindow("wind test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 7, 0.01); //dim,grav,maxvel,damp //world= ...
-
... height= 300, w, wgrav, world, n= 80, sys; //--world w= RedWindow("wave test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.4]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objec ...
-
... t= 300, w, wgrav, world, n= 5, ploc; //--world w= RedWindow("linked pendulums", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.0025); //dim,grav,maxvel,damp //--obj ...
-
... rpreted as file/folder paths. A folder works multi-level, listing subfolders. Directories navigate to the next level with a new window and an up ../ option. You can still add \key->action associations, just like in ActionMenu. Closes on cli ...
-
... ollows circular movement \horiz - value follows linear movement in horizontal direction \vert - value follows linear movement in vertical direction Defaults to \round . Arguments: inputMode One of the symbols listed above. . keystep . keyst ...
-
... ad, theta, func, cnt= 0, speed, magnitude; w= RedWindow("more func plot image", Rect(128, 64, width, height)).front; magnitude= 10; speed= -0.02; resolutionX= 160; resolutionY= 120; img= Image(resolutionX, resolutionY); //--loop w.draw{ cnt ...
-
... lter the appearance of those icons. . globalScale defaults to 0.8 of the parent rect. . listKeys lists all the function keys Inherited class methods Instance Methods Inherited instance methods Examples Use WITH wslib Quark // list new icons ...
-
... , Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("wave test2 synths", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.2]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.5); //dim,grav,maxvel,damp //world= Re ...
-
... Pbrown(0.0, 1.0, 0.1, inf); c = a.asStream.nextN(500); w = Window.new("Pbrown", Rect(10, 10, 540, 800)); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bo ...
-
... height= 480, w, wgrav, world, n= 12; //--world w= RedWindow("attractor test4", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 5, 1); //dim,grav, ...