This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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.

  • 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 also uses the p5.js library which is free software under the GPL License.

ئېكران كەسمىسى

  • Insert the p5.js block into the editor.
  • You can edit the code and preview the results from within the editor.

بۆلەك

بۇ قىستۇرما 1 بۆلەك تەمىنلەيدۇ.

  • p5.js Block

ئورنىتىش

  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.

FAQ

Q: Does this plugin require the Gutenberg plugin?

A: Yes, the Gutenberg plugin, or WordPress 5.0 must be installed and active in order to use this block.

Q: Can I contribute to the project?

A: Of course! This is the GitHub Repository: https://github.com/mapk/p5js-block

باھالاشلار

2020-يىلى 1-ئىيۇن
I just started learning p5.js a couple of days ago and it was great to be able to instantly add sketches to posts on my existing wordpress site. Wish the sound library was included however as most of my work involves sound. Hopefully in the future!
2019-يىلى 13-مارت
Processing is a popular language for digital expression — and I’m delighted to get to easily embed Processing code into a Gutenberg block. Wow!
4 باھالاشنىڭ ھەممىنى ئوقۇش

تۆھپىكار ۋە ئىجادكار

«p5.js Block» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

«p5.js Block» 5 تىلغا تەرجىمە قىلىنغان. تەرجىمانلارنىڭ تۆھپىسى ئۈچۈن رەھمەت.

«p5.js Block» نى تىلىڭىزغا تەرجىمە قىلىڭ

ئىجادىيەتكە قىزىقامسىز؟

كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.

ئۆزگىرىش خاتىرىسى

1.1 – Inclusion of p5.js as a local dependency.

1.0 – Functional prototype. It works great using iframes.