Run p5.js in your WordPress site with this Gutenberg block.
As of April 2026, p5.js Block is a WordPress p5js plugin with 200 active installations and a 5/5 rating from 4 reviews. It has been downloaded 5.9K+ times in total. Requires WordPress 5.0+ and PHP false+. Available on WordPress.org since 2019. Last updated 5 years ago — may have compatibility concerns. Top alternative: Easy p5.js Block.
p5.js + WordPress. Want to share some generative art on your own WordPress site? This is the plugin to make it happen. Add your custom p5.js code, and preview it in the Gutenberg editor before publishing it on your page or post.
createCanvas(windowWidth, windowHeight). You’ll need to use actual integer values like, createCanvas(700, 400).p5.dom.js or the p5.sound.js libraries.This project was bootstrapped with Create Guten Block under the MIT License.
This project also uses the p5.js library which is free software under the GPL License.
| WordPress | 5.0+ requiredTested up to 5.3.21 |
| PHP | false+ required |
1.1 – Inclusion of p5.js as a local dependency.
1.0 – Functional prototype. It works great using iframes.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.