Skip to content

Commit c33a39e

Browse files
authored
Merge branch 'main' into all-contributors/add-jjnawaaz
2 parents fb88470 + fd3f49b commit c33a39e

19 files changed

Lines changed: 482 additions & 25 deletions

.all-contributorsrc

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,8 +1456,8 @@
14561456
{
14571457
"login": "FreddieRa",
14581458
"name": "Freddie Rawlins",
1459-
"avatar_url": "https://discourse-cdn-sjc2.com/standard10/user_avatar/discourse.processing.org/freddiera/120/4078_2.png",
1460-
"profile": "https://freddierawlins.wixsite.com/site",
1459+
"avatar_url": "https://avatars.githubusercontent.com/u/14854492?v=4",
1460+
"profile": "https://github.com/FreddieRa",
14611461
"contributions": [
14621462
"code",
14631463
"doc"
@@ -1466,7 +1466,7 @@
14661466
{
14671467
"login": "Luke_",
14681468
"name": "Luc de wit",
1469-
"avatar_url": "https://media.discordapp.net/attachments/499488127245615135/499488260435869696/normal_luke.png",
1469+
"avatar_url": "https://avatars.githubusercontent.com/u/37410843?v=4",
14701470
"profile": "https://github.com/justlucdewit",
14711471
"contributions": [
14721472
"code",
@@ -1860,7 +1860,7 @@
18601860
{
18611861
"login": "shaharyar-shamshi",
18621862
"name": "shaharyarshamshi",
1863-
"avatar_url": "https://avatars3.githubusercontent.com/u/17377195?v=4",
1863+
"avatar_url": "https://avatars.githubusercontent.com/u/17377195?v=4",
18641864
"profile": "https://github.com/shaharyar-shamshi",
18651865
"contributions": [
18661866
"translation"
@@ -7330,6 +7330,24 @@
73307330
"code"
73317331
]
73327332
},
7333+
{
7334+
"login": "skyash-dev",
7335+
"name": "yash",
7336+
"avatar_url": "https://avatars.githubusercontent.com/u/52105266?v=4",
7337+
"profile": "http://skyash.me",
7338+
"contributions": [
7339+
"code"
7340+
]
7341+
},
7342+
{
7343+
"login": "aashu2006",
7344+
"name": "akshat patil",
7345+
"avatar_url": "https://avatars.githubusercontent.com/u/170659176?v=4",
7346+
"profile": "https://github.com/aashu2006",
7347+
"contributions": [
7348+
"doc"
7349+
]
7350+
},
73337351
{
73347352
"login": "avinxshKD",
73357353
"name": "Avinash Kumar Deepak",
@@ -7347,6 +7365,46 @@
73477365
"contributions": [
73487366
"doc"
73497367
]
7368+
},
7369+
{
7370+
"login": "Sanchit2662",
7371+
"name": "SANCHIT KUMAR",
7372+
"avatar_url": "https://avatars.githubusercontent.com/u/217499010?v=4",
7373+
"profile": "https://github.com/Sanchit2662",
7374+
"contributions": [
7375+
"code"
7376+
]
7377+
},
7378+
{
7379+
"login": "LuLaValva",
7380+
"name": "Luke LaValva",
7381+
"avatar_url": "https://avatars.githubusercontent.com/u/26027232?v=4",
7382+
"profile": "http://lavalva.dev",
7383+
"contributions": [
7384+
"bug",
7385+
"code"
7386+
]
7387+
},
7388+
{
7389+
"login": "saurabh24thakur",
7390+
"name": "Saurabh Singh",
7391+
"avatar_url": "https://avatars.githubusercontent.com/u/187937240?v=4",
7392+
"profile": "https://my-portfolio-phi-seven-50.vercel.app/",
7393+
"contributions": [
7394+
"code",
7395+
"test"
7396+
]
7397+
},
7398+
{
7399+
"login": "imrinahru",
7400+
"name": "imrinahru",
7401+
"avatar_url": "https://avatars.githubusercontent.com/u/120927437?v=4",
7402+
"profile": "https://github.com/imrinahru",
7403+
"contributions": [
7404+
"bug",
7405+
"code",
7406+
"test"
7407+
]
73507408
}
73517409
],
73527410
"repoType": "github",
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Generate Contributors PNG
2+
3+
on:
4+
push:
5+
paths:
6+
- '.all-contributorsrc'
7+
8+
jobs:
9+
build:
10+
if: github.ref == 'refs/heads/main' && github.repository == 'processing/p5.js'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Setup Node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
20+
- name: Install dependencies
21+
run: npm install canvas
22+
23+
- name: Run contributors-png generator
24+
run: node utils/contributors-png.js
25+
26+
- name: Reset all changes except contributors.png
27+
run: |
28+
git restore --staged .
29+
git add contributors.png
30+
git checkout -- .
31+
32+
- name: Create Pull Request
33+
uses: peter-evans/create-pull-request@v7
34+
with:
35+
commit-message: "Update contributors.png from .all-contributorsrc"
36+
branch: update-contributors-png
37+
title: "chore: update contributors.png from .all-contributorsrc"
38+
body: "This PR updates the contributors.png to reflect changes in .all-contributorsrc"
39+
add-paths: contributors.png
40+
token: ${{ secrets.ACCESS_TOKEN }}

.vscode/extensions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// List of extensions which should be recommended for users of this workspace.
66
"recommendations": [
7-
"eg2.vscode-npm-script",
87
"yzhang.markdown-all-in-one",
98
"dbaeumer.vscode-eslint"
109
],

CONTRIBUTORS.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@
265265
<td align="center" valign="top" width="16.66%"><a href="https://github.com/OsakaStarbux"><img src="https://avatars1.githubusercontent.com/u/7752014?v=4?s=64" width="64px;" alt="Kevin Bradley"/><br /><sub><b>Kevin Bradley</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=OsakaStarbux" title="Documentation">📖</a></td>
266266
<td align="center" valign="top" width="16.66%"><a href="https://justinsunho.com/"><img src="https://avatars3.githubusercontent.com/u/31749430?v=4?s=64" width="64px;" alt="Justin Kim"/><br /><sub><b>Justin Kim</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=justinsunho" title="Documentation">📖</a></td>
267267
<td align="center" valign="top" width="16.66%"><a href="https://github.com/EndBug"><img src="https://avatars3.githubusercontent.com/u/26386270?s=460&v=4?s=64" width="64px;" alt="Federico Grandi"/><br /><sub><b>Federico Grandi</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=EndBug" title="Code">💻</a> <a href="https://github.com/processing/p5.js/commits?author=EndBug" title="Documentation">📖</a></td>
268-
<td align="center" valign="top" width="16.66%"><a href="https://freddierawlins.wixsite.com/site"><img src="https://discourse-cdn-sjc2.com/standard10/user_avatar/discourse.processing.org/freddiera/120/4078_2.png?s=64" width="64px;" alt="Freddie Rawlins"/><br /><sub><b>Freddie Rawlins</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=FreddieRa" title="Code">💻</a> <a href="https://github.com/processing/p5.js/commits?author=FreddieRa" title="Documentation">📖</a></td>
269-
<td align="center" valign="top" width="16.66%"><a href="https://github.com/justlucdewit"><img src="https://media.discordapp.net/attachments/499488127245615135/499488260435869696/normal_luke.png?s=64" width="64px;" alt="Luc de wit"/><br /><sub><b>Luc de wit</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=Luke_" title="Code">💻</a> <a href="https://github.com/processing/p5.js/issues?q=author%3ALuke_" title="Bug reports">🐛</a></td>
268+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/FreddieRa"><img src="https://avatars.githubusercontent.com/u/14854492?v=4?s=64" width="64px;" alt="Freddie Rawlins"/><br /><sub><b>Freddie Rawlins</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=FreddieRa" title="Code">💻</a> <a href="https://github.com/processing/p5.js/commits?author=FreddieRa" title="Documentation">📖</a></td>
269+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/justlucdewit"><img src="https://avatars.githubusercontent.com/u/37410843?v=4?s=64" width="64px;" alt="Luc de wit"/><br /><sub><b>Luc de wit</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=Luke_" title="Code">💻</a> <a href="https://github.com/processing/p5.js/issues?q=author%3ALuke_" title="Bug reports">🐛</a></td>
270270
<td align="center" valign="top" width="16.66%"><a href="https://github.com/mcuz"><img src="https://avatars3.githubusercontent.com/u/44824130?s=40&v=4?s=64" width="64px;" alt="Mark Nikora"/><br /><sub><b>Mark Nikora</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=mcuz" title="Code">💻</a></td>
271271
</tr>
272272
<tr>
@@ -321,7 +321,7 @@
321321
<td align="center" valign="top" width="16.66%"><a href="http://divyanshuraj.co"><img src="https://avatars1.githubusercontent.com/u/43696525?v=4?s=64" width="64px;" alt="DIVYANSHU RAJ"/><br /><sub><b>DIVYANSHU RAJ</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=endurance21" title="Code">💻</a> <a href="https://github.com/processing/p5.js/issues?q=author%3Aendurance21" title="Bug reports">🐛</a> <a href="https://github.com/processing/p5.js/commits?author=endurance21" title="Documentation">📖</a></td>
322322
<td align="center" valign="top" width="16.66%"><a href="https://github.com/sm7515"><img src="https://avatars1.githubusercontent.com/u/36653440?v=4?s=64" width="64px;" alt="sm7515"/><br /><sub><b>sm7515</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=sm7515" title="Documentation">📖</a> <a href="#example-sm7515" title="Examples">💡</a></td>
323323
<td align="center" valign="top" width="16.66%"><a href="http://adityarp.com"><img src="https://avatars3.githubusercontent.com/u/5263688?v=4?s=64" width="64px;" alt="Aditya Rachman Putra"/><br /><sub><b>Aditya Rachman Putra</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=banditelol" title="Documentation">📖</a></td>
324-
<td align="center" valign="top" width="16.66%"><a href="https://github.com/shaharyar-shamshi"><img src="https://avatars3.githubusercontent.com/u/17377195?v=4?s=64" width="64px;" alt="shaharyarshamshi"/><br /><sub><b>shaharyarshamshi</b></sub></a><br /><a href="#translation-shaharyar-shamshi" title="Translation">🌍</a></td>
324+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/shaharyar-shamshi"><img src="https://avatars.githubusercontent.com/u/17377195?v=4?s=64" width="64px;" alt="shaharyarshamshi"/><br /><sub><b>shaharyarshamshi</b></sub></a><br /><a href="#translation-shaharyar-shamshi" title="Translation">🌍</a></td>
325325
<td align="center" valign="top" width="16.66%"><a href="https://ayushj.me"><img src="https://avatars3.githubusercontent.com/u/33171576?v=4?s=64" width="64px;" alt="Ayush Jain"/><br /><sub><b>Ayush Jain</b></sub></a><br /><a href="#translation-ayushjainrksh" title="Translation">🌍</a></td>
326326
<td align="center" valign="top" width="16.66%"><a href="http://dev.to/rizz0s"><img src="https://avatars1.githubusercontent.com/u/39225869?v=4?s=64" width="64px;" alt="Summer Rizzo"/><br /><sub><b>Summer Rizzo</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=Rizz0S" title="Documentation">📖</a></td>
327327
</tr>
@@ -1096,8 +1096,16 @@
10961096
<tr>
10971097
<td align="center" valign="top" width="16.66%"><a href="https://github.com/vietnguyen2358"><img src="https://avatars.githubusercontent.com/u/107826279?v=4?s=64" width="64px;" alt="Viet Nguyen"/><br /><sub><b>Viet Nguyen</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=vietnguyen2358" title="Code">💻</a></td>
10981098
<td align="center" valign="top" width="16.66%"><a href="https://github.com/shuklaaryan367-byte"><img src="https://avatars.githubusercontent.com/u/228463828?v=4?s=64" width="64px;" alt="aryan-shukla"/><br /><sub><b>aryan-shukla</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=shuklaaryan367-byte" title="Code">💻</a></td>
1099+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/aashu2006"><img src="https://avatars.githubusercontent.com/u/170659176?v=4?s=64" width="64px;" alt="akshat patil"/><br /><sub><b>akshat patil</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=aashu2006" title="Documentation">📖</a></td>
10991100
<td align="center" valign="top" width="16.66%"><a href="https://github.com/avinxshKD"><img src="https://avatars.githubusercontent.com/u/152387616?v=4?s=64" width="64px;" alt="Avinash Kumar Deepak"/><br /><sub><b>Avinash Kumar Deepak</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=avinxshKD" title="Code">💻</a></td>
1101+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/Sanchit2662"><img src="https://avatars.githubusercontent.com/u/217499010?v=4?s=64" width="64px;" alt="SANCHIT KUMAR"/><br /><sub><b>SANCHIT KUMAR</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=Sanchit2662" title="Code">💻</a></td>
1102+
<td align="center" valign="top" width="16.66%"><a href="http://lavalva.dev"><img src="https://avatars.githubusercontent.com/u/26027232?v=4?s=64" width="64px;" alt="Luke LaValva"/><br /><sub><b>Luke LaValva</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3ALuLaValva" title="Bug reports">🐛</a> <a href="https://github.com/processing/p5.js/commits?author=LuLaValva" title="Code">💻</a></td>
1103+
</tr>
1104+
<tr>
11001105
<td align="center" valign="top" width="16.66%"><a href="https://github.com/jjnawaaz"><img src="https://avatars.githubusercontent.com/u/124430303?v=4?s=64" width="64px;" alt="Junaid Nawaz"/><br /><sub><b>Junaid Nawaz</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=jjnawaaz" title="Documentation">📖</a></td>
1106+
<td align="center" valign="top" width="16.66%"><a href="https://my-portfolio-phi-seven-50.vercel.app/"><img src="https://avatars.githubusercontent.com/u/187937240?v=4?s=64" width="64px;" alt="Saurabh Singh"/><br /><sub><b>Saurabh Singh</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=saurabh24thakur" title="Code">💻</a> <a href="https://github.com/processing/p5.js/commits?author=saurabh24thakur" title="Tests">⚠️</a></td>
1107+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/imrinahru"><img src="https://avatars.githubusercontent.com/u/120927437?v=4?s=64" width="64px;" alt="imrinahru"/><br /><sub><b>imrinahru</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3Aimrinahru" title="Bug reports">🐛</a> <a href="https://github.com/processing/p5.js/commits?author=imrinahru" title="Code">💻</a> <a href="https://github.com/processing/p5.js/commits?author=imrinahru" title="Tests">⚠️</a></td>
1108+
<td align="center" valign="top" width="16.66%"><a href="http://skyash.me"><img src="https://avatars.githubusercontent.com/u/52105266?v=4?s=64" width="64px;" alt="yash"/><br /><sub><b>yash</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=skyash-dev" title="Code">💻</a></td>
11011109
</tr>
11021110
</tbody>
11031111
</table>

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Lead/Mentor Alumni
111111
| i18n (ko) | [@hana-cho](https://github.com/hana-cho) |
112112
| i18n (zh) | [@limzykenneth](https://github.com/limzykenneth), [@lirenjie95](https://github.com/lirenjie95) |
113113
| Math | [@GregStanton](https://github.com/GregStanton), [@holomorfo](https://github.com/holomorfo) |
114+
| p5.js-web-editor | [@iron-56](https://github.com/iron-56) |
114115
| p5.js-website | [@Nwakaego-Ego](https://github.com/Nwakaego-Ego), [@clairep94](https://github.com/clairep94), [@doradocodes](https://github.com/doradocodes), [@ksen0](https://github.com/ksen0) |
115116
| p5.sound.js | [@ogbabydiesal](https://github.com/ogbabydiesal) |
116117
| Shapes | [@GregStanton](https://github.com/GregStanton) |
@@ -121,4 +122,6 @@ Lead/Mentor Alumni
121122

122123
We recognize all types of contributions. This project follows the [all-contributors specification](https://github.com/all-contributors/all-contributors) and the [Emoji Key](https://github.com/all-contributors/all-contributors/blob/master/docs/emoji-key.md) ✨ for contribution types. Instructions to add yourself or add contribution emojis to your name are [here](https://github.com/processing/p5.js/issues/2309). You can also post an issue or comment on a pull request with the text: `@all-contributors please add @YOUR-USERNAME for THINGS` (where `THINGS` is a comma-separated list of entries from the [list of possible contribution types](https://github.com/all-contributors/all-contributors/blob/master/docs/emoji-key.md)) and our nice bot will add you to [CONTRIBUTORS.md](./CONTRIBUTORS.md) automatically!
123124

125+
![Grid of avatars representing contributors to the p5.js project](contributors.png)
126+
124127
Thanks to all the wonderful contributors! 💓

contributor_docs/contributing_to_the_p5js_reference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ In p5.js, we author the code reference you see on the [reference](https://p5js.o
66

77
This document will show you how to write and format the reference comments so that they can eventually be rendered onto the website correctly. You should follow this guide whenever you are editing or writing a reference for any p5.js function or variable.
88

9+
### A note about p5.js versions
10+
11+
This document describes how to work with p5.js version 1.x, whose reference documentation is currently being hosted at https://p5js.org/reference/. If you are documenting code for p5.js **v2.x**, you should consult instead [this document at beta.p5js.org](https://beta.p5js.org/contribute/contributing_to_the_p5js_reference/) as some syntax and processes differ between the versions.
12+
913

1014
## A quick introduction to how reference comments work
1115

contributor_docs/steward_guidelines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ There are different areas of work that stewards can be responsible for. These ar
7373
- **Maintainers**: This group can merge PRs
7474
- **p5.sound.js**: The [new p5.sound.js](https://github.com/processing/p5.sound.js) add-on library
7575
- **p5.js-website**: Non-content aspects of the [reference website](https://p5js.org/) - for example, its structure, automations, technical improvements and so on.
76+
- **p5.js-web-editor**: The [p5.js Web Editor](https://github.com/processing/p5.js-web-editor/)
7677

7778
These focus areas may change over time depending on the needs of the project - so if you are going through the process of applying to be a steward, you are welcome to proposals new areas!
7879

contributors.png

3.33 MB
Loading

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/p5.Graphics.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,12 @@ p5.Graphics = class extends p5.Element {
380380
* </div>
381381
*/
382382
remove() {
383+
// Clean up WebGL resources if the renderer has a remove method
384+
// (WebGL renderers need to free GPU resources like shaders and textures)
385+
if (this._renderer && typeof this._renderer.remove === 'function') {
386+
this._renderer.remove();
387+
}
388+
383389
if (this.elt.parentNode) {
384390
this.elt.parentNode.removeChild(this.elt);
385391
}

0 commit comments

Comments
 (0)