Another Processing Java Applet Plugin

As part of touching up the site I wanted to get rid of the old applet tags which held up some of the sketches, but I couldn’t find a suitable plugin for my needs. So I made one myself.

It supports parameters, multiple jar files and different sizes. I wanted the support for multiple files in particular so that I can have only one core.jar (and any other duplicated library files).

L_BRACKET sketch name=”name” listostuff=”/path/file1.jar,/path/file2.jar,/path/file3.jar” width=”400″ height=”400″ param=”parameter1:value1;parameter2:value2;parameter3:value3″ R_BRACKET

Demo: All applets on this site are added with this plugin.


VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
Another Processing Java Applet Plugin, 10.0 out of 10 based on 1 rating
  • Pierre Rossel

    There is a bug in the plugin code that makes impossible to use the param parameter of the sketch shortcode.

    To fix, search the first line and correct the second to be as below.

    foreach ($param1 as $p)

    • Andrew

      I was under the impression that I uploaded an update to fix this(which also covers $_GET and $_POST variables). I’ll do so tomorrow.

      Thanks for spotting the bug.

  • Chris

    Hey Andrew,

    I don’t know if this is the same problem as the one in the comment before, but I just switched to PHP 5.3 on my webserver and got an error in line 37 of your plugin. The error was about a string conversion in the function explode().

    Here’s the fix:

    Maybe you want to update this line in your plugin for all others, too.