I want to write an application using processing-JS , and I would like to be able to load it using server data, I have not written the server part yet, so I can use anything, but it seems obvious that AJAX will use JSON to load data on page.
How can I access this data from my processing code? Is it something as simple as data in scope or can it be bound to a window object and directly accessible from processing code?
Refresh . Let me clarify the question a bit. I like JSON (but thanks for the links) and with writing code for the client and server; my real question (which admittedly might be a little silly) is this: if I get data from, for example, jQuery and want to manipulate it in js processing, is it in the same namespace? Do I have to do anything special to access it?
source
share