Embed your P5JS sketches in posts and pages in a responsive way
Author: | Rolf van Gelder (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 6.0.8 |
Plugin version: | 1.1.3 |
Added to WordPress repository: | 28-01-2019 |
Last updated: | 06-05-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 2 |
Plugin URI: | http://cagewebdev.com/responsive-p5js-for-wp |
Total downloads: | 3 680 |
Active installs: | 100+ |
Click to start download |
Embed your P5JS sketches in posts and pages in a responsive way
1. Create a new sub-directory in the /uploads/p5js/ directory (using FTP):
2. Upload all files and directories (index.html, scetch.js, libraries, etc) of your P5JS sketch to the new WordPress /uploads/p5js/[sketch_folder] directory.
3. Add a short code to your post or page
Attributes
sketchfolder: the name of your P5JS sketch (REQUIRED)
canvaswidth: the width of the sketch, should be the same as in your creattecanvas() statement (REQUIRED)
canvasheight: the height of the sketch, should be the same as in your creattecanvas() statement (REQUIRED)
bordersize: size of the border in pix (OPTIONAL, default: 0px)
bordercolor: color of the border around the sketch (OPTIONAL, default: no border, only works when you also define a bordersize)
Author
CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands – http://cagewebdev.com – http://rvg.cage.nl
Plugin URL
http://cagewebdev.com/responsive-p5js-for-wp-wordpress-plugin/
Download URL
Disclaimer
NO WARRANTY, USE IT AT YOUR OWN RISK!
Plugins by CAGE Web Design | Rolf van Gelder
WordPress plugins created by CAGE Web Design | Rolf van Gelder
http://cagewebdev.com/category/news-tech-art/wordpress/
FAQ
ChangeLog