-
... 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 ...
-
... (0.0001, 1, inf ); c = a.asStream.nextN(500); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the values c.histo(500).plot(bounds: Rect (10, 410, 520, 380), parent: w); ) // sound ex ...
-
... 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 ...
-
... ) pop() nofill() stroke(0) strokewidth(0.25) fill(random(), random(), 0, 0.096) rect(x, y, width, height) rect(x + offset, y + offset, width, height) fill(1, random(), random()) line(x, y, x + offset, y + offset) line(x, y + offset + y + q, ...
-
... e; slider = Array.newClear(param[0].size); win = SCWindow(" fastgui: " ++ name, Rect(10 + 20.rand, 500 + 20.rand, 300, (param[0].size * 20) + 50), false); win.view.decorator = lay = FlowLayout(win.view.bounds, 5@5, 5@5); SCStaticText(win, 5 ...