German user mqwaq has ported the Processing.js port to iPhone. But it’s not the iPhone part that makes this so excellent, necessarily. Even cooler:
- It doesn’t require a browser to run. And –
- The graphics engine is OpenGL ES, the cross-platform 3D spec for mobile/embedded devices.
- And then he tweaked the whole thing to make it still faster.
The beauty of this to me, as well, is that the results can do all sorts of wonderful stuff — but you could easily bring the results to other mobile devices, too. (Hello, Android!) I’d still like to see Java on the iPhone, but it’s just one piece of the picture: the larger picture is the ability to make art with code on any platform using free and open-source code that works really well.
And credit where it’s due: the other reason this works well is that Apple’s done such a good job of making the OS and hardware interface work. This demonstrates that having a real OS has power not only when you’re using vendor-specific frameworks from Apple, but cross-platform frameworks, too. Now, if only Apple weren’t so restrictive about what they let you run.