We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I coded a 3D grid and used the PeasyCam library. The entire application spans 3 sketches.
I tried going into Javascript mode, exporting it as an application, compressing it into a zip file and then uploading it. The code is preserved but it won't run! All I see is a gray box. I tried to merge the 3 sketches into a single sketch by cp-ing and again, it runs fine as a single sketch. However, I still get the gray box.
My code works fine in the Processing IDE, though. What could be the issue that's preventing OpenProcessing from running?
Answers
JavaScript mode opens up a browser after you press Run button!
I think you shoulda checked it 1st before even hosting it somewhere else!
Besides, those Processing host sites accept code straight from Java mode after all!
It didn't work then.
Could it be because I imported the PeasyLibrary?
PeasyCam O_o ? Java libraries don't work w/ JS! You gotta find something similar to that in JS instead. :@)
If that's the case, better program in CoffeeScript mode. Its syntax for classes are much closer to Java's! *-:)
Ah! Almost forgotten it: http://OpenProcessing.org still accepts JApplet apps I believe!
Easiest way to pull that out is by exporting an app in the old Processing v1.5.1!
Good luck! You're gonna need it for sure!!! %%-