Skip to content

Commit 9bb61f0

Browse files
authored
Merge pull request #798 from processing/docs-beta8
Added beta8 documentation and beta site signposting
2 parents 10ec877 + 55c4867 commit 9bb61f0

Some content is hidden

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

76 files changed

+276
-4066
lines changed

Diff for: public/reference/data.json

+172-1,171
Large diffs are not rendered by default.

Diff for: src/content/banner/en.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
# Give each new message a unique title so we know which one a user closed
33
title: "old-site"
4-
link: "https://archive.p5js.org"
4+
link: "https://p5js.org"
55
hidden: false
66
---
77

8-
Looking for the old p5.js site? Find it here!
8+
Looking for the current stable 1.x p5.js reference? Find it here!

Diff for: src/content/homepage/en.yaml

+12-36
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,17 @@
11
title: p5.js
22
heroImages:
3-
- image: ./images/hero.webp
4-
linkTarget: "https://archive.org/details/processing-community-catalog-2021"
5-
altText: Lauren Lee McCarthy reading the Processing Community Catalog.
6-
caption: "Lauren Lee McCarthy reading the Processing Community Catalog. Photo credit: Maximo Xtravaganza."
7-
- image: ./images/p5for50plus.webp
8-
linkTarget: ""
9-
altText: Inhwa Yeom teaching p5.js to people aged 50+.
10-
caption: "Coding Club for people aged 50+ in Korea, led by Inhwa Yeom."
11-
- image: ./images/salon-2.webp
12-
linkTarget: ""
13-
altText: Qianqian Ye holding a mic next to a big t.v. screen that has a grid of p5.js contributor photos on it.
14-
caption: "Qianqian Ye introducing 600+ p5.js contributors at p5.js Community Salon. Photo credit: Ziyuan Lin."
15-
- image: ./images/ccfest2018.webp
16-
linkTarget: ""
17-
altText: p5.js workshop participants coding while showing their projects on screen.
18-
caption: "p5.js workshop at CC Fest NYC at ITP-NYU in November 2018."
19-
- image: ./images/tunapanda.webp
20-
linkTarget: ""
21-
altText: Students learning to code while checking a p5.js book.
22-
caption: "p5.js workshop at Tunapanda Institute in Nairobi. Photo credit: Tunapanda Institute."
23-
- image: ./images/contributor-conf-2019_10.webp
24-
linkTarget: ""
25-
altText: Person with a microphone speaking to fellow participants in front of text that reads p5.js will not add any new features except those that increase access.
26-
caption: "p5.js will not add any new features except those that increase access."
27-
- image: ./images/contributor-conf-2015.webp
28-
linkTarget: ""
29-
altText: Participants jump, smile and throw their hands in the air on a green lawn.
30-
caption: "p5.js Contributors Conference 2015."
31-
- image: ./images/contributor-conf-2019-17.webp
32-
linkTarget: ""
33-
altText: Participants sit around a table with their laptops and observe code on a screen.
34-
caption: "p5.js Contributors Conference 2019."
35-
- image: ./images/hello-p5-2024.png
36-
linkTarget: "https://hello.p5js.org"
37-
altText: Eight portrait photos of p5 contributors overlaid by the text "Hello, p5.js"
38-
caption: "Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this interactive video:"
3+
- image: ./images/2.02.png
4+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
5+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
6+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
7+
- image: ./images/2.04.png
8+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
9+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
10+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
11+
- image: ./images/2.05.png
12+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
13+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
14+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
3915
heroText: >
4016
p5.js is a friendly tool for learning to code and make art. It is a free and open-source JavaScript library built by an inclusive, nurturing community. p5.js welcomes artists, designers, beginners, educators, and anyone else!
4117
referenceHeaderText: Explore the p5.js library reference

Diff for: src/content/homepage/es.yaml

+12-36
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,18 @@ title: p5.js
22
heroText: >
33
p5.js es una herramienta amigable para aprender a programar y hacer arte. Es una biblioteca de JavaScript libre y de código abierto construida por una comunidad inclusiva y solidaria. ¡p5.js da la bienvenida a artistas, diseñadores, principiantes, educadores y cualquier otra persona!
44
heroImages:
5-
- image: ./images/hero.webp
6-
linkTarget: "https://archive.org/details/processing-community-catalog-2021"
7-
altText: Lauren Lee McCarthy reading the Processing Community Catalog.
8-
caption: "Lauren Lee McCarthy reading the Processing Community Catalog. Photo credit: Maximo Xtravaganza."
9-
- image: ./images/p5for50plus.webp
10-
linkTarget: ""
11-
altText: Inhwa Yeom teaching p5.js to people aged 50+.
12-
caption: "Coding Club for people aged 50+ in Korea, led by Inhwa Yeom."
13-
- image: ./images/salon-2.webp
14-
linkTarget: ""
15-
altText: Qianqian Ye holding a mic next to a big t.v. screen that has a grid of p5.js contributor photos on it.
16-
caption: "Qianqian Ye introducing 600+ p5.js contributors at p5.js Community Salon. Photo credit: Ziyuan Lin."
17-
- image: ./images/ccfest2018.webp
18-
linkTarget: ""
19-
altText: p5.js workshop participants coding while showing their projects on screen.
20-
caption: "p5.js workshop at CC Fest NYC at ITP-NYU in November 2018."
21-
- image: ./images/tunapanda.webp
22-
linkTarget: ""
23-
altText: Students learning to code while checking a p5.js book.
24-
caption: "p5.js workshop at Tunapanda Institute in Nairobi. Photo credit: Tunapanda Institute."
25-
- image: ./images/contributor-conf-2019_10.webp
26-
linkTarget: ""
27-
altText: Person with a microphone speaking to fellow participants in front of text that reads p5.js will not add any new features except those that increase access.
28-
caption: "p5.js will not add any new features except those that increase access."
29-
- image: ./images/contributor-conf-2015.webp
30-
linkTarget: ""
31-
altText: Participants jump, smile and throw their hands in the air on a green lawn.
32-
caption: "p5.js Contributors Conference 2015."
33-
- image: ./images/contributor-conf-2019-17.webp
34-
linkTarget: ""
35-
altText: Participants sit around a table with their laptops and observe code on a screen.
36-
caption: "p5.js Contributors Conference 2019."
37-
- image: ./images/hello-p5-2024.png
38-
linkTarget: "https://hello.p5js.org"
39-
altText: Eight portrait photos of p5 contributors overlaid by the text "Hello, p5.js"
40-
caption: "Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this interactive video:"
5+
- image: ./images/2.02.png
6+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
7+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
8+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
9+
- image: ./images/2.04.png
10+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
11+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
12+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
13+
- image: ./images/2.05.png
14+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
15+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
16+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
4117
referenceHeaderText: Explore the p5.js library reference
4218
examplesHeaderText: Learn p5.js with examples
4319
communityHeaderText: See the p5.js community in action

Diff for: src/content/homepage/hi.yaml

+12-36
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,18 @@ title: p5.js
22
heroText: >
33
p5.js कोड करना और कला बनाना सीखने के लिए एक अनुकूल उपकरण है। यह एक नि:शुल्क और ओपन-सोर्स जावास्क्रिप्ट लाइब्रेरी है जो एक समावेशी, पोषित समुदाय द्वारा बनाई गई है। p5.js कलाकारों, डिज़ाइनरों, नौसिखिया, शिक्षकों और किसी अन्य का भी स्वागत करता है!
44
heroImages:
5-
- image: ./images/hero.webp
6-
linkTarget: "https://archive.org/details/processing-community-catalog-2021"
7-
altText: Lauren Lee McCarthy reading the Processing Community Catalog.
8-
caption: "Lauren Lee McCarthy reading the Processing Community Catalog. Photo credit: Maximo Xtravaganza."
9-
- image: ./images/p5for50plus.webp
10-
linkTarget: ""
11-
altText: Inhwa Yeom teaching p5.js to people aged 50+.
12-
caption: "Coding Club for people aged 50+ in Korea, led by Inhwa Yeom."
13-
- image: ./images/salon-2.webp
14-
linkTarget: ""
15-
altText: Qianqian Ye holding a mic next to a big t.v. screen that has a grid of p5.js contributor photos on it.
16-
caption: "Qianqian Ye introducing 600+ p5.js contributors at p5.js Community Salon. Photo credit: Ziyuan Lin."
17-
- image: ./images/ccfest2018.webp
18-
linkTarget: ""
19-
altText: p5.js workshop participants coding while showing their projects on screen.
20-
caption: "p5.js workshop at CC Fest NYC at ITP-NYU in November 2018."
21-
- image: ./images/tunapanda.webp
22-
linkTarget: ""
23-
altText: Students learning to code while checking a p5.js book.
24-
caption: "p5.js workshop at Tunapanda Institute in Nairobi. Photo credit: Tunapanda Institute."
25-
- image: ./images/contributor-conf-2019_10.webp
26-
linkTarget: ""
27-
altText: Person with a microphone speaking to fellow participants in front of text that reads p5.js will not add any new features except those that increase access.
28-
caption: "p5.js will not add any new features except those that increase access."
29-
- image: ./images/contributor-conf-2015.webp
30-
linkTarget: ""
31-
altText: Participants jump, smile and throw their hands in the air on a green lawn.
32-
caption: "p5.js Contributors Conference 2015."
33-
- image: ./images/contributor-conf-2019-17.webp
34-
linkTarget: ""
35-
altText: Participants sit around a table with their laptops and observe code on a screen.
36-
caption: "p5.js Contributors Conference 2019."
37-
- image: ./images/hello-p5-2024.png
38-
linkTarget: "https://hello.p5js.org"
39-
altText: Eight portrait photos of p5 contributors overlaid by the text "Hello, p5.js"
40-
caption: "Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this interactive video:"
5+
- image: ./images/2.02.png
6+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
7+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
8+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
9+
- image: ./images/2.04.png
10+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
11+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
12+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
13+
- image: ./images/2.05.png
14+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
15+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
16+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
4117
referenceHeaderText: Explore the p5.js library reference
4218
examplesHeaderText: Learn p5.js with examples
4319
communityHeaderText: See the p5.js community in action

Diff for: src/content/homepage/images/2.02.png

357 KB
Loading

Diff for: src/content/homepage/images/2.04.png

355 KB
Loading

Diff for: src/content/homepage/images/2.05.png

337 KB
Loading

Diff for: src/content/homepage/ko.yaml

+12-36
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,18 @@ title: p5.js
22
heroText: >
33
p5.js는 코딩을 배우고 예술을 만드는 친근한 도구입니다. 이는 포용적이고 육성적인 커뮤니티에 의해 만들어진 무료 오픈소스 자바스크립트 라이브러리입니다. p5.js는 예술가, 디자이너, 초심자, 교육자 및 여러분 모두를 환영합니다!
44
heroImages:
5-
- image: ./images/hero.webp
6-
linkTarget: "https://archive.org/details/processing-community-catalog-2021"
7-
altText: Lauren Lee McCarthy reading the Processing Community Catalog.
8-
caption: "Lauren Lee McCarthy reading the Processing Community Catalog. Photo credit: Maximo Xtravaganza."
9-
- image: ./images/p5for50plus.webp
10-
linkTarget: ""
11-
altText: Inhwa Yeom teaching p5.js to people aged 50+.
12-
caption: "Coding Club for people aged 50+ in Korea, led by Inhwa Yeom."
13-
- image: ./images/salon-2.webp
14-
linkTarget: ""
15-
altText: Qianqian Ye holding a mic next to a big t.v. screen that has a grid of p5.js contributor photos on it.
16-
caption: "Qianqian Ye introducing 600+ p5.js contributors at p5.js Community Salon. Photo credit: Ziyuan Lin."
17-
- image: ./images/ccfest2018.webp
18-
linkTarget: ""
19-
altText: p5.js workshop participants coding while showing their projects on screen.
20-
caption: "p5.js workshop at CC Fest NYC at ITP-NYU in November 2018."
21-
- image: ./images/tunapanda.webp
22-
linkTarget: ""
23-
altText: Students learning to code while checking a p5.js book.
24-
caption: "p5.js workshop at Tunapanda Institute in Nairobi. Photo credit: Tunapanda Institute."
25-
- image: ./images/contributor-conf-2019_10.webp
26-
linkTarget: ""
27-
altText: Person with a microphone speaking to fellow participants in front of text that reads p5.js will not add any new features except those that increase access.
28-
caption: "p5.js will not add any new features except those that increase access."
29-
- image: ./images/contributor-conf-2015.webp
30-
linkTarget: ""
31-
altText: Participants jump, smile and throw their hands in the air on a green lawn.
32-
caption: "p5.js Contributors Conference 2015."
33-
- image: ./images/contributor-conf-2019-17.webp
34-
linkTarget: ""
35-
altText: Participants sit around a table with their laptops and observe code on a screen.
36-
caption: "p5.js Contributors Conference 2019."
37-
- image: ./images/hello-p5-2024.png
38-
linkTarget: "https://hello.p5js.org"
39-
altText: Eight portrait photos of p5 contributors overlaid by the text "Hello, p5.js"
40-
caption: "Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this interactive video:"
5+
- image: ./images/2.02.png
6+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
7+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
8+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
9+
- image: ./images/2.04.png
10+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
11+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
12+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
13+
- image: ./images/2.05.png
14+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
15+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
16+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
4117
referenceHeaderText: Explore the p5.js library reference
4218
examplesHeaderText: Learn p5.js with examples
4319
communityHeaderText: See the p5.js community in action

Diff for: src/content/homepage/zh-Hans.yaml

+12-36
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,18 @@ title: p5.js
22
heroText: >
33
p5.js 是一款旨在帮助人们学习编程并进行艺术创作的友好工具。作为一个免费的开源 JavaScript 库,它由一个充满包容和关怀的社区共同打造。无论是艺术家、设计师、初学者、教育者,还是其他任何人,p5.js 都欢迎你的加入!
44
heroImages:
5-
- image: ./images/hero.webp
6-
linkTarget: "https://archive.org/details/processing-community-catalog-2021"
7-
altText: Lauren Lee McCarthy reading the Processing Community Catalog.
8-
caption: "Lauren Lee McCarthy reading the Processing Community Catalog. Photo credit: Maximo Xtravaganza."
9-
- image: ./images/p5for50plus.webp
10-
linkTarget: ""
11-
altText: Inhwa Yeom teaching p5.js to people aged 50+.
12-
caption: "Coding Club for people aged 50+ in Korea, led by Inhwa Yeom."
13-
- image: ./images/salon-2.webp
14-
linkTarget: ""
15-
altText: Qianqian Ye holding a mic next to a big t.v. screen that has a grid of p5.js contributor photos on it.
16-
caption: "Qianqian Ye introducing 600+ p5.js contributors at p5.js Community Salon. Photo credit: Ziyuan Lin."
17-
- image: ./images/ccfest2018.webp
18-
linkTarget: ""
19-
altText: p5.js workshop participants coding while showing their projects on screen.
20-
caption: "p5.js workshop at CC Fest NYC at ITP-NYU in November 2018."
21-
- image: ./images/tunapanda.webp
22-
linkTarget: ""
23-
altText: Students learning to code while checking a p5.js book.
24-
caption: "p5.js workshop at Tunapanda Institute in Nairobi. Photo credit: Tunapanda Institute."
25-
- image: ./images/contributor-conf-2019_10.webp
26-
linkTarget: ""
27-
altText: Person with a microphone speaking to fellow participants in front of text that reads p5.js will not add any new features except those that increase access.
28-
caption: "p5.js will not add any new features except those that increase access."
29-
- image: ./images/contributor-conf-2015.webp
30-
linkTarget: ""
31-
altText: Participants jump, smile and throw their hands in the air on a green lawn.
32-
caption: "p5.js Contributors Conference 2015."
33-
- image: ./images/contributor-conf-2019-17.webp
34-
linkTarget: ""
35-
altText: Participants sit around a table with their laptops and observe code on a screen.
36-
caption: "p5.js Contributors Conference 2019."
37-
- image: ./images/hello-p5-2024.png
38-
linkTarget: "https://hello.p5js.org"
39-
altText: Eight portrait photos of p5 contributors overlaid by the text "Hello, p5.js"
40-
caption: "Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this interactive video:"
5+
- image: ./images/2.02.png
6+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
7+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
8+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
9+
- image: ./images/2.04.png
10+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
11+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
12+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
13+
- image: ./images/2.05.png
14+
linkTarget: "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here/46130"
15+
altText: An abstract image showing "p5.js 2.0" surrounded by typographically-inspired shapes
16+
caption: "Welcome to p5.js 2.0! Image by Dave Pagurek."
4117
referenceHeaderText: Explore the p5.js library reference
4218
examplesHeaderText: Learn p5.js with examples
4319
communityHeaderText: See the p5.js community in action

Diff for: src/content/reference/en/p5.Font/textToContours.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ description: >
4848
than 0. The value represents the threshold angle to use when determining
4949
5050
whether two edges are collinear.</p>
51-
line: 348
51+
line: 349
5252
isConstructor: false
5353
itemtype: method
5454
example:

0 commit comments

Comments
 (0)