# Development

**URL:** https://discourse.processing.org/c/p5js/p5js-development/17.md

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

---

## [About the p5.js / Development category](https://discourse.processing.org/t/about-the-p5-js-development-category/28)

<div class="topic-metadata">

**Author:** [@ProcessingOrg](https://discourse.processing.org/u/ProcessingOrg)\
**Replies:** 0

</div>

How to develop p5.js and p5.js Libraries

---

## [I made an Android p5.js editor — Edit:RiN](https://discourse.processing.org/t/i-made-an-android-p5-js-editor-edit-rin/49366)

<div class="topic-metadata">

**Author:** [@rin-code](https://discourse.processing.org/u/rin-code)\
**Replies:** 0\
**Last updated:** [September 14, 2026, 10:53am UTC](https://discourse.processing.org/t/i-made-an-android-p5-js-editor-edit-rin/49366 "2026-09-14T10:53:40Z")

</div>

Hi everyone! I’m currently developing Edit:RiN, a free and open-source p5.js editor for Android. I wanted a simple way to write p5.js sketches directly on my phone, preview them immediately, and keep creating wherever …

---

## [Improve loop protection warning for slow loops that are not infinite](https://discourse.processing.org/t/improve-loop-protection-warning-for-slow-loops-that-are-not-infinite/49147)

<div class="topic-metadata">

**Author:** [@michtesar](https://discourse.processing.org/u/michtesar)\
**Replies:** 1\
**Last updated:** [August 15, 2026, 7:59pm UTC](https://discourse.processing.org/t/improve-loop-protection-warning-for-slow-loops-that-are-not-infinite/49147 "2026-08-15T19:59:24Z")

</div>

Description The p5.js Web Editor’s loop protection can report an infinite loop when a loop is simply expensive to execute. For example, this p5.js issue was initially reported as an infinite loop: After profiling it,…

---

## [Inside canvasGUI 3](https://discourse.processing.org/t/inside-canvasgui-3/48968)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [July 7, 2026, 8:19am UTC](https://discourse.processing.org/t/inside-canvasgui-3/48968 "2026-07-07T08:19:30Z")

</div>

To encourage programmers to experiment with canvasGUI and extend or customize its functionality I have previously posted discussions on how to create user defined controls. canvasGUI 3 : user-defined controls (1) canva…

---

## [How to start development server](https://discourse.processing.org/t/how-to-start-development-server/47618)

<div class="topic-metadata">

**Author:** [@thejon\_07](https://discourse.processing.org/u/thejon_07)\
**Replies:** 6\
**Last updated:** [January 19, 2026, 6:08pm UTC](https://discourse.processing.org/t/how-to-start-development-server/47618 "2026-01-19T18:08:46Z")

</div>

Hi everyone, I am new to the Processing Foundation. I am facing issues while starting the development server for the p5.js repository. Can anyone help me with this? Thank you.

---

## [Seeking Your Input: What Tutorials & Documentation Does p5.js Need Next?](https://discourse.processing.org/t/seeking-your-input-what-tutorials-documentation-does-p5-js-need-next/46232)

<div class="topic-metadata">

**Author:** [@Mamatha1718](https://discourse.processing.org/u/Mamatha1718)\
**Replies:** 0\
**Last updated:** [April 17, 2025, 5:20am UTC](https://discourse.processing.org/t/seeking-your-input-what-tutorials-documentation-does-p5-js-need-next/46232 "2025-04-17T05:20:19Z")

</div>

Hello everyone! :waving\_hand: As suggested by Kit, I’m opening this Discourse thread to gather your valuable feedback and ideas. I’m currently working on creating beginner-friendly tutorials and community resources for …

---

## [Curious About p5.js 2.0](https://discourse.processing.org/t/curious-about-p5-js-2-0/45920)

<div class="topic-metadata">

**Author:** [@himanshukholiya](https://discourse.processing.org/u/himanshukholiya)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 11:04am UTC](https://discourse.processing.org/t/curious-about-p5-js-2-0/45920 "2025-03-07T11:04:28Z")

</div>

I was exploring the p5.js GitHub repository and came across discussions about p5.js 2.0. The project caught my interest, especially seeing how some features have already been completed while others are still open for con…

---

## [Perlin Noise Implementation?](https://discourse.processing.org/t/perlin-noise-implementation/45773)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 12:28pm UTC](https://discourse.processing.org/t/perlin-noise-implementation/45773 "2025-02-18T12:28:52Z")

</div>

I am not able to locate the file where the Perlin noise function noise() has been implemented. Please let me have the precise url, thanks. There it is, at core/src/processing/core/PApplet.java, line 4814 ps. I see p…

---

## [I know react and javascript can i contribute ? if so please guide me](https://discourse.processing.org/t/i-know-react-and-javascript-can-i-contribute-if-so-please-guide-me/45259)

<div class="topic-metadata">

**Author:** [@Mangangcha](https://discourse.processing.org/u/Mangangcha)\
**Replies:** 1\
**Last updated:** [November 2, 2024, 8:32am UTC](https://discourse.processing.org/t/i-know-react-and-javascript-can-i-contribute-if-so-please-guide-me/45259 "2024-11-02T08:32:42Z")

</div>

i know react and javascript can i contribute ? if so please guide me…

---

## [Revamp the Friendly Error System for p5.js 2.0](https://discourse.processing.org/t/revamp-the-friendly-error-system-for-p5-js-2-0/45257)

<div class="topic-metadata">

**Author:** [@miaoye](https://discourse.processing.org/u/miaoye)\
**Replies:** 0\
**Last updated:** [November 1, 2024, 2:45am UTC](https://discourse.processing.org/t/revamp-the-friendly-error-system-for-p5-js-2-0/45257 "2024-11-01T02:45:27Z")

</div>

Hi everyone! My name is Miaoye Que, and I’m one of the pr05 grantees in the inaugural cohort of the pr05 program. My project is Revamp the Friendly Error System for p5.js 2.0, which consisted of two major areas: Parame…

---

## [Can i contribute as a frontend developer](https://discourse.processing.org/t/can-i-contribute-as-a-frontend-developer/44678)

<div class="topic-metadata">

**Author:** [@Mangangcha](https://discourse.processing.org/u/Mangangcha)\
**Replies:** 3\
**Last updated:** [October 30, 2024, 6:45am UTC](https://discourse.processing.org/t/can-i-contribute-as-a-frontend-developer/44678 "2024-10-30T06:45:17Z")

</div>

i know frontend development. can i contribute on this?

---

## [Processing should define Array just like it has Vector](https://discourse.processing.org/t/processing-should-define-array-just-like-it-has-vector/44840)

<div class="topic-metadata">

**Author:** [@project\_2501](https://discourse.processing.org/u/project_2501)\
**Replies:** 24\
**Last updated:** [July 30, 2024, 10:50pm UTC](https://discourse.processing.org/t/processing-should-define-array-just-like-it-has-vector/44840 "2024-07-30T22:50:47Z")

</div>

Working with 2-dimensional is a very common scenario in creative coding. Processing should define an Array and how it can be used (methods?) - just like it has with Vector. The level of support without Processing manda…

---

## [Confuse about issue template](https://discourse.processing.org/t/confuse-about-issue-template/44492)

<div class="topic-metadata">

**Author:** [@rdrahul05](https://discourse.processing.org/u/rdrahul05)\
**Replies:** 1\
**Last updated:** [May 27, 2024, 10:46am UTC](https://discourse.processing.org/t/confuse-about-issue-template/44492 "2024-05-27T10:46:12Z")

</div>

Actually, I have open my first issue in P5js web editor and after opening my first issue welcome bot have suggest me to see the issue template, is it issue tab of the github repository or something else?

---

## [G4js - developing a new GUI library for p5.js (now called canvasGUI)](https://discourse.processing.org/t/g4js-developing-a-new-gui-library-for-p5-js-now-called-canvasgui/36116)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 11\
**Last updated:** [May 3, 2024, 9:36am UTC](https://discourse.processing.org/t/g4js-developing-a-new-gui-library-for-p5-js-now-called-canvasgui/36116 "2024-05-03T09:36:55Z")

</div>

I released G4P for Javamode just over 13 years ago but now I am getting into Javascript I intend to create a GUI library for p5.js The idea behind the library is to give p5.js users a similar experience for those like me…

---

## [Feature Request - Mouse button logic](https://discourse.processing.org/t/feature-request-mouse-button-logic/44325)

<div class="topic-metadata">

**Author:** [@Renatolo](https://discourse.processing.org/u/Renatolo)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 11:49am UTC](https://discourse.processing.org/t/feature-request-mouse-button-logic/44325 "2024-04-22T11:49:50Z")

</div>

Hey, I recently fixed a bug related to the mouseButton (source/events/mouse.js) variable and im currently thinking about implementing a new feature where I further change the logic arround this variable (mantaining its c…

---

## [How to create new unit test](https://discourse.processing.org/t/how-to-create-new-unit-test/44219)

<div class="topic-metadata">

**Author:** [@Renatolo](https://discourse.processing.org/u/Renatolo)\
**Replies:** 4\
**Last updated:** [April 4, 2024, 8:54am UTC](https://discourse.processing.org/t/how-to-create-new-unit-test/44219 "2024-04-04T08:54:45Z")

</div>

Hey, I’m new to contributing for P5, I was trying to add a simple unit test for an event. But it seems that when i run the command npm test its not running that specific test. Any help?

---

## [I raised a pull request four days ago, and it is currently displaying two workflows awaiting approval](https://discourse.processing.org/t/i-raised-a-pull-request-four-days-ago-and-it-is-currently-displaying-two-workflows-awaiting-approval/43820)

<div class="topic-metadata">

**Author:** [@yashgupta\_1221](https://discourse.processing.org/u/yashgupta_1221)\
**Replies:** 2\
**Last updated:** [February 9, 2024, 11:02am UTC](https://discourse.processing.org/t/i-raised-a-pull-request-four-days-ago-and-it-is-currently-displaying-two-workflows-awaiting-approval/43820 "2024-02-09T11:02:13Z")

</div>

I submitted a pull request four days ago, and I’ve noticed that there are currently two workflows awaiting approval and @nikhilkalburgi is not accepting my pull request . can anyone help me how to resolve this?

---

## [Getting issue in uploading image. Facing 'Access-Control-Allow-Origin' issue](https://discourse.processing.org/t/getting-issue-in-uploading-image-facing-access-control-allow-origin-issue/43832)

<div class="topic-metadata">

**Author:** [@ashwani](https://discourse.processing.org/u/ashwani)\
**Replies:** 0\
**Last updated:** [February 5, 2024, 9:21am UTC](https://discourse.processing.org/t/getting-issue-in-uploading-image-facing-access-control-allow-origin-issue/43832 "2024-02-05T09:21:41Z")

</div>

I am facing issues while uploading images in my sketch in local setup, and issue is with AWS setup. Pasting the screenshot of error: I have followed all the step given in guide These are my .env variable Please…

---

## [Wanted someone's review on these issues](https://discourse.processing.org/t/wanted-someones-review-on-these-issues/43825)

<div class="topic-metadata">

**Author:** [@vaishnavi192](https://discourse.processing.org/u/vaishnavi192)\
**Replies:** 1\
**Last updated:** [February 4, 2024, 11:02am UTC](https://discourse.processing.org/t/wanted-someones-review-on-these-issues/43825 "2024-02-04T11:02:06Z")

</div>

I am working on these 2 issues and proposed a solution as well. Wanted someone to check it so that I can create a PR. Also, I read contributors guide, but can I create PR without getting assigned? Give PMatrix a print()…

---

## [Npm deprecated problem while setting up the p5.js web-editor using the docker](https://discourse.processing.org/t/npm-deprecated-problem-while-setting-up-the-p5-js-web-editor-using-the-docker/43712)

<div class="topic-metadata">

**Author:** [@Abhi1](https://discourse.processing.org/u/Abhi1)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 9:23am UTC](https://discourse.processing.org/t/npm-deprecated-problem-while-setting-up-the-p5-js-web-editor-using-the-docker/43712 "2024-01-18T09:23:23Z")

</div>

Hi there! my name is Abhishek and while setting up the project locally on my machine ,i had a problem of npm deprecated while doing so, here is the snippet of it. error = =\> \[app development 1/9\] COPY package.json pac…

---

## [I am getting vulnerabilities while setting up the p5.js project](https://discourse.processing.org/t/i-am-getting-vulnerabilities-while-setting-up-the-p5-js-project/42893)

<div class="topic-metadata">

**Author:** [@Jamir](https://discourse.processing.org/u/Jamir)\
**Replies:** 1\
**Last updated:** [December 22, 2023, 11:15am UTC](https://discourse.processing.org/t/i-am-getting-vulnerabilities-while-setting-up-the-p5-js-project/42893 "2023-12-22T11:15:57Z")

</div>

When I tried to setup p5.js project locally. I followed the steps given in Contributor Guidelines. When I ran npm ci command, it showed me 17 vulnerabilities (5 moderate, 7 high, 5 critical) as given in the screenshot be…

---

## [How to check change code works](https://discourse.processing.org/t/how-to-check-change-code-works/43426)

<div class="topic-metadata">

**Author:** [@Ujjwal25](https://discourse.processing.org/u/Ujjwal25)\
**Replies:** 9\
**Last updated:** [December 12, 2023, 1:03pm UTC](https://discourse.processing.org/t/how-to-check-change-code-works/43426 "2023-12-12T13:03:11Z")

</div>

Hey, I have some good solutions of some issues , but I don’t know how to start the localserver for p5.js repository, like I ran all the scripts but can’t see editor on live server

---

## [Adding new Feature of mouse interactions](https://discourse.processing.org/t/adding-new-feature-of-mouse-interactions/43379)

<div class="topic-metadata">

**Author:** [@Nandini](https://discourse.processing.org/u/Nandini)\
**Replies:** 4\
**Last updated:** [December 3, 2023, 12:45pm UTC](https://discourse.processing.org/t/adding-new-feature-of-mouse-interactions/43379 "2023-12-03T12:45:14Z")

</div>

Usually we see that mouse and pointer interactions are a bit difficult to implement in code, how about we provide access to some of the most common mouse interactions? We can also allow users to create their own custom i…

---

## [Proposal for Web Editor: Replace random sketch name generator](https://discourse.processing.org/t/proposal-for-web-editor-replace-random-sketch-name-generator/43023)

<div class="topic-metadata">

**Author:** [@kizusu](https://discourse.processing.org/u/kizusu)\
**Replies:** 1\
**Last updated:** [October 21, 2023, 5:43pm UTC](https://discourse.processing.org/t/proposal-for-web-editor-replace-random-sketch-name-generator/43023 "2023-10-21T17:43:03Z")

</div>

I see the mobile-friendly web editor has finally arrived! :tada: :confetti\_ball: Now, there seems to a minor issue with saved sketches appearing to get a random name on reload–so I’ll go log that on the GitHub–but in th…

---

## [\[p5 WEB\] Is there a library capable of CCTV Mjpeg?](https://discourse.processing.org/t/p5-web-is-there-a-library-capable-of-cctv-mjpeg/41486)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [March 28, 2023, 10:49pm UTC](https://discourse.processing.org/t/p5-web-is-there-a-library-capable-of-cctv-mjpeg/41486 "2023-03-28T22:49:23Z")

</div>

\[p5 WEB\] Is there a library capable of CCTV Mjpeg? Hello. Nice to meet you. I want to express real-time streaming video of CCTV on ‘p5 WEB’. In ‘JAVA Mode’ Library-IPCature: Mjpeg executable url exam : http:// \[\[i…

---

## [Fatal error When running npm test on fresh github clone](https://discourse.processing.org/t/fatal-error-when-running-npm-test-on-fresh-github-clone/41413)

<div class="topic-metadata">

**Author:** [@AdityaShrivastav](https://discourse.processing.org/u/AdityaShrivastav)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 10:54am UTC](https://discourse.processing.org/t/fatal-error-when-running-npm-test-on-fresh-github-clone/41413 "2023-03-23T10:54:20Z")

</div>

I am not able to run test locally, I’ve discribed my problem in the given issue.

---

## [Lint is giving error](https://discourse.processing.org/t/lint-is-giving-error/40694)

<div class="topic-metadata">

**Author:** [@AdityaShrivastav](https://discourse.processing.org/u/AdityaShrivastav)\
**Replies:** 1\
**Last updated:** [January 24, 2023, 10:05am UTC](https://discourse.processing.org/t/lint-is-giving-error/40694 "2023-01-24T10:05:27Z")

</div>

in every file i am getting i am getting this error by eslint, as you can see in the picture above the red color on the scroll bar. I found some solution for this on stackoverflow but could not find the most appropria…

---

## [New to Contributing!](https://discourse.processing.org/t/new-to-contributing/40685)

<div class="topic-metadata">

**Author:** [@dekuxdseek](https://discourse.processing.org/u/dekuxdseek)\
**Replies:** 1\
**Last updated:** [January 23, 2023, 6:05pm UTC](https://discourse.processing.org/t/new-to-contributing/40685 "2023-01-23T18:05:46Z")

</div>

Hey , I am Swastik , and I really want to contribute to p5.js library. As of now I am beginner in Javascript , I doubt if I have the required skill set to contribute, that's why I'd be glad if you may recommend some re…

---

## [Need Help with Running Local tests](https://discourse.processing.org/t/need-help-with-running-local-tests/40637)

<div class="topic-metadata">

**Author:** [@AdityaShrivastav](https://discourse.processing.org/u/AdityaShrivastav)\
**Replies:** 2\
**Last updated:** [January 19, 2023, 8:04am UTC](https://discourse.processing.org/t/need-help-with-running-local-tests/40637 "2023-01-19T08:04:59Z")

</div>

I need help with running tests on my computer. recently I was making changes to the project p5.js. when i read the contibuters guideline page there there were mentioned some tests which can be run through npm test or npm…

---

## [Contribution guide for a Student Frontend Developer](https://discourse.processing.org/t/contribution-guide-for-a-student-frontend-developer/39114)

<div class="topic-metadata">

**Author:** [@Jayaditya](https://discourse.processing.org/u/Jayaditya)\
**Replies:** 1\
**Last updated:** [October 13, 2022, 3:00pm UTC](https://discourse.processing.org/t/contribution-guide-for-a-student-frontend-developer/39114 "2022-10-13T15:00:33Z")

</div>

Hello Sir / Madam, My name is Jayaditya and currently pursuing my B.tech 2nd year CS Major in India. Recently I am enrolled in a Udemy Course to Learn Web development , I have completed the most part on Frontend deve…

[Next page](https://discourse.processing.org/c/p5js/p5js-development/17.md?page=1)
