Linux 软件免费装
Banner图

Processing code directly

开发者 @benoitwimart
更新时间 2014年5月23日 17:15
PHP版本: 3.3 及以上
WordPress版本: 3.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

code JavaScript processingjs Processing processing-js

下载

详情介绍:

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 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]

安装:

  1. Install (download https://github.com/benoitwimart/p5js/archive/master.zip, unzip, copy in wordress/wp-content/plugins or send .zip on plugin page http://yoursite.com/...wp-admin/plugin-install.php?tab=upload
  2. Activate at page http://yoursite.com/.../wp-admin/plugins.php
  3. Add shortcode like [p5js code canvas]void setup(){/ your code and more here /}[/p5js]
tips : p5js button is available in the wp html editor tab

更新日志:

= 1.4.7 = is Processingjs Version = 1.4.7.1 = remove filter bug = 1.4.7.2 = remove bug, add keyword, add button show/hide