« Return to Thread: hobnox
<script type="application/processing">
float x, y;
float s = 40.0;
void setup()
{
size(200,200);
noStroke();
frameRate(30);
}
void draw()
{
background(102);
x = x + 0.8;
if (x > width + s) {
x = -s;
}
translate(x, height/2-s/2);
fill(255);
rect(-s/2, -s/2, s, s);
// Transforms accumulate.
// Notice how this rect moves twice
// as fast as the other, but it has
// the same parameter for the x-axis value
translate(x, s);
fill(0);
rect(-s/2, -s/2, s, s);
}
</script><canvas width="200" height="200"></canvas>recently announced that somebody ported the "processing language to javascript."which sounds a bit crazy.but trueOn Thu, May 15, 2008 at 3:21 PM, nonprivate <nonprivate@...> wrote:
hi yo, did anyone see this?
http://www.hobnox.com/index.1056.de.html
it's flash controlling some java audio thing, apparently. it's pretty
clever. i also found some other java audio demos that are quite impressive:
http://www.cs.ubc.ca/~kvdoel/jass/
what's the feasability of making a supercollider server internet plugin?
i wouldn't have a clue, but i thought it was worth suggesting, and i
think it would increase sc usage too, as it would give a really good
reason for people to get into it.
i'm starting to investigate processing. although it's a bit daunting
being at the start of learning another language, albeit a nice high
level one, it's a big incentive that "sketches" can be quickly exported
to web usable applets.
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users
« Return to Thread: hobnox
| Free Forum Powered by Nabble | Forum Help |