[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] SuperCollider to NodeBox

i'm sorry, i hit the wrong reply button, please ignore!

Am 12.02.2008 um 01:51 schrieb Sciss:

something must be wrong with your system, i have worked a couple of
times on linux (fedora, ubuntu, ubuntu studio), performance was
always good. i assume you run java 1.5 or 1.6 from sun?

Am 12.02.2008 um 00:48 schrieb Mark Polishook:

I've posted a SuperCollider-to-NodeBox bridge at http://
www.polishook.org/code/NB.zip. The bridge, which basically wraps
the NodeBox API in SuperCollider code, includes all required items
except for NodeBox (http://nodebox.net). An example:

n = NB("hello_world", 400, 300);
n.background(0, 1, 0);
    n.skew(rrand(0, 180));
    n.rotate(rand(0, 360));
    n.fontsize(rrand(8, 22));
    n.fill(0.5, 0, 0.91425.rand);
    n.text("Hello, world!", rrand(20, 380), rrand(20, 280));
n.fill(1, 0, 0);
n.text("Hello, world", 50, 50);

In Leopard, rendering commands can be sent directly from
SuperCollider to NodeBox. Pre-Leopard seems to require rendering
manually in NodeBox.

I'll be making a few more revisions and uploading it as a Quark in
the near future. In the meantime if there are comments, send them,
perhaps off-list.

Many thanks to Thor M. and Andreas V. for comments -
sc-dev mailing list

sc-dev mailing list