FAQ


  • Q: How do I get processing to work in a browser with javascript.
    A: Look at tutorial: part 6, section processing (on) canvas.

    All these examples have been tested. Look first at the cfg file, top right, which indicates the general structure of the HTML file. It uses a special script type, that is processed by the init file. For the actual processing code, look at the pde file, and (in case you want to use that) copy it between the script tags.

    The brightness example (move your mouse over the black square) can be found in local/example/processing.

    Note, all examples in the tutorial have been generated from the pde code from the www.processing.org site, which explains their somewhat peculiar structure. For more information about processingjs, look at processingjs.org See reference(s) for supported commands.