Description

Where's the applet???

You may notice that the applet hasn't been loaded yet. I did that on purpose, to show you the options that P5Barebones gives you for loading applets. With a simple flick of the proverbial JavaScript wrist, you can:

All those nifty options, packed into ONE line of JavaScript? Impossible! How DO you do it?

More information

This is a demo sketch built using Eclipse and Ant, using the P5-Barebones framework by Greg Jordan.

P5Barebones is meant to be easy-to-use and simple. To use it yourself, just do the following:

  • Make sure you've satisfied the requirements noted below.
  • Download the "complete project" file (listed below), extract to a folder, and run Ant on the buildfile. To do this, open a command prompt, navigate to the directory with "build.xml", and enter the following command:

    ant

    and the HTML output is saved in the "applet" directory.

  • To change the sketch, just edit the Java source code located in the "src" directory and recompile using the Ant command.
  • It's really that easy!

Requirements

You'll need fairly recent versions of both Eclipse and Apache Ant. For some help in getting Ant working with Eclipse (it can be a bit finicky!), try the following IBM DeveloperWorks article.

If you run into trouble, please visit the relevant discussion thread to get more information or request help.

Downloads

Created with Processing. Built with P5Barebones on March 4 2008.