p5.js WP – WordPress PluginPortfolio Project
I designed a WordPress plugin allowing p5.js scripts to be easily embedded in WordPress posts and pages. I initially created it for my blog before the p5.js web editor was created, which made embedding p5.js a lot simpler. I polished it for release more recently.
The plugin works via WordPress shortcode. The shortcode, [p5jswp], generates an iframe containing your p5.js script, preventing the script from messing with the rest of the page. The shortcode has a number of options, and features:
- Inline CSS
- A few more!
It’s available via GitHub, and up-to-date information and usage instructions can be found in the Readme.