-
... 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 ...
-
... ties.put(\rMSpec, [0, 1].asSpec); w = GUI.window.new("Virtual Room Properties", Rect(128, 64, 340, 100)); w.view.decorator = f = FlowLayout(w.view.bounds,Point(4,4),Point(4,2)); t = GUI.staticText.new(w, Rect(0, 0, 75, height+2)); t.string ...
-
... , 0.0, 1.0, inf ); c = a.asStream.nextN(500); w = GUI .window.new( "Pfnoise0" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); ) ( var a; a = Plfnoise0 (20, 0.0, 1.0, inf ); ...
-
... , 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 ...
-
... 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, ...
-
... , 0.0, 1.0, inf ); c = a.asStream.nextN(500); w = GUI .window.new( "Pfnoise1" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); ) ( var a; a = Plfnoise1 (20, 0.0, 1.0, inf ); ...
-
... 0.0, 1.0, inf ); c = a.asStream.nextN(500); w = GUI .window.new( "Plfnoise2" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); ) ( var a; a = Plfnoise2 (20, 0.0, 1.0, inf ); ...
-
... t= 100, w, wgrav, world, n= 1, ploc; //--world w= RedWindow("pendulum test 1d", Rect(128, 64, width, height)).front; wgrav= RedVector[0.5]; world= RedWorld(RedVector[width], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= Re ...
-
... ysize = 30; counter = counter + 1; w = w ?? { w = GUI.window.new("Sensor Data", Rect(xposScreen, yposScreen, xsize + 20, 700)).front; w.view.decorator = FlowLayout(Rect(10, 10, w.bounds.width, w.bounds.height), 2@2, 2@2); }; labelColor = Co ...
-
... n.color = Color.hsv(setObj.classID+1 * 0.2, 1, 1, alpha: 0.25); }); GUI.pen.fillRect(Rect(oExtent*0.15, oExtent*0.15, oExtent*0.7, oExtent*0.7)); }; GUI.pen.use{ GUI.pen.color = Color.black; GUI.pen.string(setObj.id.asString); }; /*GUI.pen. ...