Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WebGL vertex property issue #7605

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
ef7104d
docs: update README.md [skip ci]
allcontributors[bot] Jan 20, 2025
34b4058
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 20, 2025
c0b6c97
docs: update README.md [skip ci]
allcontributors[bot] Jan 22, 2025
8ff83d3
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 22, 2025
65b8a81
docs: update README.md [skip ci]
allcontributors[bot] Jan 23, 2025
8b7f6f2
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 23, 2025
345ae0c
Merge pull request #7487 from processing/all-contributors/add-thrly
ksen0 Jan 23, 2025
b6eaeee
Merge branch 'main' into all-contributors/add-lirenjie95
ksen0 Jan 23, 2025
b052d05
Update README.md
ksen0 Jan 23, 2025
2f11e43
Merge pull request #7490 from processing/all-contributors/add-lirenjie95
ksen0 Jan 24, 2025
31b5c48
Merge branch 'main' into all-contributors/add-philyawj
ksen0 Jan 24, 2025
a06b033
Merge pull request #7484 from processing/all-contributors/add-philyawj
ksen0 Jan 24, 2025
c4d3f6c
docs: update README.md [skip ci]
allcontributors[bot] Jan 26, 2025
bc37994
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 26, 2025
2939bf0
docs: update README.md [skip ci]
allcontributors[bot] Jan 26, 2025
c2966be
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 26, 2025
07a1082
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
9789495
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
b9cb8e6
Merge pull request #7498 from processing/all-contributors/add-akkarn1689
ksen0 Jan 29, 2025
cbd0bf1
Merge branch 'main' into all-contributors/add-xinemata
ksen0 Jan 29, 2025
8640196
Merge pull request #7499 from processing/all-contributors/add-xinemata
ksen0 Jan 29, 2025
3226a81
Merge branch 'main' into all-contributors/add-Vaivaswat2244
ksen0 Jan 29, 2025
7a24e9f
Merge pull request #7501 from processing/all-contributors/add-Vaivasw…
ksen0 Jan 29, 2025
4f7b652
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
0faaa95
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
01f662f
Merge pull request #7502 from processing/all-contributors/add-dkessner
ksen0 Jan 29, 2025
c208fdd
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
eda36e0
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
04b871f
Merge pull request #7503 from processing/all-contributors/add-Animesh…
ksen0 Jan 29, 2025
b56e612
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
7d4c1eb
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
0766bdd
Merge pull request #7504 from processing/all-contributors/add-katlich…
ksen0 Jan 29, 2025
b930aa4
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
6924cd0
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
f9cd305
Merge pull request #7505 from processing/all-contributors/add-geealbers
ksen0 Jan 29, 2025
9b14757
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
2636dc1
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
44ce8b5
Merge pull request #7506 from processing/all-contributors/add-macarena
ksen0 Jan 29, 2025
0543d48
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
4c5bbad
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
26f9e24
Merge pull request #7507 from processing/all-contributors/add-khamilt…
ksen0 Jan 29, 2025
5d9bb58
docs: update README.md [skip ci]
allcontributors[bot] Jan 29, 2025
e2a8269
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 29, 2025
6b24f2e
Merge pull request #7508 from processing/all-contributors/add-keshavg2
ksen0 Jan 30, 2025
e4d2e05
docs: update README.md [skip ci]
allcontributors[bot] Jan 30, 2025
d387b4c
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 30, 2025
b96c43c
Merge pull request #7511 from processing/all-contributors/add-riteshs…
ksen0 Jan 30, 2025
efa24b9
docs: update README.md [skip ci]
allcontributors[bot] Jan 30, 2025
cf9b1b9
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 30, 2025
a70c74d
Merge pull request #7512 from processing/all-contributors/add-gabriel…
ksen0 Jan 30, 2025
24306a0
docs: update README.md [skip ci]
allcontributors[bot] Jan 30, 2025
2dd335e
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 30, 2025
6360666
Merge pull request #7513 from processing/all-contributors/add-kcconch
ksen0 Jan 30, 2025
b12f1a2
docs: update README.md [skip ci]
allcontributors[bot] Jan 30, 2025
c836104
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 30, 2025
d531a58
Merge pull request #7514 from processing/all-contributors/add-davidblitz
ksen0 Jan 30, 2025
385f81b
docs: update README.md [skip ci]
allcontributors[bot] Jan 30, 2025
f73cd0d
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 30, 2025
ac14432
Merge pull request #7515 from processing/all-contributors/add-crh82
ksen0 Jan 30, 2025
7926467
docs: add Aaron Welles as a contributor for example
ksen0 Jan 30, 2025
223a7ce
Merge pull request #7516 from ksen0/main
ksen0 Jan 30, 2025
1c728b5
docs: add example emoji to all example contributors using emoji key
ksen0 Jan 30, 2025
3f4d60c
Merge pull request #7517 from ksen0/main
ksen0 Jan 30, 2025
3d1140b
Bulk fix reference links
limzykenneth Jan 30, 2025
c2b7703
Bulk fix links
limzykenneth Jan 31, 2025
fd33599
Change reference to avoid parsing problem on website
limzykenneth Jan 31, 2025
bc888f2
docs: update README.md [skip ci]
allcontributors[bot] Feb 4, 2025
217d56c
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Feb 4, 2025
d9ae954
Merge pull request #7525 from processing/all-contributors/add-seyko1
davepagurek Feb 4, 2025
596466a
docs: update README.md [skip ci]
allcontributors[bot] Feb 5, 2025
ebe7a1e
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Feb 5, 2025
38c37ee
Merge pull request #7527 from processing/all-contributors/add-thekina…
ksen0 Feb 12, 2025
a6ae342
docs: update README.md [skip ci]
allcontributors[bot] Feb 17, 2025
d2e76b8
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Feb 17, 2025
1cfb083
docs: update README.md [skip ci]
allcontributors[bot] Feb 17, 2025
1222aca
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Feb 17, 2025
d54f2cc
Merge pull request #7560 from processing/all-contributors/add-permind…
davepagurek Feb 18, 2025
272303b
Merge pull request #7559 from processing/all-contributors/add-GregSta…
davepagurek Feb 18, 2025
8668be8
docs: update README.md [skip ci]
allcontributors[bot] Feb 19, 2025
d4da26f
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Feb 19, 2025
389b77d
Merge pull request #7565 from processing/all-contributors/add-bojidar-bg
davepagurek Feb 19, 2025
b5901a6
Fix endShape() to Properly Close Paths and Prevent Shape Merging
Forchapeatl Feb 28, 2025
fcae974
Fix camera tilt function to prevent orientation flipping
Forchapeatl Mar 4, 2025
daf9642
Fixed indentation error
Forchapeatl Mar 4, 2025
2128bfc
fixed lint
Forchapeatl Mar 4, 2025
961dc63
fixed lint
Forchapeatl Mar 4, 2025
7841fe9
docs: update README.md [skip ci]
allcontributors[bot] Mar 5, 2025
75d7649
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Mar 5, 2025
a205e27
Merge pull request #7604 from processing/all-contributors/add-weberma…
davepagurek Mar 5, 2025
ef57497
removed closepath from beizer curve to last condition
Forchapeatl Mar 7, 2025
ee20bb5
fixed lint
Forchapeatl Mar 7, 2025
7982e2f
Merge pull request #7583 from Forchapeatl/patch-8
davepagurek Mar 7, 2025
1ac8e43
removed create vector error
Forchapeatl Mar 13, 2025
9d2ba57
added test on up vector tilt
Forchapeatl Mar 13, 2025
870804c
removed trailing spaces
Forchapeatl Mar 13, 2025
b6cb7a7
Merge branch 'processing:main' into patch-9
Forchapeatl Mar 13, 2025
3783dd8
Merge pull request #7598 from Forchapeatl/patch-9
davepagurek Mar 15, 2025
e40d7ef
docs: update README.md [skip ci]
allcontributors[bot] Mar 15, 2025
7fefa2d
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Mar 15, 2025
1d8c2e0
docs: update README.md [skip ci]
allcontributors[bot] Mar 15, 2025
e70e675
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Mar 15, 2025
99785d3
Merge pull request #7629 from processing/all-contributors/add-mclark414
raclim Mar 15, 2025
9377d54
Merge pull request #7631 from processing/all-contributors/add-AaratiA…
raclim Mar 15, 2025
b0c5bc9
docs: update README.md [skip ci]
allcontributors[bot] Mar 15, 2025
cf03634
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Mar 15, 2025
4496a4d
Merge pull request #7635 from processing/all-contributors/add-mxramsey
raclim Mar 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
307 changes: 291 additions & 16 deletions .all-contributorsrc

Large diffs are not rendered by default.

70 changes: 52 additions & 18 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions contributor_docs/es/contributing_to_the_p5js_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Cualquier cosa en un bloque de estos se interpretará como documentación de ref

## Bloque de comentarios de referencia

Desglosemos el bloque de comentarios de referencia anterior para la función `sin()` y veamos qué hace cada sección. Puedes comparar lo que vez en estos comentarios con el contenido de la página de referencia para [`sin()`](https://p5js.org/reference/#/p5/sin).
Desglosemos el bloque de comentarios de referencia anterior para la función `sin()` y veamos qué hace cada sección. Puedes comparar lo que vez en estos comentarios con el contenido de la página de referencia para [`sin()`](https://p5js.org/reference/p5/sin).

```
/**
Expand Down Expand Up @@ -138,7 +138,7 @@ Si el método devuelve el objeto de la superclase, puedes omitir la etiqueta `@r

## Firmas adicionales

Si una función tiene múltiples opciones de parámetros posibles, puedes especificar cada una individualmente. Por ejemplo, la función [`background()`](http://p5js.org/reference/#p5/background) toma una serie de opciones de parámetros diferentes (ver la sección "Sintaxis" en la página de referencia). Elige una versión para incluirla como la primera firma usando la plantilla anterior. Al final del primer bloque de comentarios de referencia puedes agregar firmas adicionales, cada una en su propio bloque, como en el siguiente ejemplo.
Si una función tiene múltiples opciones de parámetros posibles, puedes especificar cada una individualmente. Por ejemplo, la función [`background()`](https://p5js.org/reference/#p5/background) toma una serie de opciones de parámetros diferentes (ver la sección "Sintaxis" en la página de referencia). Elige una versión para incluirla como la primera firma usando la plantilla anterior. Al final del primer bloque de comentarios de referencia puedes agregar firmas adicionales, cada una en su propio bloque, como en el siguiente ejemplo.

```
/**
Expand Down Expand Up @@ -262,7 +262,7 @@ Si no quieres que el ejemplo se ejecute como parte de las pruebas automatizadas
* </code></div>
```

Si tu ejemplo utiliza archivos externos como recursos, colócalos en la carpeta [/docs/yuidoc-p5-theme/assets](https://github.com/processing/p5.js/tree/main/docs/yuidoc-p5-theme/assets) (o reutiliza uno que ya esté allí) y luego enlázalos con "assets/nombrearchivo.ext" en el código. Consulta la referencia de [tint()](http://p5js.org/reference/#/p5/tint) como ejemplo.
Si tu ejemplo utiliza archivos externos como recursos, colócalos en la carpeta [/docs/yuidoc-p5-theme/assets](https://github.com/processing/p5.js/tree/main/docs/yuidoc-p5-theme/assets) (o reutiliza uno que ya esté allí) y luego enlázalos con "assets/nombrearchivo.ext" en el código. Consulta la referencia de [tint()](https://p5js.org/reference/p5/tint) como ejemplo.

### Agregar descripción a un lienzo usando `describe()`

Expand Down
12 changes: 6 additions & 6 deletions contributor_docs/fes_contribution_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ arc(1, 1, 10.5, 10);
FES will generate the following message in the console:

```
🌸 p5.js says: [sketch.js, line 13] arc() was expecting at least 6 arguments, but received only 4. (http://p5js.org/reference/#/p5/arc)
🌸 p5.js says: [sketch.js, line 13] arc() was expecting at least 6 arguments, but received only 4. (https://p5js.org/reference/p5/arc)
```

Example of a type mismatch
Expand All @@ -257,7 +257,7 @@ arc(1, ',1', 10.5, 10, 0, Math.PI);
FES will generate the following message in the console:

```
🌸 p5.js says: [sketch.js, line 14] arc() was expecting Number for the first parameter, received string instead. (http://p5js.org/reference/#/p5/arc)
🌸 p5.js says: [sketch.js, line 14] arc() was expecting Number for the first parameter, received string instead. (https://p5js.org/reference/p5/arc)
```


Expand Down Expand Up @@ -336,7 +336,7 @@ function preload() {
FES will generate the following message in the console:

```
🌸 p5.js says: [sketch.js, line 8] An error with message "Cannot read properties of undefined (reading 'background')" occurred inside the p5js library when "background" was called. If not stated otherwise, it might be due to "background" being called from preload. Nothing besides load calls (loadImage, loadJSON, loadFont, loadStrings, etc.) should be inside the preload function. (http://p5js.org/reference/#/p5/preload)
🌸 p5.js says: [sketch.js, line 8] An error with message "Cannot read properties of undefined (reading 'background')" occurred inside the p5js library when "background" was called. If not stated otherwise, it might be due to "background" being called from preload. Nothing besides load calls (loadImage, loadJSON, loadFont, loadStrings, etc.) should be inside the preload function. (https://p5js.org/reference/p5/preload)
```

Internal Error Example 2:
Expand All @@ -351,7 +351,7 @@ function setup() {
FES will generate the following message in the console:

```js
🌸 p5.js says: [sketch.js, line 12] An error with message "Cannot read properties of undefined (reading 'bind')" occurred inside the p5js library when mouseClicked was called. If not stated otherwise, it might be an issue with the arguments passed to mouseClicked. (http://p5js.org/reference/#/p5/mouseClicked)
🌸 p5.js says: [sketch.js, line 12] An error with message "Cannot read properties of undefined (reading 'bind')" occurred inside the p5js library when mouseClicked was called. If not stated otherwise, it might be an issue with the arguments passed to mouseClicked. (https://p5js.org/reference/p5/mouseClicked)
```

Example of an Error (Scope):
Expand Down Expand Up @@ -386,7 +386,7 @@ function setup() {
FES will generate the following message in the console:

```
🌸 p5.js says: [sketch.js, line 2] It seems that you may have accidentally written "xolor" instead of "color". Please correct it to color if you wish to use the function from p5.js. (http://p5js.org/reference/#/p5/color)
🌸 p5.js says: [sketch.js, line 2] It seems that you may have accidentally written "xolor" instead of "color". Please correct it to color if you wish to use the function from p5.js. (https://p5js.org/reference/p5/color)
```


Expand Down Expand Up @@ -431,7 +431,7 @@ function preload() {
FES will generate the following message in the console:

```
🌸 p5.js says: It seems that you may have accidentally written preLoad instead of preload. Please correct it if it's not intentional. (http://p5js.org/reference/#/p5/preload)
🌸 p5.js says: It seems that you may have accidentally written preLoad instead of preload. Please correct it if it's not intentional. (https://p5js.org/reference/p5/preload)
```


Expand Down
4 changes: 2 additions & 2 deletions contributor_docs/hi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ p5.js में योगदान देने में आपकी रुच
व्यापक p5.js परियोजना में इस के अलावा कुछ रिपॉजिटरी शामिल हैं-

- [p5.js](https://github.com/processing/p5.js): इस रिपॉजिटरी में p5.js लाइब्रेरी का स्रोत कोड है। [p5.js संदर्भ मैनुअल](https://p5js.org/reference/) भी इस स्रोत कोड में शामिल [JSDoc](http://usejsdoc.org/) टिप्पणियों से उत्पन्न होता है। इसका अनुरक्षण [Moira Turner](https://github.com/mcturner1995) के द्वारा किया जा रहा है।
- [p5.js-website](https://github.com/processing/p5.js-website) इस रिपॉजिटरी में [p5.js वेबसाइट](http://p5js.org) का अधिकांश कोड हैं, संदर्भ मैनुअल के अपवाद के साथ। इसका अनुरक्षण [Moira Turner](https://github.com/mcturner1995) के द्वारा किया जा रहा है।
- [p5.js-website](https://github.com/processing/p5.js-website) इस रिपॉजिटरी में [p5.js वेबसाइट](https://p5js.org) का अधिकांश कोड हैं, संदर्भ मैनुअल के अपवाद के साथ। इसका अनुरक्षण [Moira Turner](https://github.com/mcturner1995) के द्वारा किया जा रहा है।
- [p5.js-sound](https://github.com/processing/p5.js-sound) इस भंडार में p5.sound.js लाइब्रेरी है। इसका अनुरक्षण [Jason Sigal](https://github.com/therewasaguy) के द्वारा किया जा रहा है।
- [p5.js-web-editor](https://github.com/processing/p5.js-web-editor) इस रिपॉजिटरी में [p5.js वेब एडिटर](https://editor.p5js.org) के लिए स्रोत कोड है। इसका अनुरक्षण [Cassie Tarakajian](https://github.com/catarak) के द्वारा किया जा रहा है। ध्यान दें कि पुराना [p5.js संपादक](https://github.com/processing/p5.js-editor) अब पदावनत हो गया है।

Expand All @@ -34,7 +34,7 @@ p5.js में योगदान देने में आपकी रुच
हमें एहसास है कि प्रलेखन इस परियोजना का सबसे महत्वपूर्ण हिस्सा है। खराब प्रलेखन नए उपयोगकर्ताओं और योगदानकर्ताओं के लिए उपयोग करने के लिए मुख्य बाधाओं में से एक है, जिससे परियोजना कम समावेशी हो जाती है। [contributing_documentation.md](./contributing_documentation.md) पृष्ठ प्रलेखन के साथ आरंभ करने का एक गहन अवलोकन देता है। p5.js के लिए प्रलेखन कुछ मुख्य स्थानों में पाया जा सकता है:

- [p5js.org संदर्भ](https://p5js.org/reference/) स्रोत कोड में ही [इनलाइन प्रलेखन](./inline_documentation.md) से उत्पन्न होता है। इसमें पाठ विवरण और पैरामीटर के साथ-साथ कोड स्निपेट उदाहरण भी शामिल हैं। हम कोड और प्रलेखन को निकटता से रखने के लिए यह सब इनलाइन रखते हैं, और इस विचार को सुदृढ़ करने के लिए कि कोड में योगदान देने की तुलना में प्रलेखन में योगदान करना अधिक महत्वपूर्ण है (यदि अधिक नहीं)। जब लाइब्रेरी निर्मित हो जाता है, तो यह इनलाइन प्रलेखन और उदाहरणों की जांच करता है ताकि यह सुनिश्चित हो सके कि वे कोड के व्यवहार के तरीके से मेल खाते हैं। योगदान करने के लिए, आप [inline_documentation.md](./inline_documentation.md) पृष्ठ को देखकर शुरू कर सकते हैं।
- The [p5js.org उदाहरण](http://p5js.org/examples) पृष्ठ में लंबे उदाहरण हैं जो p5.js. सीखने के लिए उपयोगी हो सकते हैं। योगदान करने के लिए, आप [add_examples.md](https://github.com/processing/p5.js-website/blob/main/contributor_docs/Adding_examples.md) पृष्ठ को देखकर शुरू कर सकते हैं।
- The [p5js.org उदाहरण](https://p5js.org/examples) पृष्ठ में लंबे उदाहरण हैं जो p5.js. सीखने के लिए उपयोगी हो सकते हैं। योगदान करने के लिए, आप [add_examples.md](https://github.com/processing/p5.js-website/blob/main/contributor_docs/Adding_examples.md) पृष्ठ को देखकर शुरू कर सकते हैं।
- The [p5js.org सीखिए](https://p5js.org/tutorials) पृष्ठ में p5.js और प्रोग्रामिंग की अवधारणाओं को सीखने में मदद करने के लिए ट्यूटोरियल हैं। योगदान करने के लिए, आप [p5.js ट्यूटोरियल में योगदान करने के लिए गाइड](https://p5js.org/learn/tutorial-guide.html) देखकर शुरू कर सकते हैं।
- आप देखेंगे कि वर्तमान में p5.js वेबसाइट कुछ अलग भाषाओं का समर्थन करती है। इसे अंतर्राष्ट्रीयकरण (या संक्षेप में i18n) कहा जाता है। आप इस दस्तावेज़ के बारे में [i18n_contribution](https://github.com/processing/p5.js-website/blob/main/contributor_docs/i18n_contention.md) पृष्ठ पर अधिक पढ़ सकते हैं।

Expand Down
6 changes: 3 additions & 3 deletions contributor_docs/hi/contributing_to_the_p5js_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ p5.js के स्रोत कोड को देखने पर, आपक

## संदर्भ टिप्पणी ब्लॉक

ऊपर दिए गए `sin()` फ़ंक्शन के लिए संदर्भ टिप्पणियों ब्लॉक को विश्लेषित करें और देखें कि प्रत्येक खंड का क्या काम है। आप यहाँ टिप्पणियों में दिखने वाली जानकारी और `sin()` के संदर्भ पृष्ठ पर जो दिखता है, उनकी तुलना कर सकते हैं। ([`sin()`](https://p5js.org/reference/#/p5/sin))
ऊपर दिए गए `sin()` फ़ंक्शन के लिए संदर्भ टिप्पणियों ब्लॉक को विश्लेषित करें और देखें कि प्रत्येक खंड का क्या काम है। आप यहाँ टिप्पणियों में दिखने वाली जानकारी और `sin()` के संदर्भ पृष्ठ पर जो दिखता है, उनकी तुलना कर सकते हैं। ([`sin()`](https://p5js.org/reference/p5/sin))

```
/**
Expand Down Expand Up @@ -143,7 +143,7 @@ p5.js के स्रोत कोड को देखने पर, आपक

## अतिरिक्त चिन्ह

यदि किसी फ़ंक्शन के पास कई संभावित पैरामीटर विकल्प हैं, तो आप प्रत्येक को व्यक्तिगत रूप से निर्दिष्ट कर सकते हैं। उदाहरण के लिए, [`background()`](http://p5js.org/reference/#p5/background) फ़ंक्शन कई विभिन्न पैरामीटर विकल्प लेता है (संदर्भ पृष्ठ पर "सिंटैक्स" खण्ड देखें)। पहले हस्ताक्षर के रूप में एक संस्करण को चुनें और उसे पहले संदर्भ टिप्पणी ब्लॉक के अंत में जोड़ें, निम्नलिखित उदाहरण का पालन करें। पहले संदर्भ टिप्पणी ब्लॉक के अंत में, आप अतिरिक्त हस्ताक्षर जोड़ सकते हैं, प्रत्येक अपने ब्लॉक में, केवल `@method` और `@param` टैग का पालन करते हुए, निम्नलिखित उदाहरण का पालन करें।
यदि किसी फ़ंक्शन के पास कई संभावित पैरामीटर विकल्प हैं, तो आप प्रत्येक को व्यक्तिगत रूप से निर्दिष्ट कर सकते हैं। उदाहरण के लिए, [`background()`](https://p5js.org/reference/#p5/background) फ़ंक्शन कई विभिन्न पैरामीटर विकल्प लेता है (संदर्भ पृष्ठ पर "सिंटैक्स" खण्ड देखें)। पहले हस्ताक्षर के रूप में एक संस्करण को चुनें और उसे पहले संदर्भ टिप्पणी ब्लॉक के अंत में जोड़ें, निम्नलिखित उदाहरण का पालन करें। पहले संदर्भ टिप्पणी ब्लॉक के अंत में, आप अतिरिक्त हस्ताक्षर जोड़ सकते हैं, प्रत्येक अपने ब्लॉक में, केवल `@method` और `@param` टैग का पालन करते हुए, निम्नलिखित उदाहरण का पालन करें।

```
/**
Expand Down Expand Up @@ -270,7 +270,7 @@ p5.js के स्रोत कोड को देखने पर, आपक
* </code></div>
```

यदि आपका उदाहरण बाहरी संसाधन फ़ाइलों का उपयोग करता है, तो उन्हें [/docs/yuidoc-p5-theme/assets](https://github.com/processing/p5.js/tree/main/docs/yuidoc-p5-theme/assets) फ़ोल्डर में रखें (या पहले से वहां मौजूद कोई उपयोग करें) फिर उन्हें कोड में "assets/filename.ext" के साथ लिंक करें। उदाहरण के लिए [tint()](http://p5js.org/reference/#/p5/tint) संदर्भ देखें।
यदि आपका उदाहरण बाहरी संसाधन फ़ाइलों का उपयोग करता है, तो उन्हें [/docs/yuidoc-p5-theme/assets](https://github.com/processing/p5.js/tree/main/docs/yuidoc-p5-theme/assets) फ़ोल्डर में रखें (या पहले से वहां मौजूद कोई उपयोग करें) फिर उन्हें कोड में "assets/filename.ext" के साथ लिंक करें। उदाहरण के लिए [tint()](https://p5js.org/reference/p5/tint) संदर्भ देखें।


### `describe()` का उपयोग करके कैनवास का विवरण जोड़ें
Expand Down
Loading