Processing code directly

Processing code directly Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,701 downloads
Processing code directly Icon

Try plugin: Processing code directly

We'll create fresh WordPress site with Processing code directly installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Processing code directly

Processing code directly in your web page with shortcode is using this technique :

4


0


0


0


0

updated: 10 years ago
since: 10 years ago
author: @benoitWimart

Description

Processing code directly in your web page with shortcode is using this technique :
http://processingjs.org/articles/jsQuickStart.html#processingcodeinwebpage

and adding prismjs (http://www.prismjs.com) for highlight the code

add processing code in your post

Just add shortcode

  • [p5js code canvas][/p5js] to show the code and the result
  • [p5js code][/p5js] to show the code
  • [p5js canvas][/p5js] to show the result of the code

example

[p5js code canvas]

  1. // Processing code
  2. void setup() {
  3. size(200, 200);
  4. background(100);
  5. stroke(255);
  6. ellipse(50, 50, 25, 25);
  7. println(“hello web!”);
  8. }

[/p5js]