p5 1.4.1 β 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -20
- package/lib/README.txt +66 -0
- package/lib/addons/p5.sound.js +1 -1
- package/lib/p5.js +1572 -1128
- package/lib/p5.min.js +2 -2
- package/package.json +3 -3
- package/translations/ko/README.md +15 -4
package/README.md
CHANGED
|
@@ -54,8 +54,8 @@ Stewards are contributors that are particularly involved, familiar, or responsiv
|
|
|
54
54
|
|
|
55
55
|
Anyone interested can volunteer to be a steward! There are no specific requirements for expertise, just an interest in actively learning and participating. If youβre familiar with one or more parts of this project, open an issue to volunteer as a steward!
|
|
56
56
|
|
|
57
|
-
* [@
|
|
58
|
-
* [@
|
|
57
|
+
* [@qianqianye](https://github.com/qianqianye) - p5.js Project Lead
|
|
58
|
+
* [@outofambit](https://github.com/outofambit) - p5.js Mentor
|
|
59
59
|
* [@lmccart](https://github.com/lmccart)
|
|
60
60
|
* [@limzykenneth](https://github.com/limzykenneth)
|
|
61
61
|
* [@stalgiag](https://github.com/stalgiag)
|
|
@@ -63,24 +63,25 @@ Anyone interested can volunteer to be a steward! There are no specific requireme
|
|
|
63
63
|
* [@dhowe](https://github.com/dhowe)
|
|
64
64
|
* [@rahulm2310](https://github.com/rahulm2310)
|
|
65
65
|
|
|
66
|
-
| Area
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
72
|
-
|
|
|
73
|
-
|
|
|
74
|
-
|
|
|
75
|
-
|
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
80
|
-
|
|
|
81
|
-
|
|
|
82
|
-
|
|
|
83
|
-
| [
|
|
66
|
+
| Area | Steward(s) |
|
|
67
|
+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
|
|
68
|
+
| Overall | [@qianqianye](https://github.com/qianqianye) |
|
|
69
|
+
| [Accessibility](https://github.com/processing/p5.js/tree/main/src/accessibility) | [@kungfuchicken](https://github.com/kungfuchicken) |
|
|
70
|
+
| [Color](https://github.com/processing/p5.js/tree/main/src/color) | [@KleoP](https://github.com/KleoP), [@murilopolese](https://github.com/murilopolese), [@aahdee](https://github.com/aahdee) |
|
|
71
|
+
| [Core](https://github.com/processing/p5.js/tree/main/src/core)/Environment/Rendering | [@limzykenneth](https://github.com/limzykenneth), [@davepagurek](https://github.com/davepagurek), [@jeffawang](https://github.com/jeffawang) |
|
|
72
|
+
| [Data](https://github.com/processing/p5.js/tree/main/src/data) | [@kungfuchicken](https://github.com/kungfuchicken) |
|
|
73
|
+
| [DOM](https://github.com/processing/p5.js/tree/main/src/dom) | [@outofambit](https://github.com/outofambit), [@SarveshLimaye](https://github.com/SarveshLimaye), [@SamirDhoke](https://github.com/SamirDhoke) |
|
|
74
|
+
| [Events](https://github.com/processing/p5.js/tree/main/src/events) | [@limzykenneth](https://github.com/limzykenneth) |
|
|
75
|
+
| [Image](https://github.com/processing/p5.js/tree/main/src/image) | [@stalgiag](https://github.com/stalgiag), [@cgusb](https://github.com/cgusb), [@photon-niko](https://github.com/photon-niko), [@KleoP](https://github.com/KleoP)
|
|
76
|
+
| [IO](https://github.com/processing/p5.js/tree/main/src/io) | [@limzykenneth](https://github.com/limzykenneth) |
|
|
77
|
+
| [Math](https://github.com/processing/p5.js/tree/main/src/math) | [@limzykenneth](https://github.com/limzykenneth), [@jeffawang](https://github.com/jeffawang), [@AdilRabbani](https://github.com/AdilRabbani) |
|
|
78
|
+
| [Typography](https://github.com/processing/p5.js/tree/main/src/typography) | [@dhowe](https://github.com/dhowe), [@SarveshLimaye](https://github.com/SarveshLimaye) |
|
|
79
|
+
| [Utilities](https://github.com/processing/p5.js/tree/main/src/utilities) | [@kungfuchicken](https://github.com/kungfuchicken) |
|
|
80
|
+
| [WebGL](https://github.com/processing/p5.js/tree/main/src/webgl) | [@stalgiag](https://github.com/stalgiag); GSoC 2022: [@aceslowman](https://github.com/aceslowman)(Contributor), [@kjhollen](https://github.com/kjhollen)(Mentor); [@ShenpaiSharma](https://github.com/ShenpaiSharma)(Contributor), [@calebfoss](https://github.com/calebfoss)(Mentor); [@davepagurek](https://github.com/davepagurek); [@jeffawang](https://github.com/jeffawang); [@AdilRabbani](https://github.com/AdilRabbani) |
|
|
81
|
+
| Build Process/Unit Testing | [@outofambit](https://github.com/outofambit), [@kungfuchicken](https://github.com/kungfuchicken) |
|
|
82
|
+
| Localization Tools | [@outofambit](https://github.com/outofambit), [@almchung](https://github.com/almchung) |
|
|
83
|
+
| Friendly Errors | [@outofambit](https://github.com/outofambit), [@almchung](https://github.com/almchung) |
|
|
84
|
+
| [Contributor Docs](https://github.com/processing/p5.js/tree/main/contributor_docs) | [SoD 2022](https://github.com/processing/p5.js/wiki/Season-of-Docs-2022-Organization-Application---p5.js): [@limzykenneth](https://github.com/limzykenneth) |
|
|
84
85
|
|
|
85
86
|
## Contributors
|
|
86
87
|
|
|
@@ -542,6 +543,39 @@ We recognize all types of contributions. This project follows the [all-contribut
|
|
|
542
543
|
</tr>
|
|
543
544
|
<tr>
|
|
544
545
|
<td align="center"><a href="https://github.com/beaumu"><img src="https://avatars.githubusercontent.com/u/25036955?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Beau Muylle</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=beaumu" title="Documentation">π</a></td>
|
|
546
|
+
<td align="center"><a href="https://github.com/unjust"><img src="https://avatars.githubusercontent.com/u/92090?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ivy Feraco</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3Aunjust" title="Bug reports">π</a></td>
|
|
547
|
+
<td align="center"><a href="http://RandomSyntax.Net"><img src="https://avatars.githubusercontent.com/u/6419944?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Gareth Williams</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=Gaweph" title="Code">π»</a></td>
|
|
548
|
+
<td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=eltociear" title="Documentation">π</a></td>
|
|
549
|
+
<td align="center"><a href="https://github.com/0xJonas"><img src="https://avatars.githubusercontent.com/u/24874041?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jonas Rinke</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3A0xJonas" title="Bug reports">π</a></td>
|
|
550
|
+
<td align="center"><a href="http://www.gakuin.otsuma.ac.jp/english/"><img src="https://avatars.githubusercontent.com/u/14014568?v=4?s=100" width="100px;" alt=""/><br /><sub><b>MATSUDA, Kouichi</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3AKouichiMatsuda" title="Bug reports">π</a></td>
|
|
551
|
+
<td align="center"><a href="https://github.com/stampyzfanz"><img src="https://avatars.githubusercontent.com/u/34364128?v=4?s=100" width="100px;" alt=""/><br /><sub><b>stampyzfanz</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=stampyzfanz" title="Documentation">π</a></td>
|
|
552
|
+
</tr>
|
|
553
|
+
<tr>
|
|
554
|
+
<td align="center"><a href="https://github.com/taejs"><img src="https://avatars.githubusercontent.com/u/41318449?v=4?s=100" width="100px;" alt=""/><br /><sub><b>tae</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3Ataejs" title="Bug reports">π</a></td>
|
|
555
|
+
<td align="center"><a href="https://github.com/Divyansh013"><img src="https://avatars.githubusercontent.com/u/85135469?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Divyansh013</b></sub></a><br /><a href="#translation-Divyansh013" title="Translation">π</a></td>
|
|
556
|
+
<td align="center"><a href="https://github.com/rinkydevi"><img src="https://avatars.githubusercontent.com/u/82359874?v=4?s=100" width="100px;" alt=""/><br /><sub><b>rinkydevi</b></sub></a><br /><a href="#translation-rinkydevi" title="Translation">π</a></td>
|
|
557
|
+
<td align="center"><a href="https://www.zhdk.ch/weiterbildung/weiterbildung-design/cas-coding-for-the-arts"><img src="https://avatars.githubusercontent.com/u/88927553?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Coding for the Arts</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3Acas-c4ta" title="Bug reports">π</a></td>
|
|
558
|
+
<td align="center"><a href="http://danieljamesross.github.io"><img src="https://avatars.githubusercontent.com/u/28922296?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dan</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3Adanieljamesross" title="Bug reports">π</a></td>
|
|
559
|
+
<td align="center"><a href="https://github.com/liz-peng"><img src="https://avatars.githubusercontent.com/u/8376256?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Liz Peng</b></sub></a><br /><a href="#design-liz-peng" title="Design">π¨</a> <a href="https://github.com/processing/p5.js/commits?author=liz-peng" title="Code">π»</a> <a href="#tool-liz-peng" title="Tools">π§</a></td>
|
|
560
|
+
<td align="center"><a href="https://github.com/koolaidkrusade"><img src="https://avatars.githubusercontent.com/u/95722198?v=4?s=100" width="100px;" alt=""/><br /><sub><b>koolaidkrusade</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=koolaidkrusade" title="Documentation">π</a></td>
|
|
561
|
+
</tr>
|
|
562
|
+
<tr>
|
|
563
|
+
<td align="center"><a href="https://github.com/smilee"><img src="https://avatars.githubusercontent.com/u/5793796?v=4?s=100" width="100px;" alt=""/><br /><sub><b>smilee</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=smilee" title="Code">π»</a></td>
|
|
564
|
+
<td align="center"><a href="https://github.com/CommanderRoot"><img src="https://avatars.githubusercontent.com/u/4395417?v=4?s=100" width="100px;" alt=""/><br /><sub><b>CommanderRoot</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=CommanderRoot" title="Code">π»</a></td>
|
|
565
|
+
<td align="center"><a href="http://philipbell.org"><img src="https://avatars.githubusercontent.com/u/3860311?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Philip Bell</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=processprocess" title="Documentation">π</a></td>
|
|
566
|
+
<td align="center"><a href="https://github.com/tapioca24"><img src="https://avatars.githubusercontent.com/u/12683107?v=4?s=100" width="100px;" alt=""/><br /><sub><b>tapioca24</b></sub></a><br /><a href="#plugin-tapioca24" title="Plugin/utility libraries">π</a></td>
|
|
567
|
+
<td align="center"><a href="http://qianqian-ye.com"><img src="https://avatars.githubusercontent.com/u/18587130?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Qianqian Ye</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=Qianqianye" title="Code">π»</a> <a href="#design-Qianqianye" title="Design">π¨</a> <a href="https://github.com/processing/p5.js/commits?author=Qianqianye" title="Documentation">π</a> <a href="#eventOrganizing-Qianqianye" title="Event Organizing">π</a> <a href="https://github.com/processing/p5.js/pulls?q=is%3Apr+reviewed-by%3AQianqianye" title="Reviewed Pull Requests">π</a> <a href="#translation-Qianqianye" title="Translation">π</a></td>
|
|
568
|
+
<td align="center"><a href="https://github.com/adarrssh"><img src="https://avatars.githubusercontent.com/u/85433137?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adarsh</b></sub></a><br /><a href="#translation-adarrssh" title="Translation">π</a></td>
|
|
569
|
+
<td align="center"><a href="https://github.com/kaabe1"><img src="https://avatars.githubusercontent.com/u/78185255?v=4?s=100" width="100px;" alt=""/><br /><sub><b>kaabe1</b></sub></a><br /><a href="#design-kaabe1" title="Design">π¨</a> <a href="#eventOrganizing-kaabe1" title="Event Organizing">π</a></td>
|
|
570
|
+
</tr>
|
|
571
|
+
<tr>
|
|
572
|
+
<td align="center"><a href="https://www.guirdo.xyz/"><img src="https://avatars.githubusercontent.com/u/21044700?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Seb MΓ©ndez</b></sub></a><br /><a href="#translation-Guirdo" title="Translation">π</a></td>
|
|
573
|
+
<td align="center"><a href="https://github.com/3ru"><img src="https://avatars.githubusercontent.com/u/69892552?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ryuya</b></sub></a><br /><a href="https://github.com/processing/p5.js/issues?q=author%3A3ru" title="Bug reports">π</a> <a href="https://github.com/processing/p5.js/pulls?q=is%3Apr+reviewed-by%3A3ru" title="Reviewed Pull Requests">π</a> <a href="https://github.com/processing/p5.js/commits?author=3ru" title="Code">π»</a></td>
|
|
574
|
+
<td align="center"><a href="https://github.com/LEMIBANDDEXARI"><img src="https://avatars.githubusercontent.com/u/70129787?v=4?s=100" width="100px;" alt=""/><br /><sub><b>LEMIBANDDEXARI</b></sub></a><br /><a href="#translation-LEMIBANDDEXARI" title="Translation">π</a></td>
|
|
575
|
+
<td align="center"><a href="https://linktr.ee/probablyvivek"><img src="https://avatars.githubusercontent.com/u/25459353?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vivek Tiwari</b></sub></a><br /><a href="#translation-probablyvivek" title="Translation">π</a></td>
|
|
576
|
+
<td align="center"><a href="https://github.com/KevinGrajeda"><img src="https://avatars.githubusercontent.com/u/60023139?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kevin Grajeda</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=KevinGrajeda" title="Code">π»</a></td>
|
|
577
|
+
<td align="center"><a href="https://github.com/anniezhengg"><img src="https://avatars.githubusercontent.com/u/78184655?v=4?s=100" width="100px;" alt=""/><br /><sub><b>anniezhengg</b></sub></a><br /><a href="https://github.com/processing/p5.js/commits?author=anniezhengg" title="Code">π»</a> <a href="#design-anniezhengg" title="Design">π¨</a></td>
|
|
578
|
+
<td align="center"><a href="https://github.com/SNP0301"><img src="https://avatars.githubusercontent.com/u/68281918?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Seung-Gi Kim(David)</b></sub></a><br /><a href="#translation-SNP0301" title="Translation">π</a></td>
|
|
545
579
|
</tr>
|
|
546
580
|
</table>
|
|
547
581
|
|
package/lib/README.txt
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Welcome to p5.js
|
|
2
|
+
|
|
3
|
+
You have downloaded the complete p5.js library ZIP file, yay!
|
|
4
|
+
|
|
5
|
+
# Contents of the p5 folder
|
|
6
|
+
|
|
7
|
+
* p5.js file
|
|
8
|
+
* p5.min.js file
|
|
9
|
+
* addons folder
|
|
10
|
+
* p5.sound.js
|
|
11
|
+
* p5.sound.min.js
|
|
12
|
+
* empty-example folder
|
|
13
|
+
* index.html
|
|
14
|
+
* p5.js
|
|
15
|
+
* p5.sound.js
|
|
16
|
+
* sketch.js
|
|
17
|
+
|
|
18
|
+
## p5.js
|
|
19
|
+
|
|
20
|
+
This file stores the complete p5.js library. It is easy to read by humans, so feel free to open it and explore its contents. It also has a friendly error system, which helps new programmers with common user errors.
|
|
21
|
+
|
|
22
|
+
## p5.min.js
|
|
23
|
+
|
|
24
|
+
This file is a minified version of the p5.js file. It is a lighter version, with the same functionalities, but smaller file size. This minified version is harder to read for humans, and does not include the friendly error system.
|
|
25
|
+
|
|
26
|
+
## addons folder
|
|
27
|
+
|
|
28
|
+
The addons folder includes additional p5.js related libraries, in both original versions and minified versions.
|
|
29
|
+
|
|
30
|
+
### p5.sound.js, p5.sound.min.js
|
|
31
|
+
|
|
32
|
+
p5.sound extends p5.js with Web Audio functionality including audio input, playback, analysis, and synthesis.
|
|
33
|
+
|
|
34
|
+
## empty-example folder
|
|
35
|
+
|
|
36
|
+
This is an empty example of a website. The folder includes the file for the website, index.html, the p5.js library, other related p5.js libraries, and a template starting point for your p5.js sketch, called sketch.js.
|
|
37
|
+
|
|
38
|
+
### index.html
|
|
39
|
+
|
|
40
|
+
index.html is a template for an HTML file. This index.html first imports the libraries included in the folder (p5.js, p5.sound.js) then loads and executes the file sketch.js which is where you can write your own code.
|
|
41
|
+
|
|
42
|
+
### sketch.js
|
|
43
|
+
|
|
44
|
+
The sketch.js is a template for the p5.js sketch, with the functions setup() and draw() that you can complete.
|
|
45
|
+
|
|
46
|
+
## README.txt
|
|
47
|
+
|
|
48
|
+
This README file formatted with Markdown :)
|
|
49
|
+
|
|
50
|
+
# What's next?
|
|
51
|
+
|
|
52
|
+
If you need more information to help get you started, please refer to our website:
|
|
53
|
+
https://p5js.org/get-started/ and https://p5js.org/learn/
|
|
54
|
+
|
|
55
|
+
An online reference to the p5.js library is available here:
|
|
56
|
+
https://p5js.org/reference/
|
|
57
|
+
|
|
58
|
+
In order to run your website (including the empty-example), you need to enable a local server, please see this tutorial in our wiki:
|
|
59
|
+
https://github.com/processing/p5.js/wiki/Local-server
|
|
60
|
+
|
|
61
|
+
p5.js is a community and p5.js is built by contributions. If you want to learn more about us, visit:
|
|
62
|
+
https://p5js.org/community/
|
|
63
|
+
|
|
64
|
+
# License
|
|
65
|
+
|
|
66
|
+
The p5.js library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 2.1.
|
package/lib/addons/p5.sound.js
CHANGED
|
@@ -218,7 +218,7 @@ function getAudioContext() {
|
|
|
218
218
|
* example below. This method utilizes
|
|
219
219
|
* <a href="https://github.com/tambien/StartAudioContext">StartAudioContext
|
|
220
220
|
* </a>, a library by Yotam Mann (MIT Licence, 2016).</p>
|
|
221
|
-
* @param {Element|Array} [
|
|
221
|
+
* @param {Element|Array} [elements] This argument can be an Element,
|
|
222
222
|
* Selector String, NodeList, p5.Element,
|
|
223
223
|
* jQuery Element, or an Array of any of those.
|
|
224
224
|
* @param {Function} [callback] Callback to invoke when the AudioContext
|