# Development

**URL:** https://discourse.processing.org/c/p5js/p5js-development/17.md?page=1

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

**Page:** 2

---

## [P5 LICENSE and p5.library LICENSE questions](https://discourse.processing.org/t/p5-license-and-p5-library-license-questions/38631)

<div class="topic-metadata">

**Author:** [@meezwhite](https://discourse.processing.org/u/meezwhite)\
**Replies:** 8\
**Last updated:** [September 5, 2022, 11:31pm UTC](https://discourse.processing.org/t/p5-license-and-p5-library-license-questions/38631 "2022-09-05T23:31:13Z")

</div>

Hi there! We’re currently developing a p5.js library and we have some questions regarding proper licensing. We would like our library to be licensed under the MIT License. Are we allowed to do this? Or would our libr…

---

## [Advice to improve performance of a 3D model composed of many blocks](https://discourse.processing.org/t/advice-to-improve-performance-of-a-3d-model-composed-of-many-blocks/38446)

<div class="topic-metadata">

**Author:** [@ramith](https://discourse.processing.org/u/ramith)\
**Replies:** 11\
**Last updated:** [August 24, 2022, 4:11pm UTC](https://discourse.processing.org/t/advice-to-improve-performance-of-a-3d-model-composed-of-many-blocks/38446 "2022-08-24T16:11:54Z")

</div>

Hi ! I’m trying to display several layers like the one depicted below. it’s basically a grid of 64 x 64 box() elements each having a different thickness (i read those values from a .mat file at the start). It occured …

---

## [An object-oriented wrapper for P5](https://discourse.processing.org/t/an-object-oriented-wrapper-for-p5/38180)

<div class="topic-metadata">

**Author:** [@SanzSeraph](https://discourse.processing.org/u/SanzSeraph)\
**Replies:** 6\
**Last updated:** [August 1, 2022, 3:04pm UTC](https://discourse.processing.org/t/an-object-oriented-wrapper-for-p5/38180 "2022-08-01T15:04:00Z")

</div>

I love the simplicity of p5 and the fact that it shies away from an object-oriented API. This actually makes it conceptually closer to how lower level languages work. However, I’m wondering if it would be valuable to ha…

---

## [Multiple Canvas](https://discourse.processing.org/t/multiple-canvas/37718)

<div class="topic-metadata">

**Author:** [@vorfra](https://discourse.processing.org/u/vorfra)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 3:10pm UTC](https://discourse.processing.org/t/multiple-canvas/37718 "2022-06-29T15:10:03Z")

</div>

I want this sketch (#1) to be the background p5.js Web Editor of this sketch (#2) p5.js Web Editor I want to save sketch#1 output as an image and use the image as the background of another sketch#2, all in the same prog…

---

## [P5.js to GCODE: canvas drawing calls](https://discourse.processing.org/t/p5-js-to-gcode-canvas-drawing-calls/22969)

<div class="topic-metadata">

**Author:** [@emnullfuenf](https://discourse.processing.org/u/emnullfuenf)\
**Replies:** 7\
**Last updated:** [May 1, 2022, 9:31am UTC](https://discourse.processing.org/t/p5-js-to-gcode-canvas-drawing-calls/22969 "2022-05-01T09:31:49Z")

</div>

Hello all, i would like to write a library that translates p5’s drawing calls of shape primitives and text to GCODE for plotters. Is there maybe a simpler way to hook p5’s drawing calls than extending p5.Renderer2D.js? …

---

## [Progress with g4js - a new GUI library for p5.js](https://discourse.processing.org/t/progress-with-g4js-a-new-gui-library-for-p5-js/36493)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 0\
**Last updated:** [April 21, 2022, 9:49am UTC](https://discourse.processing.org/t/progress-with-g4js-a-new-gui-library-for-p5-js/36493 "2022-04-21T09:49:52Z")

</div>

I know that there is another discussion about this library but its focus on compatibility and development tools. In this discussion I am interested in your thoughts about the API and functionality (e.g. controls availabl…

---

## [\['p5.js' project\] Making web visible on smartphone](https://discourse.processing.org/t/p5-js-project-making-web-visible-on-smartphone/34125)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 12:52am UTC](https://discourse.processing.org/t/p5-js-project-making-web-visible-on-smartphone/34125 "2021-12-15T00:52:40Z")

</div>

\[‘p5.js’ project\] Making web visible on smartphone @KumuPaul @GoToLoop @javagar thank you. Thanks to you, I made it simple with a test version. I made ‘WEB’ for the first time, and it was difficult, but…

---

## [Help needed creating simple p5.js library](https://discourse.processing.org/t/help-needed-creating-simple-p5-js-library/34045)

<div class="topic-metadata">

**Author:** [@scottc19](https://discourse.processing.org/u/scottc19)\
**Replies:** 0\
**Last updated:** [December 11, 2021, 12:00am UTC](https://discourse.processing.org/t/help-needed-creating-simple-p5-js-library/34045 "2021-12-11T00:00:45Z")

</div>

Quick background I am using p5.js in instance mode (long story why I have to use instance mode, so just pretend its required) and I want to write a simple library that contains stuff that I do in all my sketches, for exa…

---

## [\[p5.js\] About screen composition - Please tell me about a good method](https://discourse.processing.org/t/p5-js-about-screen-composition-please-tell-me-about-a-good-method/34016)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 6:25pm UTC](https://discourse.processing.org/t/p5-js-about-screen-composition-please-tell-me-about-a-good-method/34016 "2021-12-09T18:25:48Z")

</div>

\[p5.js\] About screen composition - Please tell me about a good method. Hello. Program production through JAVA Mode I am trying to make a program through ‘p5.js’. \[JAVA Mode\] \[p5.js Mode\] At this time, change…

---

## [Adding to documentation](https://discourse.processing.org/t/adding-to-documentation/33673)

<div class="topic-metadata">

**Author:** [@Reeju\_Bhattacharya](https://discourse.processing.org/u/Reeju_Bhattacharya)\
**Replies:** 0\
**Last updated:** [November 22, 2021, 8:20pm UTC](https://discourse.processing.org/t/adding-to-documentation/33673 "2021-11-22T20:20:06Z")

</div>

Hi, I was looking to work on an issue in the p5.js issues page which requires me to add to the documentation. However, the issue is on the main p5.js github page, while It looks to me, I have to work on the p5.js-website…

---

## [Webgl scaling interaction can be improved](https://discourse.processing.org/t/webgl-scaling-interaction-can-be-improved/32863)

<div class="topic-metadata">

**Author:** [@yang](https://discourse.processing.org/u/yang)\
**Replies:** 2\
**Last updated:** [October 17, 2021, 2:09am UTC](https://discourse.processing.org/t/webgl-scaling-interaction-can-be-improved/32863 "2021-10-17T02:09:27Z")

</div>

Currently you can only scale between large and small. I suggest changing code like this in order to scale smoothly in interaction.js. “\_pmouseWheelDeltaY” may be removed. const scaleFactor = 50; // ZOOM if there is a …

---

## [3D rotation quirk](https://discourse.processing.org/t/3d-rotation-quirk/32500)

<div class="topic-metadata">

**Author:** [@Ariadne](https://discourse.processing.org/u/Ariadne)\
**Replies:** 10\
**Last updated:** [October 1, 2021, 12:58pm UTC](https://discourse.processing.org/t/3d-rotation-quirk/32500 "2021-10-01T12:58:27Z")

</div>

I am currently writing a small library for 3D wireframes, because I have an idea for a 3D wireframe game, and I couldn’t find any libraries for 3D wireframes in p5.js. Right now everything, except rotation, works perfect…

---

## [Performance issue between p5.js vs p5.min.js](https://discourse.processing.org/t/performance-issue-between-p5-js-vs-p5-min-js/32522)

<div class="topic-metadata">

**Author:** [@fabieninspiration](https://discourse.processing.org/u/fabieninspiration)\
**Replies:** 1\
**Last updated:** [September 30, 2021, 12:08pm UTC](https://discourse.processing.org/t/performance-issue-between-p5-js-vs-p5-min-js/32522 "2021-09-30T12:08:11Z")

</div>

Hi team! I am playing with P5.js since 2 weeks! I love it! I’ve just turned around many hours to understand why i got performance issue. I just use this simple example examples | p5.js At the end i just change the p5.…

---

## [Reporting documentation bugs](https://discourse.processing.org/t/reporting-documentation-bugs/30702)

<div class="topic-metadata">

**Author:** [@soegaard](https://discourse.processing.org/u/soegaard)\
**Replies:** 4\
**Last updated:** [July 27, 2021, 4:21pm UTC](https://discourse.processing.org/t/reporting-documentation-bugs/30702 "2021-07-27T16:21:15Z")

</div>

Hi All, In the past week I have reported a few bugs in the reference documentation of Processing. I have done this at https://github.com/processing/processing-docs/issues Today, I noticed that the latest response to …

---

## [Google Season of Docs](https://discourse.processing.org/t/google-season-of-docs/30145)

<div class="topic-metadata">

**Author:** [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Replies:** 8\
**Last updated:** [May 27, 2021, 3:47am UTC](https://discourse.processing.org/t/google-season-of-docs/30145 "2021-05-27T03:47:15Z")

</div>

Is there anyone who got a selection or a rejection mail for Google Season of Docs? It’s way past the deadline, and I am yet to recieve any mail. I tried reaching out to mentors, no response from them either. Is there a…

---

## [Proof reading german translation p5 web-editor](https://discourse.processing.org/t/proof-reading-german-translation-p5-web-editor/30271)

<div class="topic-metadata">

**Author:** [@tlsaeger](https://discourse.processing.org/u/tlsaeger)\
**Replies:** 2\
**Last updated:** [May 26, 2021, 8:44am UTC](https://discourse.processing.org/t/proof-reading-german-translation-p5-web-editor/30271 "2021-05-26T08:44:04Z")

</div>

Hey there, I just finished the german translation of the p5 web editor. If there are any german speaking people out there who could help me with proof reading, that would be super awesome. You can find my fork here If …

---

## [GSOD Application](https://discourse.processing.org/t/gsod-application/29717)

<div class="topic-metadata">

**Author:** [@santam](https://discourse.processing.org/u/santam)\
**Replies:** 0\
**Last updated:** [April 29, 2021, 6:02am UTC](https://discourse.processing.org/t/gsod-application/29717 "2021-04-29T06:02:13Z")

</div>

Hey @stalgiag, this is Santam. I am a sophomore and proficient with javascript and have been using p5.js for over one year now. I wish to contribute to the documentation of the p5.js in GSOD under the project “New Contri…

---

## [Discussion regarding FriendlyGlobalFunctionBinder in FES](https://discourse.processing.org/t/discussion-regarding-friendlyglobalfunctionbinder-in-fes/29140)

<div class="topic-metadata">

**Author:** [@bhushan](https://discourse.processing.org/u/bhushan)\
**Replies:** 0\
**Last updated:** [April 5, 2021, 8:04pm UTC](https://discourse.processing.org/t/discussion-regarding-friendlyglobalfunctionbinder-in-fes/29140 "2021-04-05T20:04:05Z")

</div>

While implementing ‘friendly error when user overwrites p5.js functions’ discussed in this issue, the approach taken was that (solved by this PR) at the start of the run, every function in p5.js is assigned a “binding” …

---

## [How to preview changes made in p5.js repository at ps.js web-editor at my localhost](https://discourse.processing.org/t/how-to-preview-changes-made-in-p5-js-repository-at-ps-js-web-editor-at-my-localhost/28014)

<div class="topic-metadata">

**Author:** [@Amit90113](https://discourse.processing.org/u/Amit90113)\
**Replies:** 6\
**Last updated:** [February 26, 2021, 5:57am UTC](https://discourse.processing.org/t/how-to-preview-changes-made-in-p5-js-repository-at-ps-js-web-editor-at-my-localhost/28014 "2021-02-26T05:57:15Z")

</div>

Hi, I am new to p5.js I have encountered some problems while rendering some GIFs as it is giving “uncaught type error” in the p5.js web-editor console. I have a quick fix also and made some changes in the p5.js repositor…

---

## [How to view changes to JSDoc comments in browser](https://discourse.processing.org/t/how-to-view-changes-to-jsdoc-comments-in-browser/28733)

<div class="topic-metadata">

**Author:** [@prateek93a](https://discourse.processing.org/u/prateek93a)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 4:58pm UTC](https://discourse.processing.org/t/how-to-view-changes-to-jsdoc-comments-in-browser/28733 "2021-03-22T16:58:20Z")

</div>

If I make some changes to JSDoc comments in a src file for p5.js, how can I view the changes in the browser on the p5.js reference website?

---

## [Corner radius in rectangle doesn't work in WEBGL](https://discourse.processing.org/t/corner-radius-in-rectangle-doesnt-work-in-webgl/28463)

<div class="topic-metadata">

**Author:** [@Amit90113](https://discourse.processing.org/u/Amit90113)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 2:21pm UTC](https://discourse.processing.org/t/corner-radius-in-rectangle-doesnt-work-in-webgl/28463 "2021-03-12T14:21:15Z")

</div>

Well, I tried using the corner radius parameter in a rectangle in WEBGL mode it seems it does nothing.

---

## [Npm ci showing error](https://discourse.processing.org/t/npm-ci-showing-error/27735)

<div class="topic-metadata">

**Author:** [@sagar-joshi](https://discourse.processing.org/u/sagar-joshi)\
**Replies:** 16\
**Last updated:** [February 14, 2021, 3:46pm UTC](https://discourse.processing.org/t/npm-ci-showing-error/27735 "2021-02-14T15:46:22Z")

</div>

I was trying to set up p5.js locally but npm ci is failing. It says: error path /home/sagar/Desktop/processing/p5.js/node\_modules/puppeteer error command failed error command sh -c node install.js I have attached th…

---

## [Want to make some styling changes in images/visualization in p5.js sub-area of math](https://discourse.processing.org/t/want-to-make-some-styling-changes-in-images-visualization-in-p5-js-sub-area-of-math/27565)

<div class="topic-metadata">

**Author:** [@Shubham](https://discourse.processing.org/u/Shubham)\
**Replies:** 3\
**Last updated:** [February 8, 2021, 9:19pm UTC](https://discourse.processing.org/t/want-to-make-some-styling-changes-in-images-visualization-in-p5-js-sub-area-of-math/27565 "2021-02-08T21:19:05Z")

</div>

Hi, I am new to the p5.js codebase and found some styling error in some math sub-area images, but I couldn’t find where these images/visualization is being rendered. I want to change some text alignment and image size in…

---

## [Extend p5.js function](https://discourse.processing.org/t/extend-p5-js-function/27441)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 2:28pm UTC](https://discourse.processing.org/t/extend-p5-js-function/27441 "2021-01-29T14:28:04Z")

</div>

I’d like to be able to extend the functionality of built-in p5.js functions, keeping the same name but adding some additional code. I don’t want to create my own version of p5.js, since maintaining that will be a pain. I…

---

## [Want to work on bugs at examples page on p5.js-website but I can't GET the pages from examples page on my localhost](https://discourse.processing.org/t/want-to-work-on-bugs-at-examples-page-on-p5-js-website-but-i-cant-get-the-pages-from-examples-page-on-my-localhost/27329)

<div class="topic-metadata">

**Author:** [@Shubham](https://discourse.processing.org/u/Shubham)\
**Replies:** 2\
**Last updated:** [January 25, 2021, 2:13pm UTC](https://discourse.processing.org/t/want-to-work-on-bugs-at-examples-page-on-p5-js-website-but-i-cant-get-the-pages-from-examples-page-on-my-localhost/27329 "2021-01-25T14:13:22Z")

</div>

I am new to open source contributions and want to work on a bug and improve some code to the ‘examples’ page. Is there any way I can do that?

---

## [Want to make changes in Get Started page on p5.js Website on my localhost which is rendered by grunt server](https://discourse.processing.org/t/want-to-make-changes-in-get-started-page-on-p5-js-website-on-my-localhost-which-is-rendered-by-grunt-server/27237)

<div class="topic-metadata">

**Author:** [@Shubham](https://discourse.processing.org/u/Shubham)\
**Replies:** 2\
**Last updated:** [January 20, 2021, 3:03pm UTC](https://discourse.processing.org/t/want-to-make-changes-in-get-started-page-on-p5-js-website-on-my-localhost-which-is-rendered-by-grunt-server/27237 "2021-01-20T15:03:52Z")

</div>

I am new to open source contribution and found some typo on Get Started page on the p5.js website but finding a problem to resolve it as these files are rendered by grunt server, and else in the src folder, I couldn’t fi…

---

## [P5.js Web Editor - Hindi Translation](https://discourse.processing.org/t/p5-js-web-editor-hindi-translation/26839)

<div class="topic-metadata">

**Author:** [@cassie](https://discourse.processing.org/u/cassie)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 6:38pm UTC](https://discourse.processing.org/t/p5-js-web-editor-hindi-translation/26839 "2021-01-08T18:38:40Z")

</div>

Hello all! Recently a pull request was made on the p5.js Web Editor for a Hindi translation. If you speak Hindi, it would be really helpful if you could review and give feedback on the translation! You can comment on the…

---

## [Custom blendMode math?](https://discourse.processing.org/t/custom-blendmode-math/26562)

<div class="topic-metadata">

**Author:** [@tinywitchdraws](https://discourse.processing.org/u/tinywitchdraws)\
**Replies:** 1\
**Last updated:** [December 28, 2020, 7:23pm UTC](https://discourse.processing.org/t/custom-blendmode-math/26562 "2020-12-28T19:23:45Z")

</div>

I’m working on a little image processing app, and I want to try building a custom blend mode. Specifically, I want to use Divide (Newcolor= A/B)in my sketch, and p5js doesn’t have it-- is there a way for me to make it? …

---

## [P5.js website example pages not building](https://discourse.processing.org/t/p5-js-website-example-pages-not-building/26515)

<div class="topic-metadata">

**Author:** [@Mohan2k1](https://discourse.processing.org/u/Mohan2k1)\
**Replies:** 0\
**Last updated:** [December 25, 2020, 11:27pm UTC](https://discourse.processing.org/t/p5-js-website-example-pages-not-building/26515 "2020-12-25T23:27:54Z")

</div>

I am new to open source contribution and I forked and cloned p5.js website and this are the steps i followed cd src/data/examples/build\_examples npm install cd …/…/…/…/ npm install npm run watch Website is run…

---

## [Issues Regarding Building p5.js 1.1.9 on local System](https://discourse.processing.org/t/issues-regarding-building-p5-js-1-1-9-on-local-system/26333)

<div class="topic-metadata">

**Author:** [@ganimtron\_10](https://discourse.processing.org/u/ganimtron_10)\
**Replies:** 4\
**Last updated:** [December 18, 2020, 12:54pm UTC](https://discourse.processing.org/t/issues-regarding-building-p5-js-1-1-9-on-local-system/26333 "2020-12-18T12:54:39Z")

</div>

I am starting to learn Contributing to opensource and choose p5.js to start with as I am familiar with Javascriptand p5.js both. I have Successfully Installed the p5 repo and while trying to build with no changes. I enco…

[Previous page](https://discourse.processing.org/c/p5js/p5js-development/17.md)

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