Processing JS: WordPress Plugin

A plugin for WordPress to make it easy for users to include Processing JS sketches into blog posts.

Download — Latest Version

Installation (for WordPress 2.8+)

The easiest way to install the plugin is to use the plugin installer in WordPress.

If you want to do it manually:

  1. Upload the processingjs directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Once activated, you’ll notice a ‘processing’ button when you’re writing or editing a post in HTML mode. Clicking it will insert a very simple Processing sketch into your post. You can use it as a template or write your own from scratch. You’ll find examples (with code) of what can be done here: Processing JS Demos.

Questions?

If you find this piece of code useful, please consider donating. I’m a student working on these projects in my spare time. My sites carry no advertising and I release most of the code I work on under a free software license so anyone can benefit from it. I don’t receive any payment for this work so I have to rely on donations if I want to put off becoming a wage slave. Your contribution (whatever the amount) would be greatly appreciated.

5 Comments

  1. Simon
    Posted 7 November 2009 at 3:54 pm | Permalink

    Hello thanks for this awesome plugin, it definetly beats the java/html manual solution. I have a question though, if my processing file uses external files (such as a font or a picture) where do I need to keep them in wordpress in order for them to be called up on correctly?

  2. Posted 8 November 2009 at 12:47 pm | Permalink

    Hi Simon, glad you like the plugin. As for external files, I don’t think Processing JS looks into a specific folder by default. So you should be able to place external files anywhere you like but refer to them with an absolute path. E.g. /wp-content/uploads/

  3. Sped
    Posted 25 January 2010 at 8:47 am | Permalink

    Simon, thanks for writing the program.

    I am wondering if the Minim audio library can function within the plugin environment?

    Because I am extremely new to Processing, I may be dreaming a bit. But I wanted to ask you. Please reply when you have a moment. Thanks.

  4. Sped
    Posted 25 January 2010 at 5:50 pm | Permalink

    Apologies, my last question is directed towards Keyvan.

  5. Posted 26 January 2010 at 2:46 pm | Permalink

    Sped: I think you’ll find many of the libraries you’re used to in Processing missing from the JS version. I know audio is one area where there is some work being done at the moment. You might find some information in this thread: http://groups.google.com/group/processingjs/browse_thread/thread/b89ca0e7f14558a2

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting