-
... ould/might display WinBounds.addMake(\webMouse, { var win = Window("\webMouse", Rect(200, 600, 200, 400)).front; win.alpha_(NTMI.g.alpha); NTMI.webMouse.win = win; NTMI.webMouse.uv = UserView(win, win.view.bounds).front; NTMI.webMouse.uv.cl ...
-
... Pen.fillColor_(super.beatColor); if(super.orientation == \horizontal) { Pen.fillRect( Rect( super.interactionRect.left + (thisBeat * (super.interactionRect.width / super.values.size)), super.interactionRect.top, super.interactionRect.width ...
-
... r width= 300, height= 300, w, wgrav, world; //--world w= RedWindow("rock test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 3, 0); //dim,grav,maxvel,d ...
-
... r width= 300, height= 300, w, wgrav, world; //--world w= RedWindow("rock test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 3, 0); //dim,grav,maxvel,d ...
-
... = Array.fill( nPoints - 1, { deltaTime }); ^WFSPath( points, times, name ); } *rect { |left = -1, top = 1, width = 2, height = 2, cr = 0, cd = 5, length, name| // cr: rounded corner radius; cd: rounded corner division var points, times, de ...
-
... pleaseWait; { var h,fb,f,w,val,space; window = f = GUI.window.new("::inspect::",Rect(440,500,1100,900)); f.view.background = Color.white; h = f.bounds.height - 50; w = f.bounds.width; menu = GUI.listView.new(f,Rect(3,0,200,h)); menu.font = ...
-
... c( \startCenter, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \startRadius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) ) .setSpec( \endCenter, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \endRadius, PointSpec( Rect(-200,-200,400,400), 0.1@0.1 ) );
-
... w, wgrav, world, n= 60, s= 1, f= 0.25; //--world w= RedWindow("boids 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.1, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel, ...
-
... , height= 300, w, wgrav, world, n= 20; //--world w= RedWindow("collision test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 10, 0.6); //dim,grav ...
-
... w, wgrav, world, n= 60, s= 1, f= 0.25; //--world w= RedWindow("boids 3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.1, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.01); //dim,grav,maxvel, ...