Burst PJS Introduction
Welcome to the general introduction for Burst.PJS. Burst PJS is a version of Burst that runs along-side Processing.js. This means you can create Flash-like animations with timelines, and combine them with all the crazy Processing.js goodness you are used to.
Things you should know about Burst for PJS
- Burst has 3 main development trunks:
- PJS, the Processing.js version of Burst (you are here)
- PDE, the native Processing versionof Burst
- JS, the bare JavaScript version of Burst
The idea is that all versions of Burst act the same way, have the same commands and share the same features. As of version 0.3.xx this is true of Burst PJS and Burst JS. The PDE and the PJS should always run from the same peice of code. If this means updating Processing.js, so be it. As you can see, even though we are in the PJS documentation, we are loading the burst.x.x.x.pde file. I am hoping this means we can Burst in Applet form to add IE6 aupport where absolutely necessary.
ICE: Integrated Coding Environment is this little web-app-ish page I have built for the documentation. ICE allows you to play with the code in the example which should be handy for testing out new features etc. You will have to click [RUN] to start the Burst script. The 'Version' attribute will not appear in the document until a script is run because... well the script is telling the document which version it's running and updates using jQuery.
There will be more features coming to ICE in time, such as:
- a shape object browser
- a command builder/reference list
- an IRC window to chat with other developers on the fly
Burst include: currently Burst is included in a Processing.js script by adding //burstEngine to very start. Processing.js then parses it along side the rest of the script. Frankly this was a real cheap-shot and needs to be fixed for several reasons. For example: you shouldn't have to update your Processing.js, just because you move your Burst.PDE file.
Latest version: The latest version of Burst will always be running in these docs, which I hope will help crate a few benchmarks.
Get creative
Now you've read the boring bit, dive in to the code, change some stuff and hit [RUN]. Remember... this is a Processing.js script you are editing. jQuery, Processing and Burst are running, so you can make use of all of these in your script if you need to.