Title: p5.js Block
Author: Mark Uraine
Published: <strong>7. februar, 2019</strong>
Last modified: 28. maj, 2020

---

Søg plugins

![](https://ps.w.org/wp-p5js-block/assets/banner-772x250.png?rev=2026904)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/wp-p5js-block/assets/icon-256x256.png?rev=2026902)

# p5.js Block

 Af [Mark Uraine](https://profiles.wordpress.org/mapk/)

[Download](https://downloads.wordpress.org/plugin/wp-p5js-block.zip)

 * [Detaljer](https://da.wordpress.org/plugins/wp-p5js-block/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wp-p5js-block/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wp-p5js-block/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wp-p5js-block/#developers)

 [Support](https://wordpress.org/support/plugin/wp-p5js-block/)

## Beskrivelse

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](https://github.com/ahmadawais/create-guten-block)
under the [MIT License](https://github.com/ahmadawais/create-guten-block/blob/master/LICENSE).

This project also uses the p5.js library which is free software under the [GPL License](http://p5js.org/copyright.html).

## Skærmbilleder

[⌊Insert the p5.js block into the editor.⌉⌊Insert the p5.js block into the editor
.⌉[

Insert the p5.js block into the editor.

[⌊You can edit the code and preview the results from within the editor.⌉⌊You can
edit the code and preview the results from within the editor.⌉[

You can edit the code and preview the results from within the editor.

## Blokke

Dette plugin giver 1 blok.

 *   p5.js Block

## Installation

 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

## Anmeldelser

![](https://secure.gravatar.com/avatar/b9ccfa81ba51c8cec6e4e654eee3d1a477c083ab42e06d2425fcb6ce64d7f817?
s=60&d=retro&r=g)

### 󠀁[Good idea](https://wordpress.org/support/topic/good-idea-73/)󠁿

 [televizor](https://profiles.wordpress.org/televizor/) 19. juli, 2020

Thank you for this.

![](https://secure.gravatar.com/avatar/e05d3a73570246b86c4fecb0f25c626384a26336ac01405f79dbcc9504723d11?
s=60&d=retro&r=g)

### 󠀁[Fantastic!](https://wordpress.org/support/topic/fantastic-2456/)󠁿

 [zargabrite](https://profiles.wordpress.org/zargabrite/) 1. juni, 2020

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!

![](https://secure.gravatar.com/avatar/775894c99a8fbeea86f893222b51abf0fe6da4a938b20eb1e608d4d0958fe816?
s=60&d=retro&r=g)

### 󠀁[Makes it easy to add Processing to WordPress posts!](https://wordpress.org/support/topic/https-twitter-com-tarngerine-status-1108038641819893760/)󠁿

 [Alexis Lloyd](https://profiles.wordpress.org/alexislloyd/) 19. marts, 2019

![](https://secure.gravatar.com/avatar/533ec316369ac50826003e35f0f382fe21d34f09b5a00c2210e670c641497893?
s=60&d=retro&r=g)

### 󠀁[This makes Processing easy!](https://wordpress.org/support/topic/this-makes-processing-easy/)󠁿

 [johnmaeda](https://profiles.wordpress.org/johnmaeda/) 13. marts, 2019

Processing is a popular language for digital expression — and I'm delighted to get
to easily embed Processing code into a Gutenberg block. Wow!

 [ Læs alle 4 anmeldelser ](https://wordpress.org/support/plugin/wp-p5js-block/reviews/)

## Bidragsydere & udviklere

“p5.js Block” er open source-software. Følgende personer har bidraget til dette 
plugin.

Bidragsydere

 *   [ Mark Uraine ](https://profiles.wordpress.org/mapk/)

“p5.js Block” er blevet oversat til 5 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/wp-p5js-block/contributors)
for deres bidrag.

[Oversæt “p5.js Block” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wp-p5js-block)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wp-p5js-block/), tjek
[SVN repository](https://plugins.svn.wordpress.org/wp-p5js-block/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/wp-p5js-block/) via [RSS](https://plugins.trac.wordpress.org/log/wp-p5js-block/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

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

1.0 – Functional prototype. It works great using iframes.

## Meta

 *  Version **1.1.0**
 *  Senest opdateret **6 år siden**
 *  Aktive installationer **200+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **5.3.27**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/wp-p5js-block/), [Russian](https://ru.wordpress.org/plugins/wp-p5js-block/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-p5js-block/), [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/wp-p5js-block/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/wp-p5js-block/) og [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wp-p5js-block/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/wp-p5js-block)
 * Tags
 * [generative art](https://da.wordpress.org/plugins/tags/generative-art/)[javascript](https://da.wordpress.org/plugins/tags/javascript/)
   [p5js](https://da.wordpress.org/plugins/tags/p5js/)[processing](https://da.wordpress.org/plugins/tags/processing/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wp-p5js-block/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  4 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-p5js-block/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-p5js-block/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-p5js-block/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-p5js-block/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-p5js-block/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/wp-p5js-block/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/wp-p5js-block/reviews/)

## Bidragsydere

 *   [ Mark Uraine ](https://profiles.wordpress.org/mapk/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wp-p5js-block/)