-
... nder(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; a.drawOutlines; }; ) ⧉ ✔ helpfile source: /tmp/scqua ...
-
... nder(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; a.drawOutlines; }; ) ⧉ ✔ helpfile source: /tmp/scqua ...
-
... nder(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; a.drawOutlines; }; ) ⧉ ✔ helpfile source: /tmp/scqua ...
-
... xample * 200131 - added lsystem grow example * 180226 - added linked and double pendulum examples * 180103 - unified RedWindow and removed RedJWindow and RedQWindow. checked and updated all examples (mostly formatting). new markdown readme ...
-
... n= x position \beat, (1-(o.loc[1]/height)*400) //freq= y position ); //--render Pen.fillColor= Color.grey(o.state[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths. ...
-
//gui example with userview / pen graphics ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: ...
-
... n= x position \beat, (1-(o.loc[1]/height)*400) //freq= y position ); //--render Pen.fillColor= Color.grey(o.state[\cell]*0.85+0.15, 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths. ...
-
... nder(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; }; ) ⧉ ✔ helpfile source: /tmp/scquark_hs/redUnivers ...
-
... te; a.render; a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector[0, 0.5, 0, 0, 0, u.frame*0.01]); a.update; a.render(2, 100); a.drawOutlines; }; ) ⧉ ✔ helpfile source: /tmp/scquark ...
-
... nstrument..."), GridLayout.rows( *images.collect{|x| UserView().drawFunc_{|usr| Pen.stringAtPoint(x.key.asString.drop(1), 50@50, Font(SGUI.font.name, 64))} .setBackgroundImage(x.value, 10).mouseUpAction_{SInstruments.toFront(x.key.asString) ...