-
//spinning point ( var width= 640, height= 480, w, theta= 0, speed= 0.01, point; w= RedWindow("3Dpoint", Rect(128, 64, width, height)).front; point= Red3DPoint(RedVector3D[0, 0, 0.5]); //--loop w.draw{ theta= theta+speed; point.rotation= Re ...
-
//spinning point ( var width= 640, height= 480, w, theta= 0, speed= 0.01, point; w= RedWindow("3Dpoint", Rect(128, 64, width, height)).front; point= Red3DPoint(RedVector3D[0, 0, 0.5]); //--loop w.draw{ theta= theta+speed; point.rotation= Re ...
-
... r', [ 'freq', [ 20, 800 ] ] ], [ 'tremolo', [ 'speed', 5 ] ], [ 'wfsSource', [ 'point', 'lag_point' ] ] ).fadeIn_(1).fadeOut_(1) ).gui; ) UScore.current.enableOSC; // or check the 'OSC' button in the gui // manual controls (more than the to ...
-
... lpha_(0.5); borderColor = Color.gray(0.2).alpha_(0.5); } draw { var drawBounds, pointWidth, pointStart, viewHeight, points; Pen.use { drawBounds = this.bounds; if( orientation == \v ) { drawBounds = Rect( drawBounds.top, drawBounds.left, dr ...
-
XixiPrey { var <>point, <>pitch, rect, stageRect; var fillcolor, strokecolor; var rot, predatorArray, preyArray; var xDistance, yDistance, destpoint, move, friction; var posNegX, posNegY; var xAway, yAway; var ateFunc; // what happens when ...
-
... in.background= Color.white; win.drawFunc= { Pen.color= Color.black; Pen.stringAtPoint("Focus Widget", Point(10, 10), f0); }; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.05, 0.19, 0.9, 0.76]*win.bounds.ext ...
-
ParameterSpace{ var <>rect,<curloc; var <points; var <parameterDict; var <weightDict; var <defaultParDict; var <parKeys; var <currentPars; var <weightfactor=2; var <>updateFunc; var <>moveFunc,<>moveScale=1; var <task; var <>dt=0.1; var <>m ...
-
/* \point_direction Creates an UMap for getting the direction angle of a moving point. point: the point centerAngle: the reference angle (subtracted from the absolute angle) fromRange: the angle range from which the output value will be cal ...
-
Point: Filter: Description Class methods new Inherited class methods Undocumented class methods big Instance methods Accessing x y set z Testing == hash Math + - * / translate scale rotate abs rho theta dist transpose round trunc angle angl ...
-
... usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("Accelerometer", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stringAtPoint(ts, Point(ub.width-ts.bounds(f1).width/2, wb.height-ub ...