Loading...
Logo
Processing Forum

Hello, Im a fond user of the proscene library, it really works well for 3d scenes, especially the camera and object manipulations make a solid contirbution to processing. However in the new version of processing 2.0 beta 7 the only way of making webaplications is processingjs and this does not allow the use of java libraries.

I was wondering, is there a plan to make a proscene.js? If not, does anyone know how one could still make a processing 2.0 scene, with proscene, run in a webbrowser?

Replies(5)

Hi, thanks for your interest.

Short answer: yes, there's a plan to support js and android in proscene :)

I can't give you too many details about it since, among other things, it depends on processing-2 standards which, as far as I know, are currently being developed. Current proscene version (1.1.96) partially supports android already: I tested some sketches and they run, without interactivity. That would require TouchEvents to be implemented within processing first. I didn't test exporting to js though. Have you try it?

That is good to hear, I did test it, first error it gave was that it did not recognise the "scene" class :(

Unless I m mistaken the javascript version expects a full javascript library so the .jar will not work...

Is there any update on this? I'm currently working on a project that uses the Proscene library and  depending on if there is going to be a javascript version of the library I may have to find different JS solution to handle camera interactions in a buffer.
Thanks for your interest which is high on our priority todo list, but really don't know when it's going to be completed. Since proscene uses PApplet.registerMethod* extensively, it depends on the mechanism provided by P5 to handle the events on JS and Android. As far as I know, nothing is defined just yet. Currently, we have some basic Android and JS ports; some examples already run in Android, but without interactivity for the above reason. I'll keep you informed about any progress about it (here and at the project web page).
Thanks for the update nakednous, 
      
      If you need an extra pair of hands to work on something or maybe just an extra set of eyes I would be more than glad to help speed up the process.