-
... + Polar( radius * (2/9), angle ); backCenter = center + Polar( radius, angle + pi ).asPoint; Pen.moveTo( backCenter ); Pen.lineTo( backCenter + Polar( radius * width, angle + 1.5pi ).asPoint ); Pen.lineTo( center + Polar( radius, angle ).a ...
-
... sound generator based on the difference equations: x(n+1) = (x(n) + y(n+1)) % 2pi y(n+1) = (y(n) + k * sin(x(n))) % 2pi The standard map is an area preserving map of a cylinder discovered by the plasma physicist Boris Chirikov. sclang code ...
-
... g repetitions within a span Part of: miSCellaneous Inherits from: DUGen DIdev / PIdef / PLIdev search for numbers with integer distance from a source signal / pattern up to a given deviation. Repetitions within a lookback span are avoided, ...
-
... alue( "%°".format( item ), { vws[ \val ] = vws[ \val ].rotate( item.neg / 180 * pi) }); }); ).title_( "rotate" ), Menu( *[ \x, \y ].collect({ |item| makeAction.value( item.asString, { vws[ \val ] = switch( item, \x, { (vws[ \val ].x.neg) @ ...
-
... al = spec.map(sldr.value); if(spec.units == "π", { nb.value_(val.round(0.001) / pi) }, { nb.value_(val.round(0.001)) }); chain.setParam(chDex, dex, ctlOrder, val) }) .orientation_(\horizontal) .value_(spec.unmap(spec.default)) ; nb = Number ...
-
... les Hello cube Rotate canvas with mouse Animated canvas Drawing realtime sound spinning toruses knots demoscene Classes (extension) | GUI > 3D'>3D Canvas3D Extension 3D vector graphics canvas Location: NOT INSTALLED! See also: Canvas3DItem ...
-
Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code
... top Version 1. A little toy physics simulation of a double pendulum with damping and drive. The math is a little inconsistent in SuperCollider when dealing with numbers super small and super large, especially when trig functions are inv ...
-
... \on).valueAction_(1.0.rand); // Same for the offs, but use automatic group wrapping of arrays of elements: MKtl('lpd').addNamed(\offs, MKtl('lpd').elAt(\pad).collect(_[\off])); MKtl('lpd').elAt(\offs); MKtl('lpd').elAt(\offs, 0); // give t ...
-
... Pen.moveTo(cogs[0]); Pen.lineTo(cogs[1]); cogs= cogs.collect{|p| p.rotate(pi/numCogs+offset)}; Pen.lineTo(cogs[2]); Pen.lineTo(cogs[3]); cogs= cogs.collect{|p| p.rotate(pi/numCogs+offset)}; Pen.lineTo(cogs[0]); Pen.line ...
-
... ; classes.do { |class| var coll = class.fill(10, { 1.0.rand }); coll = coll.add(pi); this.assert(coll.includes(pi), "adding something to an array it should include it afterwards") }; } test_arrayshape { var maxLength = 8, maxDepth = 4; var ...