Home Plugins easy p5 js block
Easy p5.js Block logo

Easy p5.js Block

by Florian Rieder on WordPress.org

Adds a Gutenberg block to easily add custom p5.js code in your pages and preview it as you edit.

(1)
Insert the p5.js block in the editor and edit the code.

Insert the p5.js block in the editor and edit the code.

This p5.js Gutenberg block plugin is the perfect tool for showcasing your generative art or adding an extra level of visual interest to your website. With p5.js, you can create interactive, dynamic, and customizable visuals that will keep your audience engaged and excited. Whether you’re an artist, designer, or developer, this plugin makes it easy to integrate your p5.js sketches into your WordPress website. Impress your visitors with your stunning generative art and take your website to the next level with this p5.js Gutenberg block plugin.

Try it out on a free dummy site now !

Acknowledgements

This plugin is similar to Mark Uraine’s p5.js block, and is in fact reverse engineered from it, although very little of the actual code is reused (see mapk/p5js-block). I was prompted to develop this plugin due to encountering bugs, lack of display options, and mostly the lack of updates and support for this original plugin. I feel like it should be easier to insert p5.js artworks into WordPress websites and blogs, and this is my contribution to it (although it may be buggy, I try my best. Feel free to ask in the support forum, or open an issue or a pull request on Github).

This project uses the p5.js library version 1.7.0, which is free software under the GPL License. Currently, this plugin does not include the p5.sound.js libraries.

Active installations200+
Weekly downloads
39+30.00%
Version1.1.2
Last updated10/6/2024
WordPress version6.1
Tested up to6.6.2
PHP version7.0
Tags
creative codinggenerative artjavascriptp5jsprocessing