Skip to content

Commit 8e9554e

Browse files
committed
Merge branch 'main' into Somnath-Mishra/main
2 parents e797845 + 89e5bf1 commit 8e9554e

File tree

384 files changed

+58277
-15913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

384 files changed

+58277
-15913
lines changed

.all-contributorsrc

Lines changed: 1755 additions & 27 deletions
Large diffs are not rendered by default.

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/core/reference.js
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: 📃 p5.js 2.0 Bug Report
2+
description: This template is for submitting a bug report for bugs found in the p5.js 2.0 beta releases.
3+
title: "[p5.js 2.0 Bug Report]: "
4+
labels: [p5.js 2.0]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
### What falls under this category?
10+
There has been many changes to p5.js in 2.0! You can try it in p5.js Editor by updating the version in "Settings," and reference is available [on the beta version of the site](https://beta.p5js.org/). If you suspect there may be a bug, please follow the below steps before opening a bug report using this template:
11+
1. There are some differences in behavior between p5.js 1.x and 2.0 beta, please check the changelog and/or [2.0 status board](https://github.com/orgs/processing/projects/21) to see if the difference in behavior is intended. If in doubt, feel free to open the issue anyway and ask.
12+
2. New proposals for future p5.js 2.x minor releases may be considered! Please use the "New feature request" issue template, or check the [2.0 status board](https://github.com/orgs/processing/projects/21) is there is already discussion abotu this proposal.
13+
3. Reports of errors or potential improvements in documentation and examples is expecially helpful, since many things have been updated from 1.x to 2.0!
14+
- type: checkboxes
15+
id: sub-area
16+
attributes:
17+
label: Most appropriate sub-area of p5.js?
18+
description: You may select more than one.
19+
options:
20+
- label: Accessibility
21+
- label: Color
22+
- label: Core/Environment/Rendering
23+
- label: Data
24+
- label: DOM
25+
- label: Events
26+
- label: Image
27+
- label: IO
28+
- label: Math
29+
- label: Typography
30+
- label: Utilities
31+
- label: WebGL
32+
- label: Build process
33+
- label: Unit testing
34+
- label: Internationalization
35+
- label: Friendly errors
36+
- label: Other (specify if possible)
37+
- type: input
38+
attributes:
39+
label: p5.js version
40+
description: You can find this in the first line of the p5.js file.
41+
validations:
42+
required: false
43+
- type: input
44+
attributes:
45+
label: Web browser and version
46+
description: In the address bar, on Chrome enter "chrome://version", on Firefox enter "about:support". On Safari, use "About Safari".
47+
validations:
48+
required: false
49+
- type: input
50+
attributes:
51+
label: Operating system
52+
description: "Ex: Windows/MacOSX/Linux/Android/iOS along with version"
53+
validations:
54+
required: false
55+
- type: textarea
56+
attributes:
57+
label: Steps to reproduce this
58+
description: Include a simple code snippet that demonstrates the problem, along with any console errors produced. If this isn't possible, then simply describe the issue as best you can!
59+
value: "### Steps:
60+
61+
1.
62+
63+
2.
64+
65+
3.
66+
67+
68+
### Snippet:
69+
70+
71+
```js
72+
73+
74+
// Paste your code here :)
75+
76+
77+
```"
78+
validations:
79+
required: true
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ body:
1919
- label: Math
2020
- label: Typography
2121
- label: Utilities
22+
- label: p5.strands
2223
- label: WebGL
23-
- label: Build Process
24-
- label: Unit Testing
25-
- label: Internalization
24+
- label: DevOps, Build process, Unit testing
25+
- label: Internationalization (i18n)
2626
- label: Friendly Errors
2727
- label: Other (specify if possible)
2828
- type: input
@@ -39,7 +39,7 @@ body:
3939
required: false
4040
- type: input
4141
attributes:
42-
label: Operating System
42+
label: Operating system
4343
description: "Ex: Windows/MacOSX/Linux/Android/iOS along with version"
4444
validations:
4545
required: false

.github/ISSUE_TEMPLATE/existing-feature-enhancement.yml renamed to .github/ISSUE_TEMPLATE/3-existing-feature-enhancement.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ labels: [Enhancement]
44
body:
55
- type: textarea
66
attributes:
7-
label: Increasing Access
7+
label: Increasing access
88
description: How would this new feature help [increase access](https://github.com/processing/p5.js/blob/main/contributor_docs/access.md) to p5.js? (If you're not sure, you can type "Unsure" here and let others from the community offer their thoughts.)
99
validations:
1010
required: true
@@ -26,13 +26,18 @@ body:
2626
- label: Typography
2727
- label: Utilities
2828
- label: WebGL
29-
- label: Build Process
30-
- label: Unit Testing
31-
- label: Internalization
32-
- label: Friendly Errors
29+
- label: Build process
30+
- label: Unit testing
31+
- label: Internationalization
32+
- label: Friendly errors
3333
- label: Other (specify if possible)
3434
- type: textarea
3535
attributes:
3636
label: Feature enhancement details
3737
validations:
3838
required: true
39+
- type: markdown
40+
attributes:
41+
value: |
42+
### Implementation process
43+
We are currently prioritizing proposals for [p5.js 2.0](https://github.com/processing/p5.js/blob/dev-2.0/rfc_p5js_2.md). Work on this issue may begin after that version is released, provided there is community support.

.github/ISSUE_TEMPLATE/feature-request.yml renamed to .github/ISSUE_TEMPLATE/4-feature-request.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ labels: [Feature Request]
44
body:
55
- type: textarea
66
attributes:
7-
label: Increasing Access
7+
label: Increasing access
88
description: How would this new feature help [increase access](https://github.com/processing/p5.js/blob/main/contributor_docs/access.md) to p5.js? (If you're not sure, you can type "Unsure" here and let others from the community offer their thoughts.)
99
validations:
1010
required: true
@@ -26,13 +26,18 @@ body:
2626
- label: Typography
2727
- label: Utilities
2828
- label: WebGL
29-
- label: Build Process
30-
- label: Unit Testing
31-
- label: Internalization
32-
- label: Friendly Errors
29+
- label: Build process
30+
- label: Unit testing
31+
- label: Internationalization
32+
- label: Friendly errors
3333
- label: Other (specify if possible)
3434
- type: textarea
3535
attributes:
3636
label: Feature request details
3737
validations:
3838
required: true
39+
- type: markdown
40+
attributes:
41+
value: |
42+
### Implementation process
43+
We are currently prioritizing proposals for [p5.js 2.0](https://github.com/processing/p5.js/blob/dev-2.0/rfc_p5js_2.md). Work on this issue may begin after that version is released, provided there is community support.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ blank_issues_enabled: false
22
contact_links:
33
- name: 🎧 p5.sound Issues
44
url: https://github.com/processing/p5.js-sound/issues
5-
about: Report issues with p5.sound here.
5+
about: Report issues with p5.sound here. Note, p5.sound is being updated at this moment.
66
- name: 🌐 Website Issues
77
url: https://github.com/processing/p5.js-website/issues
88
about: Report issues with the p5.js website here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Resolves #[Add issue number here]
1818
-->
1919

2020
- [ ] `npm run lint` passes
21-
- [ ] [Inline documentation] is included / updated
21+
- [ ] [Inline reference] is included / updated
2222
- [ ] [Unit tests] are included / updated
2323

24-
[Inline documentation]: https://github.com/processing/p5.js/blob/main/contributor_docs/inline_documentation.md
24+
[Inline reference]: https://p5js.org/contribute/contributing_to_the_p5js_reference/
2525
[Unit tests]: https://github.com/processing/p5.js/tree/main/contributor_docs#unit-tests

.github/config.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,26 @@
44

55
# Comment to be posted to on first time issues
66
newIssueWelcomeComment: >
7-
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!
8-
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
7+
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms.
8+
9+
For guidance on contributing, check out our [contributing guidelines](https://github.com/processing/p5.js/blob/main/CONTRIBUTING.md) and other [resources for contributors](https://p5js.org/contribute/).
10+
11+
💬 If you have questions or need support, feel free to join the [Processing Foundation Forum](https://discourse.processing.org/) or visit our [Community page](https://p5js.org/community/).
912
13+
📜 Please also review our [Code of Conduct](https://p5js.org/code-of-conduct/) to understand our community standards.
14+
15+
Thank You!
16+
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
1017
# Comment to be posted to on PRs from first time contributors in your repository
1118
newPRWelcomeComment: >
12-
🎉 Thanks for opening this pull request! Please check out our [contributing guidelines](https://github.com/processing/p5.js/blob/main/CONTRIBUTING.md) if you haven't already. And be sure to add yourself to the [list of contributors on the readme page](https://github.com/processing/p5.js#contributors)!
19+
🎉 Thanks for opening this pull request! For guidance on contributing, check out our [contributor guidelines](https://p5js.org/contribute/contributor_guidelines/) and other [resources for contributors](https://p5js.org/contribute)!
20+
21+
🤔 Please ensure that your PR links to an issue, which has been approved for work by a maintainer; otherwise, there might already be someone working on it, or still ongoing discussion about implementation. You are welcome to join the discussion in an Issue if you're not sure!
22+
23+
🌸 Once your PR is merged, be sure to [add yourself](https://github.com/processing/p5.js/issues/2309) to the [list of contributors on the readme page](https://github.com/processing/p5.js#contributors) !
24+
25+
26+
Thank You!
1327
1428
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
1529

0 commit comments

Comments
 (0)