Skip to content

Commit cd7134b

Browse files
committed
Merge branch 'main' into AddPixelArrayExample
2 parents 9373006 + 8c59f40 commit cd7134b

File tree

952 files changed

+171806
-38530
lines changed

Some content is hidden

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

952 files changed

+171806
-38530
lines changed

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"expect": true,
1313
"sinon": true
1414
},
15+
"parserOptions": {
16+
"ecmaVersion": 2017
17+
},
1518
"extends": ["eslint:recommended", "prettier"],
1619
"plugins": ["prettier"],
1720
"rules": {

.gitattributes

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Set default behaviour to automatically normalize line endings.
2+
* text=auto
3+
4+
# prevents git from converting LF to CRLF, which causes issues
5+
# when assembling example pages on Windows
6+
src/data/examples/**/*.js eol=lf
7+
8+
# Denote all files that are truly binary and should not be modified.
9+
*.ai binary
10+
*.gif binary
11+
*.ico binary
12+
*.jpg binary
13+
*.mov binary
14+
*.mp3 binary
15+
*.mp4 binary
16+
*.ogg binary
17+
*.ogv binary
18+
*.otf binary
19+
*.pdf binary
20+
*.png binary
21+
*.ttf binary
22+
*.wav binary
23+
*.webm binary
24+
*.zip binary

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: processing
2+
custom: https://processingfoundation.org/

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
- name: 🌸 p5.js Issues
5+
url: https://github.com/processing/p5.js/issues
6+
about: Report issues with the p5.js here.
7+
- name: 🖥️ Web Editor Issues
8+
url: https://github.com/processing/p5.js-web-editor/issues
9+
about: Report issues with the p5.js web editor here.
10+
- name: 💬 Forum
11+
url: https://discourse.processing.org/c/p5js
12+
about: Have other questions about using p5.js? Ask them here!

.github/ISSUE_TEMPLATE/discussion.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 💭 Discussion
2+
description: This template is for starting a discussion.
3+
labels: [ Discussion ]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Topic
8+
description: What do you want to discuss with the group?
9+
validations:
10+
required: true
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: 🌱 New Feature Request
2+
description: Request a new feature be added.
3+
labels: [ Feature Request ]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Increasing Access
8+
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.)
9+
validations:
10+
required: true
11+
12+
- type: dropdown
13+
attributes:
14+
label: Most appropriate sub-area of p5.js?
15+
options:
16+
- Home
17+
- Download
18+
- Donate
19+
- Get Started
20+
- Reference
21+
- Libraries
22+
- Learn
23+
- Teach
24+
- Examples
25+
- Books
26+
- Community
27+
- Showcase
28+
- Other (specify if possible)
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
attributes:
34+
label: Feature request details
35+
validations:
36+
required: true
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: "🐛 Found a Bug"
2+
description: Report p5.js website bugs (broken or incorrect behaviour).
3+
labels: [ Bug ]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
- Please make sure to [search for existing issues](https://github.com/processing/p5.js-website/issues) before filing a new one!
9+
- If the bug is related to **translation**, please report it in [Improve Translation](https://github.com/processing/p5.js-website/issues/new?assignees=&labels=translation&template=improve-translation.yml).
10+
11+
- type: dropdown
12+
attributes:
13+
label: Most appropriate sections of the p5.js website?
14+
options:
15+
- Reference
16+
- Examples
17+
- Libraries
18+
- Learn
19+
- Teach
20+
- Other (specify if possible)
21+
validations:
22+
required: true
23+
24+
- type: dropdown
25+
attributes:
26+
label: What is your operating system?
27+
options:
28+
- Windows
29+
- Mac OS
30+
- Linux
31+
- Android
32+
- iOS
33+
- Other (specify if possible)
34+
validations:
35+
required: false
36+
37+
- type: input
38+
attributes:
39+
label: Web browser and version
40+
description: |
41+
In the address bar, on Chrome enter `chrome://version`, on Firefox enter `about:support`. On Safari, use `About Safari`.
42+
validations:
43+
required: false
44+
45+
- type: textarea
46+
attributes:
47+
label: Actual Behavior
48+
placeholder: What is currently happening.
49+
validations:
50+
required: true
51+
52+
- type: textarea
53+
attributes:
54+
label: Expected Behavior
55+
description: |
56+
If you want to include screenshots, paste them into the markdown editor below.
57+
placeholder: What were you expecting?
58+
validations:
59+
required: true
60+
61+
- type: textarea
62+
attributes:
63+
label: Steps to reproduce
64+
description: |
65+
- Add steps to reproduce bugs or add information on the place where the feature should be implemented.
66+
- Add links to a sample deployment or code.
67+
validations:
68+
required: true
69+
70+
- type: input
71+
attributes:
72+
label: Would you like to work on the issue?
73+
description: |
74+
Please let us know if you can work on it or the issue should be assigned to someone else.
75+
validations:
76+
required: true
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "🌐 Improve Translation"
2+
description: Make a suggestion or report a problem about the translation of p5.js website.
3+
labels: [ Translation ]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please make sure to [search for existing issues](https://github.com/processing/p5.js-website/issues) before filing a new one!
9+
10+
- type: input
11+
attributes:
12+
label: Language
13+
description: |
14+
Which language page is the problem? Or translate into a new language?
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
attributes:
20+
label: What improvement are you suggesting?
21+
description: |
22+
- Please give as much detail as possible to help us understand the change.
23+
- What is the expected outcome?
24+
validations:
25+
required: true
26+
27+
- type: input
28+
attributes:
29+
label: Would you like to work on the issue?
30+
description: |
31+
Please let us know if you can work on it or the issue should be assigned to someone else.
32+
validations:
33+
required: true

.github/issue_template.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/deploy.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test and Deploy
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Use Node.js
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: "18.x"
16+
- name: Install node modules
17+
run: npm ci
18+
- name: Build
19+
run: npm run build
20+
- name: Deploy 🚀
21+
uses: JamesIves/[email protected]
22+
with:
23+
branch: gh-pages # The branch the action should deploy to.
24+
folder: dist/ # The folder the action should deploy.
25+
single-commit: false # "false" here means "preserve git history on the gh-pages branch"
26+
- name: Update Download page
27+
run: curl https://p5js.org/download/release.php

0 commit comments

Comments
 (0)