-
... heightCartPlane, rad, theta, func, cnt= 0, scale= 2; w= RedWindow("func plot", Rect(128, 64, width*scale, height*scale)).front; widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%(width*scale); dx= widthCartPlane/(widt ...
-
... ticles, attractor, font= Font(Font.defaultMonoFace); //--world w= RedWindow("", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], RedVector2D[1, 1], 100, 0.5); //dim,grav,maxvel,damp //--particles (an Array w ...
-
... height= 300, w, wgrav, world, n= 10; //--world w= RedWindow("attractor test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 5, 1); //dim,grav,maxvel,damp //--objects { ...
-
... ght= 480, w, world, n= 10, synths; //--world w= RedWindow("listening pos test", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], damping:0.5); //dim,grav,maxvel,damp //--synthesis SynthDef(\beating, {|out= 0 ...
-
... and-drop sources and destinations. They are graphically represented as a simple rectangle, and their specialty is that they do not require the Cmd/Ctrl key to be held down to initiate dragging . Akin to StaticText they can store arbitrary c ...
-
... eight= 480, w, wgrav, world, n= 100, kmeans; //--world w= RedWindow("k-means2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0); //dim,grav,maxvel,damp //--interface ...
-
... w, wgrav, world, obj, ploc, s= 1, f= 0.1; //--world w= RedWindow("pendulum 3d", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0, 0]; world= RedWorld(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel,damp w. ...
-
... ht= 480, w, wgrav, world, n= 50, ploc; //--world w= RedWindow("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objec ...
-
... 0, height= 480, w, wgrav, world, ypos; //--world w= RedWindow("pendulum test5", Rect(128, 64, width, height)).front; w.clearOnRefresh= false; wgrav= RedVector2D[0, 0]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.001); //dim,gra ...
-
... 300, height= 300, w, wgrav, world, n= 1; //--world w= RedWindow("vector test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.4, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,gra ...