Hi all,
as processing.js doesn't include all of the processing libraries, I wish to use both (processing.js and processing) inside my webpage and to exchange datas betheen them. I couldn't find any exemple or idea.
1) how to send a variable (float, int, char, string, array) to processingjs script from processing?
2) how to do the 1) in reverse,
Thank you! Peter
Hi all, I try to use "param()" function, but I am missing something. It doesnť work.
I have this simple code:
void setup() {
size (200, 100);
String test = param("test_string");
if (test == null) test = "test_null";
text(test, 80, 15, 600, 20);
}
void draw() {
}
and the param("test_string"); is param from the html generated by processing. I am unable to get the value="outer" or "inner"
I am doing a mistake somewhere...How to easily add the param to the index.html already generated?
Thank anyone for help
Peter