Skip to content

Commit c6969f4

Browse files
committed
Examples attribution metadata
1 parent 9ec8a52 commit c6969f4

File tree

59 files changed

+355
-109
lines changed

Some content is hidden

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

59 files changed

+355
-109
lines changed

docs/content_overview.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,19 @@ To add attribution, you can use the following block in the headers, listing in c
1818
```yaml
1919
remix:
2020
- description: Inspired by
21-
2221
attribution:
23-
- name: Prof. WM Harris
24-
URL: https://people.rit.edu/wmhics/
25-
22+
- name: Name Name
23+
URL: a-valid-link
2624
code:
27-
- URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/04_Control/05_Logical_Operators_2.js
2825
- label: pre-2023 code
29-
26+
URL: a-valid-link
3027
- description: Revised by
31-
3228
attribution:
33-
- name: Caleb Foss
34-
URL: https://github.com/calebfoss
35-
29+
- name: Name Name
30+
URL: a-valid-link
3631
code:
37-
- URL: https://github.com/processing/p5.js-example/tree/main/examples/02_Animation_And_Variables/03_Conditions
38-
label: 2023 revision code
32+
- label: 2023 revision code
33+
URL: a-valid-link
3934

4035
- collectivelyAttributedSince: 2024
4136
```

src/content/examples/en/01_Shapes_And_Color/00_Shape_Primitives/description.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,18 @@ remix:
1212
attribution:
1313
- name: Darren Kessner
1414
URL: https://github.com/dkessner
15-
- collective:
16-
since: 2024
17-
15+
- description: Created by
16+
attribution:
17+
- name: Caleb Foss
18+
URL: https://github.com/calebfoss
19+
- name: Darren Kessner
20+
URL: https://github.com/dkessner
21+
code:
22+
- label: 2023 code
23+
URL: https://github.com/processing/p5.js-example/tree/main/examples/01_Shapes_And_Color/00_Shape_Primitives
24+
- label: pre-2023 code
25+
URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/01_Form/01_Shape_Primitives.js
26+
- collectivelyAttributedSince: 2024
1827
---
1928

2029
This program demonstrates the use of the basic shape

src/content/examples/en/01_Shapes_And_Color/01_Color/description.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ featuredImageAlt: A few basic shapes drawn in different colors over a blue backg
44
title: Color
55
oneLineDescription: Add color to your sketch.
66

7-
87
remix:
98
- description: Created by
10-
119
attribution:
1210
- name: Caleb Foss
1311
URL: https://github.com/calebfoss
1412
- name: Darren Kessner
1513
URL: https://github.com/dkessner
16-
1714
code:
1815
- label: 2023 code
19-
URL: https://github.com/processing/p5.js-example/tree/main/examples/02_Animation_And_Variables/03_Conditions
20-
16+
URL: https://github.com/processing/p5.js-example/tree/main/examples/01_Shapes_And_Color/01_Color
2117
- collectivelyAttributedSince: 2024
2218

2319
---

src/content/examples/en/02_Animation_And_Variables/00_Drawing_Lines/description.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ title: Drawing Lines
55
oneLineDescription: Draw with the mouse.
66

77
remix:
8-
98
- description: Revised by
10-
119
attribution:
1210
- name: Darren Kessner
1311
URL: https://github.com/dkessner
14-
1512
code:
1613
- label: pre-2023 code
1714
URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/17_Drawing/00_Continuous_Lines.js
1815
- label: 2023 revision code
1916
URL: https://github.com/processing/p5.js-example/tree/main/examples/02_Animation_And_Variables/00_Drawing_Lines
20-
2117
---
2218

2319
Click and drag the mouse to draw a line.

src/content/examples/en/02_Animation_And_Variables/01_Animation_With_Events/description.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ oneLineDescription: Pause and resume animation.
66

77
remix:
88
- description: Revised by
9-
109
attribution:
1110
- name: Darren Kessner
1211
URL: https://github.com/dkessner
13-
12+
code:
13+
- label: 2023 code
14+
URL: https://github.com/processing/p5.js-example/tree/main/examples/02_Animation_And_Variables/01_Animation_With_Events
15+
- label: pre-2023 code
16+
URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/00_Structure/06_Redraw.js
1417
---
1518

1619
This example demonstrates the use of

src/content/examples/en/02_Animation_And_Variables/02_Mobile_Device_Movement/description.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ title: Mobile Device Movement
55
oneLineDescription: Animate based on device motion.
66
featured: true
77

8-
98
remix:
109
- description: Revised by
11-
1210
attribution:
1311
- name: Kasey Lichtlyter
1412
URL: https://www.klich.co/
15-
13+
code:
14+
- label: 2023 code
15+
URL: https://github.com/processing/p5.js-example/tree/main/examples/02_Animation_And_Variables/02_Mobile_Device_Movement
16+
- label: pre-2023 code
17+
URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/35_Mobile/02_Acceleration_Color.js
1618
---
1719

1820
The <a href="https://p5js.org/reference/p5/deviceMoved" target="_blank">deviceMoved()</a>

src/content/examples/en/02_Animation_And_Variables/03_Conditions/description.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,19 @@ oneLineDescription: Use if and else statements to make decisions while your sket
66

77
remix:
88
- description: Inspired by
9-
109
attribution:
1110
- name: Prof. WM Harris
1211
URL: https://people.rit.edu/wmhics/
13-
1412
code:
1513
- URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/04_Control/05_Logical_Operators_2.js
1614
label: pre-2023 code
17-
1815
- description: Revised by
19-
2016
attribution:
2117
- name: Caleb Foss
2218
URL: https://github.com/calebfoss
23-
2419
code:
2520
- URL: https://github.com/processing/p5.js-example/tree/main/examples/02_Animation_And_Variables/03_Conditions
2621
label: 2023 revision code
27-
2822
- collectivelyAttributedSince: 2024
2923

3024
---

src/content/examples/en/03_Imported_Media/00_Words/description.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ featuredImageAlt: Three columns of the words “ichi,” “ni,” “san,” an
44
title: Words
55
oneLineDescription: Load fonts and draw text.
66

7-
87
remix:
98
- description: Revised by
10-
119
attribution:
1210
- name: Kasey Lichtlyter
1311
URL: https://www.klich.co/
12+
code:
13+
- label: 2023 code
14+
URL: https://github.com/processing/p5.js-example/tree/main/examples/01_Shapes_And_Color/01_Color
15+
- label: pre-2023 code
16+
URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/19_Typography/01_Words.js
1417

1518
---
1619

src/content/examples/en/03_Imported_Media/01_Copy_Image_Data/description.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ featuredImageAlt: Black-and-white photograph of a parrot. A curvy line is drawn
44
title: Copy Image Data
55
oneLineDescription: Paint from an image file onto the canvas.
66

7-
87
remix:
98
- description: Revised by
10-
119
attribution:
1210
- name: Kasey Lichtlyter
1311
URL: https://www.klich.co/
12+
code:
13+
- label: 2023 code
14+
URL: https://github.com/processing/p5.js-example/tree/main/examples/03_Imported_Media/01_Copy_Image_Data
15+
- label: pre-2023 code
16+
URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/05_Image/10_Copy_Method.js
1417

1518
---
1619

src/content/examples/en/03_Imported_Media/02_Alpha_Mask/description.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ featuredImageAlt: Two leaf sprigs side by side on a white background. The right
44
title: Alpha Mask
55
oneLineDescription: Use one image to cut out a section of another image.
66

7-
87
remix:
98
- description: Revised by
10-
119
attribution:
1210
- name: Malay Vasa
1311
URL: https://github.com/Malayvasa
1412
- name: Kasey Lichtlyter
1513
URL: https://www.klich.co/
14+
code:
15+
- label: 2023 code
16+
URL: https://github.com/processing/p5.js-example/tree/main/examples/03_Imported_Media/02_Alpha_Mask
17+
- label: pre-2023 code
18+
URL: https://github.com/processing/p5.js-website-legacy/blob/main/src/data/examples/en/05_Image/03_Alpha_Mask.js
1619

1720
---
1821

0 commit comments

Comments
 (0)