Skip to content

Commit 0d50ad0

Browse files
committed
Add 2023 revision attributions
1 parent 8b3d87f commit 0d50ad0

File tree

47 files changed

+208
-16
lines changed

Some content is hidden

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

47 files changed

+208
-16
lines changed

src/content/examples/config.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,18 @@ export const examplesCollection = defineCollection({
4949
* When rendering (in ExampleLayout.astro), these keys are replaced
5050
* with their full details from `remixLookup`.
5151
*/
52-
export const remixLookup = {
52+
53+
type RemixEntry = {
54+
attributionURL: string;
55+
attributionLabel: string;
56+
remixURL: string;
57+
remixLabel: string;
58+
};
59+
60+
export const remixLookup: { [key: string]: RemixEntry } = {
5361
"revision-2023-calebfoss": {
5462
attributionURL: "https://github.com/calebfoss",
55-
attributionLabel: "Caleb calebfoss",
63+
attributionLabel: "Caleb Foss",
5664
remixURL: "https://github.com/processing/p5.js-example",
5765
remixLabel: "Revised in 2023",
5866
},
@@ -62,10 +70,10 @@ export const remixLookup = {
6270
remixURL: "https://github.com/processing/p5.js-example",
6371
remixLabel: "Revised in 2023",
6472
},
65-
"revision-2023-katlich112358": {
73+
"revision-2023-klich": {
6674
attributionURL: "https://www.klich.co/",
6775
attributionLabel: "Kasey Lichtlyter",
6876
remixURL: "https://github.com/processing/p5.js-example",
6977
remixLabel: "Revised in 2023",
70-
}
71-
};
78+
},
79+
};

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ title: Drawing Lines
55
oneLineDescription: Draw with the mouse.
66

77
remix:
8-
- attributionURL: https://github.com/dkessner
9-
attributionLabel: Darren Kessner
10-
remixURL: https://github.com/processing/p5.js-example
11-
remixLabel: Revised in 2023
8+
- revision-2023-dkessner
129
---
1310

1411
Click and drag the mouse to draw a line.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ featuredImageAlt: White circles on a black background, with varying degrees of t
44
title: Mobile Device Movement
55
oneLineDescription: Animate based on device motion.
66
featured: true
7+
8+
9+
remix:
10+
- revision-2023-klich
711
---
812

913
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ featuredImage: "../../../images/featured/02_Animation_And_Variables-03_Condition
33
featuredImageAlt: A small black circle on a rainbow, lattice-shaped path, on top of a grey and white striped background.
44
title: Conditions
55
oneLineDescription: Use if and else statements to make decisions while your sketch runs.
6+
7+
collectivelyAttributedSince: 2024
8+
remix:
9+
- attributionURL: https://people.rit.edu/wmhics/
10+
attributionLabel: Prof. WM Harris
11+
- revision-2023-calebfoss
612
---
713

814
If and else statements allow a

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/03_Imported_Media-00_Words-thumbnail.pn
33
featuredImageAlt: Three columns of the words “ichi,” “ni,” “san,” and “shi” on a white background. The first column is right aligned, the middle column is center aligned, and the left column is left aligned.
44
title: Words
55
oneLineDescription: Load fonts and draw text.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
The <a href="https://p5js.org/reference/p5/text" target="_blank">text()</a> function is used for inserting text into the canvas.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/03_Imported_Media-01_Copy_Image_Data-th
33
featuredImageAlt: Black-and-white photograph of a parrot. A curvy line is drawn across the image; within the confines of that line, color is added to the photograph.
44
title: Copy Image Data
55
oneLineDescription: Paint from an image file onto the canvas.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
Using the <a href="https://p5js.org/reference/p5/copy" target="_blank">copy()</a>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/03_Imported_Media-02_Alpha_Mask-thumbna
33
featuredImageAlt: Two leaf sprigs side by side on a white background. The right sprig is labeled "Mask." The left sprig is labeled "Masked Image," and uses the shape of the right sprig to mask a photograph of tulips.
44
title: Alpha Mask
55
oneLineDescription: Use one image to cut out a section of another image.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
Using the

src/content/examples/en/03_Imported_Media/03_Image_Transparency/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/03_Imported_Media-03_Image_Transparency
33
featuredImageAlt: An astronaut on a planet as the background with a slightly transparent version of this image overlaid and to the left.
44
title: Image Transparency
55
oneLineDescription: Make an image translucent on the canvas.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
This program overlays one image over another by modifying the

src/content/examples/en/03_Imported_Media/04_Create_Audio/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/03_Imported_Media-04_Create_Audio-thumb
33
featuredImageAlt: A close up of an audio player timestamp, reading "0:00 / 2."
44
title: Audio Player
55
oneLineDescription: Create a player for an audio file.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
<a href="https://p5js.org/reference/p5/createAudio" target="_blank">createAudio()</a>

src/content/examples/en/03_Imported_Media/05_Video/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/03_Imported_Media-05_Video-thumbnail.pn
33
featuredImageAlt: A screenshot of a video of a hand, with the pointer finger touching a desk.
44
title: Video Player
55
oneLineDescription: Create a player for a video file.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
Using the <a href="https://p5js.org/reference/p5/noCanvas" target="_blank">noCanvas()</a>

src/content/examples/en/03_Imported_Media/06_Video_Canvas/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/03_Imported_Media-06_Video_Canvas-thumb
33
featuredImageAlt: Two overlaid screenshots of a video of a hand, with the pointer finger touching a desk. Text to the top right of the screenshot reads "Click the canvas to start and pause the video feed."
44
title: Video on Canvas
55
oneLineDescription: Display and stylize a video on the canvas.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
Using the

src/content/examples/en/04_Input_Elements/00_Image_Drop/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/04_Input_Elements-00_Image_Drop-thumbna
33
featuredImageAlt: A grey background with white text reading "Drag an image file onto the canvas."
44
title: Image Drop
55
oneLineDescription: Display an image that the page visitor dragged and dropped.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
<a href="https://p5js.org/reference/p5.Element/drop" target="_blank">drop()</a>

src/content/examples/en/04_Input_Elements/01_Input_Button/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/04_Input_Elements-01_Input_Button-thumb
33
featuredImageAlt: An input field with a submit button, labeled "Hello, p5!"
44
title: Input and Button
55
oneLineDescription: Use text input from the page visitor.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
Using the

src/content/examples/en/04_Input_Elements/02_DOM_Form_Elements/description.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ featuredImage: "../../../images/featured/04_Input_Elements-02_DOM_Form_Elements-
33
featuredImageAlt: A survey on a yellow background, consisting of an input field, radio buttons, and a dropdown.
44
title: Form Elements
55
oneLineDescription: Create a form and respond to the results.
6+
7+
collectivelyAttributedSince: 2024
8+
remix:
9+
- attributionURL: https://people.rit.edu/wmhics/
10+
attributionLabel: Prof. WM Harris
11+
- revision-2023-klich
612
---
713

814
The <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model" target="_blank">Document Object Model</a>,

src/content/examples/en/05_Transformation/01_Rotate/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/05_Transformation-01_Rotate-thumbnail.p
33
featuredImageAlt: Line segments rotated around center of canvas.
44
title: Rotate
55
oneLineDescription: Rotate the coordinate system.
6+
7+
remix:
8+
- revision-2023-dkessner
69
---
710

811
The

src/content/examples/en/05_Transformation/02_Scale/description.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ featuredImage: "../../../images/featured/05_Transformation-02_Scale-thumbnail.pn
33
featuredImageAlt: Solid rectangles stacked on top of one another.
44
title: Scale
55
oneLineDescription: Modify the coordinate system scale.
6+
7+
8+
remix:
9+
- revision-2023-dkessner
610
---
711

812
The

src/content/examples/en/06_Calculating_Values/02_Random/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/06_Calculating_Values-02_Random-thumbna
33
featuredImageAlt: A small purple circle on a black background.
44
title: Random
55
oneLineDescription: Get random numbers.
6+
7+
remix:
8+
- revision-2023-dkessner
69
---
710

811
This example demonstrates the use of the

src/content/examples/en/06_Calculating_Values/03_Constrain/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/06_Calculating_Values-03_Constrain-thum
33
featuredImageAlt: A small white circle in a pink rectangle.
44
title: Constrain
55
oneLineDescription: Keep a number within a range.
6+
7+
remix:
8+
- revision-2023-calebfoss
69
---
710

811
This example draws a circle as the cursor's position but

src/content/examples/en/06_Calculating_Values/04_Clock/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/06_Calculating_Values-04_Clock-thumbnai
33
featuredImageAlt: A pink clock on a grey background.
44
title: Clock
55
oneLineDescription: Get the current time.
6+
7+
remix:
8+
- revision-2023-calebfoss
69
---
710

811
The current time can be read with the

src/content/examples/en/07_Repetition/00_Color_Interpolation/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/07_Repetition-00_Color_Interpolation-th
33
featuredImageAlt: Horizontal stripes fading between light green at the top and dark blue at the bottom.
44
title: Color Interpolation
55
oneLineDescription: Fade between two colors.
6+
7+
remix:
8+
- revision-2023-calebfoss
69
---
710

811
<a href="https://developer.mozilla.org/en-US/docs/Glossary/Interpolation" target="_blank">Interpolation</a>

src/content/examples/en/07_Repetition/01_Color_Wheel/description.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ featuredImage: "../../../images/featured/07_Repetition-01_Color_Wheel-thumbnail.
33
featuredImageAlt: Small circles, each with a different color, arranged in a circular path, displaying hues across the color spectrum.
44
title: Color Wheel
55
oneLineDescription: Create a visualization of the color spectrum.
6+
7+
collectivelyAttributedSince: 2024
8+
remix:
9+
- attributionLabel: malayvasa2001
10+
- revision-2023-calebfoss
611
---
712

813
This example illustrates the appearance of different

src/content/examples/en/07_Repetition/02_Bezier/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/07_Repetition-02_Bezier-thumbnail.png"
33
featuredImageAlt: Ten rainbow-colored lines in a bezier curve formation.
44
title: Bezier
55
oneLineDescription: Draw a set of curves.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
<a href="https://p5js.org/reference/p5/bezier" target="_blank">bezier()</a>

src/content/examples/en/07_Repetition/03_Kaleidoscope/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/07_Repetition-03_Kaleidoscope-thumbnail
33
featuredImageAlt: Dark grey canvas that reflects the lines drawn within it in symmetrical sections.
44
title: Kaleidoscope
55
oneLineDescription: Draw mirrored designs with the mouse.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
A kaleidoscope is an optical instrument with two or more

src/content/examples/en/07_Repetition/05_Recursive_Tree/description.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ featuredImage: "../../../images/featured/07_Repetition-05_Recursive_Tree-thumbna
33
featuredImageAlt: A rainbow fractal tree on a black background.
44
title: Recursive Tree
55
oneLineDescription: Draw a tree using a function that calls itself.
6+
7+
8+
remix:
9+
- attributionURL: https://processing.org/examples/tree.html
10+
attributionLabel: Processing example by Dan Shiffman
11+
remixLabel: Based on
12+
- revision-2023-dkessner
13+
collectivelyAttributedSince: 2024
614
---
715

816
This is an example of rendering a simple tree-like structure via recursion.

src/content/examples/en/08_Listing_Data_with_Arrays/00_Random_Poetry/description.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ featuredImage: "../../../images/featured/08_Listing_Data_with_Arrays-00_Random_P
33
featuredImageAlt: A random series of words related to p5.js scattered on a maroon background.
44
title: Random Poetry
55
oneLineDescription: Generate a poem with words randomly selected from a bank.
6+
7+
collectivelyAttributedSince: 2024
8+
remix:
9+
- attributionLabel: malayvasa2001
10+
- revision-2023-klich
611
---
712

813
Using the

src/content/examples/en/09_Angles_And_Motion/00_Sine_Cosine/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ featuredImageAlt: A point on the unit circle, together with the corresponding si
44
title: Sine and Cosine
55
oneLineDescription: Animate circular, back and forth, and wave motion.
66
featured: true
7+
8+
remix:
9+
- revision-2023-dkessner
710
---
811

912
This example demonstrates the

src/content/examples/en/09_Angles_And_Motion/01_Aim/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/09_Angles_And_Motion-01_Aim-thumbnail.p
33
featuredImageAlt: Two eyes on a black background.
44
title: Aim
55
oneLineDescription: Rotate toward a point.
6+
7+
remix:
8+
- revision-2023-dkessner
69
---
710

811
The

src/content/examples/en/09_Angles_And_Motion/02_Triangle_Strip/description.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ featuredImage: "../../../images/featured/09_Angles_And_Motion-02_Triangle_Strip-
33
featuredImageAlt: Rainbow ring made up of triangles whose vertices lie on two concentric circles.
44
title: Triangle Strip
55
oneLineDescription: Split a ring into triangles.
6+
7+
8+
collectivelyAttributedSince: 2024
9+
remix:
10+
- attributionURL: https://archive.p5js.org/examples/form-triangle-strip.html
11+
attributionLabel: Ira Greenberg
12+
- revision-2023-dkessner
613
---
714

815
This example demonstrates how to create a shape

src/content/examples/en/10_Games/02_Snake/description.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ featuredImage: "../../../images/featured/10_Games-02_Snake-thumbnail.png"
33
featuredImageAlt: A narrow green L shape and a red square representing the snake and fruit in the arcade game Snake.
44
title: Snake
55
oneLineDescription: Make a game based on Snake arcade games.
6+
7+
collectivelyAttributedSince: 2024
8+
remix:
9+
- attributionURL: https://github.com/prashantgupta24
10+
attributionLabel: Prashant Gupta
11+
- revision-2023-calebfoss
612
---
713

814
This is a reproduction of a type of arcade game called

src/content/examples/en/11_3D/00_Geometries/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/11_3D-00_Geometries-thumbnail.png"
33
featuredImageAlt: Eight 3D shapes; a plane, box, cylinder, cone, torus, sphere, ellipsoid, and a model of an astronaut. The surface of the shapes are multicolored.
44
title: Geometries
55
oneLineDescription: Draw 3D shapes, including a custom model.
6+
7+
remix:
8+
- revision-2023-calebfoss
69
---
710

811
p5's

src/content/examples/en/11_3D/02_Materials/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/11_3D-02_Materials-thumbnail.png"
33
featuredImageAlt: Astronaut 3D model on a black background.
44
title: Materials
55
oneLineDescription: Change 3D objects' color, texture, and how they respond to light.
6+
7+
remix:
8+
- revision-2023-calebfoss
69
---
710

811
In 3D rendering, a material determines how a surface

src/content/examples/en/11_3D/03_Orbit_Control/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ featuredImageAlt: A sphere of dark purple cubes on a light pink background.
44
title: Orbit Control
55
oneLineDescription: Control the camera with the mouse.
66
featured: true
7+
8+
remix:
9+
- revision-2023-calebfoss
710
---
811

912
<a href="https://p5js.org/reference/p5/orbitControl" target="_blank">Orbit control</a>

src/content/examples/en/11_3D/06_Framebuffer_Blur/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/11_3D-06_Framebuffer_Blur-thumbnail.png
33
featuredImageAlt: A row of five orange spheres. The closest and farthest spheres from the camera appear blurred.
44
title: Framebuffer Blur
55
oneLineDescription: Simulate a camera's depth of field.
6+
7+
remix:
8+
- revision-2023-calebfoss
69
---
710

811
The

src/content/examples/en/12_Advanced_Canvas_Rendering/00_Create_Graphics/description.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ featuredImage: "../../../images/featured/12_Advanced_Canvas_Rendering-00_Create_
33
featuredImageAlt: Black canvas with a very dark grey rectangle in the middle. A white circle is at the edge of the rectangle.
44
title: Create Graphics
55
oneLineDescription: Draw imagery off-screen.
6+
7+
remix:
8+
- revision-2023-klich
69
---
710

811
The

0 commit comments

Comments
 (0)