-
... points= {|i| Red3DPoint(RedVector3D[i+1/n-0.5, 0, 0])}.dup(n); //--loop w.draw{ Pen.fillColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; points[i].rotation= RedVector3D[thetas[i], thetas[i], thetas[i]]; points[i]. ...
-
... points= {|i| Red3DPoint(RedVector3D[i+1/n-0.5, 0, 0])}.dup(n); //--loop w.draw{ Pen.fillColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; points[i].rotation= RedVector3D[thetas[i], thetas[i], thetas[i]]; points[i]. ...
-
... ate; } removeUnusedTracks { minTracks = 12; this.calcNumTracks; this.update; } openSelectedSubScoreInNewWindow{ this.selectedEvents !? { |x| var y = x.at(0); if(y.isFolder) { UScoreEditorGUI(UScoreEditor(y)) } } } // call to initialize and ...
-
... tXValueMapping( super.value, super.min, super.max, super.scale, super.expMin ); Pen.fillRect( Rect( super.interactionRect.left, super.interactionRect.top + ((super.interactionRect.height * (1 - thisSliderRatio)) / 2), thisRectSize, this.int ...
-
... zplane = { arg me; var dimH = me.bounds.height, dimW = me.bounds.width, it = 6; Pen.use { //Draw the grid GUI.pen.width = 0.5; it.do({ arg i; if(i == it.div(2), { GUI.pen.strokeColor = Color.red }, { GUI.pen.strokeColor = Color.gray(0.2) }) ...
-
... usr.mouseDownAction; usr.drawFunc= { physics.tick; physics.particles.do{|p, i| Pen.fillColor= Color.hsv(0.6, i/num, 0.7, 0.7); Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass, p.mass)); Pen.fill; }; }; win.front; CmdP ...
-
... s= {|i| Red3DLine(RedVector3D[0, i+1/n-0.5, 0], 1.75)}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; lines[i].rotation= RedVector3D[thetas[i], thetas[i]/2+1, thetas[i]/3+2]; l ...
-
... usr.mouseDownAction; usr.drawFunc= { physics.tick; physics.particles.do{|p, i| Pen.fillColor= Color.hsv(0.6, i/num, 0.7, 0.7); Pen.addOval(Rect.aboutPoint(Point(p.position.x, p.position.y), p.mass, p.mass)); Pen.fill; }; }; win.front; CmdP ...
-
... s= {|i| Red3DLine(RedVector3D[0, i+1/n-0.5, 0], 1.75)}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas[i]+speeds[i]; lines[i].rotation= RedVector3D[thetas[i], thetas[i]/2+1, thetas[i]/3+2]; l ...
-
... unds.height, width = bounds.width, scaleY = height * (0.5 - scale), scaleX; Pen.color_(Color.gray(0.7)) .moveTo(Point(0, scaleY)).lineTo(Point(width, scaleY)) .moveTo(Point(0, height - scaleY)).lineTo(Point(width, height - scaleY)) ...