-
... mate_(true); u.drawFunc = { |u| Pen.strokeColor = Color.white; Pen.moveTo( Point(0, a[0]) ); a[1..].do{ |value, index| Pen.lineTo( Point(index+1, value) ) }; Pen.stroke; }; // call our function when the mouse is pressed or move ...
-
... }) } update { // if what is 'grid' ins = inlets.asArray.sort({ arg a, b; a.unit.point <= b.unit.point }); outs = outlets.asArray.sort({ arg a, b; a.unit.point <= b.unit.point }); } draw { var b, gr; b = uv.bounds.moveTo(0, 0); gr = Rect(lab ...
-
... y21 * x13)) / denom; if ((ub < 0) || (ub > 1), { ^false; }) }); ^(x@y) } projectPoint2Line{arg aPoint; ^(p1+(p2-p1).asRealVector.proj((aPoint-p1).asRealVector2D)); } closestPointOnLine{arg aPoint; ^(p1+(p2-p1).asRealVector.proj((aPoint-p1). ...
-
... eve pattern for arbitrary set operations of integer generators with offsets and point output Location: NOT INSTALLED! See also: miSCellaneous , Sieves and Psieve patterns , Sieve , Psieve , PSVunion , PSVunion_i , PSVunion_o , PSVunion_oi , ...
-
... s Undocumented instance methods @ addX addY addxyc at barf clipAt clipkr do dumpPoints foldAt foldkr init kr maxX maxY minX minY plot points scaleX scaleY setBounds setCurves size validate wrapAt wrapkr Help template Description This class ...
-
... asSymbol] }, ioType: \in ) ), elementsDesc: ( // input elements: // 10 floating-point arguments indicating the current readings of the on board sensors. Arguments 1 – 3 gyroscope (°/s) x, y, z; arguments 4 – 6 accelerometer (g), x, y ,z; ar ...
-
... te its own Window , and place it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of Rect or Point . Default value is 160@20 . label - The lab ...
-
... .close}); } //--private prContainer { var width, height; position= position ?? {Point(600, 400)}; width= 120; height= 140; if(parent.isNil, { parent= Window(redMix.class.name, Rect(position.x, position.y, width, height), false); win= parent ...
-
... robability distribution for the next perturbation of the amplitude of a control point. The distributions are (adapted from the GENDYN program in Formalized Music): 0- LINEAR 1- CAUCHY 2- LOGIST 3- HYPERBCOS 4- ARCSINE 5- EXPON 6- SINUS Wher ...
-
... oes not add itself to the world. Sometimes useful for non rendered objects e.g. points of attraction. Class Methods Inherited class methods Instance Methods Inherited instance methods Examples a= RedWorld.new b= RedHiddenObject(a) a.objects ...