# How to run p5 in ElectronJS

**URL:** <https://discourse.processing.org/t/how-to-run-p5-in-electronjs/3467>\
**Category:** Beginners\
**Created:** [September 11, 2018, 4:49pm UTC](https://discourse.processing.org/t/how-to-run-p5-in-electronjs/3467 "2018-09-11T16:49:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kokoo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@kokoo](https://discourse.processing.org/u/kokoo)\
**Post date:** [September 11, 2018, 4:49pm UTC](https://discourse.processing.org/t/how-to-run-p5-in-electronjs/3467/1 "2018-09-11T16:49:12Z")

</div>

Is there any video tutorial how to setup and run p5 scripts in Electron framework?

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [September 12, 2018, 5:34pm UTC](https://discourse.processing.org/t/how-to-run-p5-in-electronjs/3467/2 "2018-09-12T17:34:16Z")

</div>

I’m not aware of any, personally.

I know that there are some repos of templates available:

- [GitHub - garciadelcastillo/p5js-electron-templates: A set of p5.js templates that run as Electron apps.](https://github.com/garciadelcastillo/p5js-electron-templates)
- [GitHub - remyroez/electron-p5-boilerplate: [WIP] Electron boilerplate with p5.js](https://github.com/remyroez/electron-p5-boilerplate)

The first one is based on the Electron Quick Start Guide, so that provides a setup tutorial.

For videos, the only thing I have seen is a very long Let’s Code video series of someone doing a p5.js + electron project – not a setup tutorial.

[![](https://img.youtube.com/vi/QVz2rsWynts/hqdefault.jpg "Let's Code: SpinningShooter #1 [JavaScript, P5.js, Electron]") ](https://www.youtube.com/watch?v=QVz2rsWynts)

---

<div class="post-metadata">

**Author:** ![codingking03](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@codingking03](https://discourse.processing.org/u/codingking03)\
**Post date:** [September 15, 2018, 2:47pm UTC](https://discourse.processing.org/t/how-to-run-p5-in-electronjs/3467/4 "2018-09-15T14:47:19Z")

</div>

I just want to follow this as i used to be very interested in this before i gave up and learned processing java
