COMP1863 - Computer Programming and General Applications

How To Publish a Sketch

To publish a Processing sketch to the Web:

  1. Export the sketch from the Processing IDE. This creates and opens a folder named "applet" in the sketch folder.
  2. Login to the Acadia network.
  3. Create a folder named "www" on drive "H:" (Axe), if there isn't such a folder.
  4. Create a folder for your sketch in folder "H:\www". Name the folder appropriately, such as "zoog". (Use only letters, digits and '_' is the folder name; especially no spaces).
  5. Copy and paste the files of folder "applet" from step 1 into the folder from step 3.
  6. If you want to change the web page, edit file "index.html" in the folder in "H:\www".
  7. Test the sketch. Open "http://axe.acadiau.ca/~username/foldername" in you browser, where "username" is your Acadia network name, such as "012345z", and "foldername" is the name of the folder in "H:\www"; e.g. "http://axe.acadiau.ca/~012345z/zoog".
  8. Tell your relatives and friends to browse your sketch.

Last Modified: 2009-09-21.

Valid CSS! Valid XHTML 1.0!