File tree Expand file tree Collapse file tree 9 files changed +13
-12
lines changed
02_Animation_And_Variables/02_Mobile_Device_Movement
09_Angles_And_Motion/00_Sine_Cosine
07_Filter_Shader_p5strands
08_Adjusting_Positions_With_A_Shader_p5strands
12_Advanced_Canvas_Rendering
03_Shader_As_A_Texture_p5strands
15_Math_And_Physics/03_Smoke_Particle_System Expand file tree Collapse file tree 9 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ export const examplesCollection = defineCollection({
4141 )
4242 . optional ( ) ,
4343 // Collective attribution message either does not specify a year,
44- // or specifies 2024. To add a new possible value, update:
44+ // or specifies a year from 2024 onwards . To add a new possible value, update:
4545 // 1) content/examples/config.ts to include new permitted values;
4646 // 2) and content/ui/*.yaml strings for attribution to include the text
47- collectivelyAttributedSince : z . literal ( 2024 ) . optional ( ) ,
47+ collectivelyAttributedSince : z . union ( [ z . literal ( 2024 ) , z . literal ( 2026 ) ] ) . optional ( ) ,
4848 } )
4949 )
5050 . optional ( )
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ featuredImage: "../../../images/featured/02_Animation_And_Variables-02_Mobile_De
33featuredImageAlt : White circles on a black background, with varying degrees of transparency.
44title : Mobile Device Movement
55oneLineDescription : Animate based on device motion.
6- featured : true
76
87remix :
98 - description : Revised by
@@ -24,4 +23,4 @@ In this example, the
2423<a href = " https://p5js.org/reference/p5/accelerationY" target = " _blank" >accelerationY</a >,
2524and <a href = " https://p5js.org/reference/p5/accelerationZ" target = " _blank" >accelerationZ</a >
2625values set the position and size of a circle.
27- This only works for mobile devices.
26+ This only works for mobile devices.
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ featuredImage: "../../../images/featured/09_Angles_And_Motion-00_Sine_Cosine-thu
33featuredImageAlt : A point on the unit circle, together with the corresponding sine and cosine values on their graphs.
44title : Sine and Cosine
55oneLineDescription : Animate circular, back and forth, and wave motion.
6- featured : true
76
87remix :
98 - description : Revised by
@@ -28,4 +27,4 @@ The animation shows uniform circular motion around the unit circle
2827(circle with radius 1). Any angle measured from the the x-axis
2928determines a point on the circle. The cosine and sine of the angle
3029are defined to be the x and y coordinates, respectively, of that
31- point.
30+ point.
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ featuredImage: "../../../images/featured/11_3D-04_Filter_Shader-thumbnail.png"
33featuredImageAlt : A screenshot of a video of a city crosswalk, with offset colors.
44title : Filter Shader (p5.strands)
55oneLineDescription : Manipulate imagery with a shader, written in p5.strands.
6+ featured : true
67
78remix :
89 - description : Created by
2122 - label : 2026 p5.strands translation
2223 URL : https://github.com/processing/p5.js-website/tree/main/src/content/examples/en/11_3D/07_Filter_Shader_p5strands
2324
24- - collectivelyAttributedSince : 2024
25+ - collectivelyAttributedSince : 2026
2526---
2627
2728This is a p5.strands version of the Filter Shader example. Filter shaders apply
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ featuredImage: "../../../images/featured/11_3D-05_Adjusting_Positions_With_A_Sha
33featuredImageAlt : A red-to-blue waving ribbon on a white background.
44title : Adjusting Positions with a Shader (p5.strands)
55oneLineDescription : Use a shader to adjust shape vertices, written in p5.strands.
6+ featured : true
67
78remix :
89 - description : Created by
2122 - label : 2026 p5.strands translation
2223 URL : https://github.com/processing/p5.js-website/tree/main/src/content/examples/en/11_3D/08_Adjusting_Positions_With_A_Shader_p5strands
2324
24- - collectivelyAttributedSince : 2024
25+ - collectivelyAttributedSince : 2026
2526---
2627
2728This is a p5.strands version of the Adjusting Positions with a Shader example.
Original file line number Diff line number Diff line change 11---
22featuredImage : " ../../../images/featured/12_Advanced_Canvas_Rendering-02_Shader_As_A_Texture-thumbnail.png"
33featuredImageAlt : Two spheres broken up into a square grid with a gradient in each grid.
4- title : Shader as a Texture(GLSL)
4+ title : Shader as a Texture (GLSL)
55oneLineDescription : Generate a texture for a 3D shape using a shader.
66
77remix :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ featuredImage: "../../../images/featured/12_Advanced_Canvas_Rendering-02_Shader_
33featuredImageAlt : Two spheres broken up into a square grid with a gradient in each grid.
44title : Shader as a Texture (p5.strands)
55oneLineDescription : Generate a texture for a 3D shape using a shader, written in p5.strands.
6+ featured : true
67
78remix :
89 - description : Based on
2930 - label : 2026 p5.strands translation
3031 URL : https://github.com/processing/p5.js-website/tree/main/src/content/examples/en/12_Advanced_Canvas_Rendering/03_Shader_As_A_Texture_p5strands
3132
32- - collectivelyAttributedSince : 2024
33+ - collectivelyAttributedSince : 2026
3334---
3435
3536This is a p5.strands version of the Shader as a Texture example.
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ featuredImage: "../../../images/featured/15_Math_And_Physics-03_Smoke_Particle_S
33featuredImageAlt : Rainbow colored smoke angled towards the right of the canvas, with a white arrow above the smoke pointing right.
44title : Smoke Particles
55oneLineDescription : Simulate smoke with a particle system.
6- featured : true
76
87remix :
98 - description : Based on
@@ -30,4 +29,4 @@ positions and velocities are performed with p5.Vector methods.
3029
3130The particle system is implemented as a
3231<a href = " https://p5js.org/reference/p5/class" >class</a >, which contains an array of
33- objects (of class Particle).
32+ objects (of class Particle).
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ attribution:
208208 and : and
209209 Edited and maintained by : Edited and maintained by
210210 From 2024 onwards, edited and maintained by : From 2024 onwards, edited and maintained by
211+ From 2026 onwards, edited and maintained by : From 2026 onwards, edited and maintained by
211212 You can find the code history of these examples here : You can find the code history of these examples here
212213 You can suggest improvements by : You can suggest improvements by
213214 contributing to the current website : contributing to the current website
You can’t perform that action at this time.
0 commit comments