Hi i'm new to processingjs. can anyone explain me how to access processing variable from a JavaScript?
Basically i need a value of a variable which is inside pde.
Example:
sample.pde
int sample=50;
void setup(){
..
..
}
html file:
<script type="text/javascript" src=".processing.js"></script>
<canvas data-processing-sources='sample.pde'></canvas>