Skip to content

mapk/p5js-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

See it in action

To Install

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

To Contribute

cd /wp-content/plugins/p5js/
npm install
npm run

To Remember

  • Currently, this plugin does not work with createCanvas(windowWidth, windowHeight). You'll need to use actual integer values like, createCanvas(700, 400).
  • Currently, this plugin does not include the p5.dom.js or the p5.sound.js libraries.

This project was bootstrapped with Create Guten Block under the MIT License. This project uses the p5.js library which is free software under the GPL License.

About

A p5.js block for Gutenberg in WordPress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published