WordPress-Plugins

Processing-Sketch (WIP)

show code

void setup(){
	size(500,150);
	frameRate(2);

	println("hello web!");
	println(Date.now());
}

void draw() {
	background(0,230,20);
    stroke(0);
    fill(255);
	ellipse(250, 75, 20, 20);
    ellipse((int)random(20,480), (int)random(20,130), 10, 10);
}

show console

No output.

A simple plugin allowing you to save and edit processing sketches and include them at will on any page/post using the following shortcode :

[Psketch canvas code console buttons snippet="processing-test"]  You can display the canvas, console and code. You can also add buttons for easy control.

The custom command import:”processing-include” let you import sketches into one another with the for easy coding.

  – This plugin is still under development –