Skip to content

Commit 7977352

Browse files
authored
Merge pull request #57 from bocoup/update-libraries
Update libraries
2 parents 81d5272 + d3cd8bb commit 7977352

Some content is hidden

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

50 files changed

+303
-10
lines changed

contributing_libraries.md

+8-6

src/content/libraries/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const categories = [
1111
"3d",
1212
"ai-ml-cv",
1313
"animation",
14-
"filters",
14+
"shaders",
1515
"language",
1616
"hardware",
1717
"sound",
@@ -39,7 +39,7 @@ export const librariesCollection = defineCollection({
3939
websiteUrl: z.string().url().optional(),
4040
// 1500x1000
4141
featuredImage: image(),
42-
author: author(),
42+
author: author().transform((val) => [val]).or(z.array(author())),
4343
// What license is the library licensed with?
4444
license: z.string().optional(),
4545
npm: z.string().optional(),

src/content/libraries/en/c2.js.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: c2.js
2+
category: algorithms
3+
description: c2.js is a JavaScript library for creative coding based on computational geometry, physics simulation, evolutionary algorithm and other modules.
4+
author:
5+
name: Ren Yuan
6+
url: https://renyuan.io
7+
sourceUrl: https://github.com/ren-yuan/c2.js
8+
websiteUrl: https://c2js.org
9+
npm: c2.js
10+
npmFilePath: dist/c2.min.js
11+
featuredImage:
12+
url: ../images/c2.js.png
13+
altText: Limited Voronoi
14+
license: MIT
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: canvasGUI
2+
description: Create GUI controls directly on your canvas.
3+
category: ui
4+
sourceUrl: https://github.com/quarks/canvasGUI
5+
websiteUrl: http://www.lagers.org.uk/canvasgui/index.html
6+
author:
7+
name: Peter Lager
8+
url: http://www.lagers.org.uk
9+
featuredImage:
10+
url: ../images/canvasGUI.png
11+
altText: Various controls shown on a canvas
12+
license: MIT

src/content/libraries/en/hy5.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: HY5
2+
category: animation
3+
description: hydra 🙏 p5.js ~ share visuals between both frameworks!
4+
author:
5+
name: Ted Davis
6+
url: https://teddavis.org
7+
sourceUrl: https://github.com/ffd8/hy5
8+
websiteUrl: https://hy5live.teddavis.org
9+
npmFilePath: ffd8/hy5@main/hy5.js
10+
featuredImage:
11+
url: ../images/hy5.jpg
12+
altText: p5.js spheres with texture from hydra and 'HY5' text, processed a second time with hydra.
13+
license: GNU General Public License v3.0

src/content/libraries/en/lygia.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: lygia
2+
description: |
3+
LYGIA is a shader library of reusable functions that will let you prototype, port or ship a project in just few minutes. It's very granular, flexible and efficient. Support multiple shading languages and can easily be added to any project, enviroment or framework of your choice.
4+
category: shaders
5+
sourceUrl: https://github.com/patriciogonzalezvivo/lygia
6+
websiteUrl: https://lygia.xyz/
7+
featuredImage:
8+
url: ../images/lygia.png
9+
altText: Different property materials and color adjustments applied to Standford Dragon geometry, using LYGIA's reusable functions
10+
author:
11+
name: Patricio Gonzalez Vivo
12+
url: https://github.com/patriciogonzalezvivo
13+
npm: resolve-lygia
14+
license: Prosperity & Patron License

src/content/libraries/en/p5.FIP.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.FIP
2+
description: Real-time image processing library - add filters and post-processing to your p5.js sketches.
3+
category: shaders
4+
sourceUrl: https://github.com/prontopablo/p5.FIP
5+
websiteUrl: https://prontopablo.github.io/p5.FIP/
6+
featuredImage:
7+
url: ../images/p5.FIP.png
8+
altText: The cover image for the p5.FIP library. Depicts a collage of three photos created using the filters in p5.FIP.
9+
author:
10+
name: Darragh Nolan
11+
url: https://github.com/prontopablo
12+
license: MIT
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.Utils
2+
category: utils
3+
description: p5.Utils is a tool collection for my coding class, featuring a pixel ruler, gradient fill color bindings, and other helpful shortcuts for beginners.
4+
author:
5+
name: Alp Tuğan
6+
url: https://www.alptugan.com
7+
sourceUrl: https://github.com/alptugan/p5.utils
8+
websiteUrl: https://alptugan.github.io/p5.utils/
9+
featuredImage:
10+
url: ../images/p5.utils.png
11+
altText: The cover image for p5Utils library. Depicts the ruler on a yellow background with p5.Utils text in the center.
12+
license: MIT
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: p5.animS
2+
description: Animates p5.js shapes by rendering their drawing processes.
3+
category: animation
4+
sourceUrl: https://github.com/wixette/p5.animS
5+
websiteUrl: https://wixette.github.io/p5.animS
6+
featuredImage:
7+
url: ../images/p5.anims.png
8+
altText: A circle and a Bézier curve animated with p5.animS
9+
author:
10+
name: wixette
11+
url: https://github.com/wixette
12+
npm: p5.anims
13+
license: LGPL-2.1
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.bezier
2+
description: p5.bezier helps draw Bézier curves with more than four control points and closed curves.
3+
category: drawing
4+
sourceUrl: https://github.com/peilingjiang/p5.bezier
5+
featuredImage:
6+
url: ../images/p5.bezier.png
7+
altText: The p5.bezier text with curves of different colors.
8+
author:
9+
name: Peiling Jiang
10+
url: https://jiang.pl/
11+
npm: p5bezier
12+
license: MIT
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.capture
2+
description: Record your p5.js sketches effortlessly!
3+
category: export
4+
sourceUrl: https://github.com/tapioca24/p5.capture
5+
featuredImage:
6+
url: ../images/p5.capture.png
7+
altText: "p5.capture: Record your p5.js sketches effortlessly!"
8+
author:
9+
name: tapioca24
10+
url: https://github.com/tapioca24
11+
npm: p5.capture
12+
license: MIT
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.createLoop
2+
category: animation
3+
description: Create animation loops with noise and GIF exports in one line of code.
4+
sourceUrl: https://github.com/mrchantey/p5.createLoop
5+
websiteUrl: https://www.npmjs.com/package/p5.createloop
6+
featuredImage:
7+
url: ../images/p5.createLoop.png
8+
altText: Three cascading waves created using p5.createLoop
9+
author:
10+
name: mrchantey
11+
url: https://github.com/mrchantey
12+
npm: p5.createloop

src/content/libraries/en/p5.csg.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: p5.csg
2+
description: A library for constructive solid geometry. Do Boolean operations on your p5.Geometry to make new shapes!
3+
category: 3d
4+
sourceUrl: https://github.com/davepagurek/p5.csg
5+
featuredImage:
6+
url: ../images/p5.csg.png
7+
altText: An egg cut up into slices
8+
author:
9+
name: Dave Pagurek
10+
url: https://www.davepagurek.com
11+
npm: "@davepagurek/p5.csg"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: p5.fillGradient
2+
category: drawing
3+
description: Fill shapes in p5.js with Linear, Radial and Conic Gradients.
4+
sourceUrl: https://github.com/alterebro/p5.fillGradient
5+
websiteUrl: https://www.npmjs.com/package/p5.fillgradient
6+
featuredImage:
7+
url: ../images/p5.fillGradient.png
8+
altText: Three gradients (linear, radial, and conic) created using p5.fillGradient
9+
author:
10+
name: Jorge Moreno
11+
url: https://alterebro.com
12+
npm: p5.fillgradient
13+
license: MIT
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.filterRenderer
2+
description: A library for rendering 3D scenes with depth-of-field blur and with ambient occlusion shadows.
3+
category: 3d
4+
sourceUrl: https://github.com/davepagurek/p5.filterRenderer
5+
featuredImage:
6+
url: ../images/p5.filterRenderer.png
7+
altText: A ladder looking up a shaft towards some light, going progressively more out of focus as it goes into the distance
8+
author:
9+
name: Dave Pagurek
10+
url: https://www.davepagurek.com
11+
npm: "@davepagurek/p5.filterrenderer"
12+
npmFilePath: p5.filterRenderer.min.js

src/content/libraries/en/p5.flex.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: p5.flex
2+
description: p5 container with responsive canvas feature.
3+
category: utils
4+
sourceUrl: https://github.com/ZRNOF/p5.flex
5+
featuredImage:
6+
url: ../images/p5.flex.png
7+
altText: p5.flex preview image
8+
author:
9+
name: Zaron Chen
10+
url: https://zrnof.github.io/
11+
npm: p5.flex
12+
npmFilePath: src/p5.flex.min.js
13+
license: MIT
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: p5.glitch
2+
category: animation
3+
description: p5.js library for glitching images and binary files in the web browser
4+
sourceUrl: https://github.com/ffd8/p5.glitch
5+
websiteUrl: https://p5.glitch.me
6+
featuredImage:
7+
url: ../images/p5.glitch.gif
8+
altText: animated p5.glitch logo glitching as a webp file
9+
author:
10+
name: Ted Davis
11+
url: https://teddavis.org
12+
npm: p5.glitch
13+
license: MIT
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.grain
2+
description: Conveniently add film grain, seamless texture overlays, and manipulate pixels to achieve nostalgic and artistic effects in p5.js sketches and artworks.
3+
category: drawing
4+
sourceUrl: https://github.com/meezwhite/p5.grain
5+
featuredImage:
6+
url: ../images/p5.grain.png
7+
altText: Colorful hexagonal cubes tessellation spelling "p5.grain"
8+
author:
9+
name: meezwhite
10+
url: https://www.meezwhite.xyz
11+
npm: p5.grain
12+
license: MIT
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.joystick
2+
description: Connect and play with physical joysticks.
3+
category: hardware
4+
sourceUrl: https://github.com/Vamoss/p5.joystick
5+
featuredImage:
6+
url: ../images/p5.joystick.png
7+
altText: Joystick image
8+
author:
9+
name: Vamoss
10+
url: https://www.vamoss.com.br
11+
npm: p5.joystick
12+
license: MIT
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: p5.party
2+
category: networking
3+
description: quickly prototype networked multiplayer games and apps
4+
author:
5+
name: Justin Bakse
6+
url: http://justinbakse.com
7+
sourceUrl: https://github.com/jbakse/p5.party
8+
websiteUrl: https://p5party.org
9+
npm: p5.party
10+
npmFilePath: dist/p5.party.js
11+
featuredImage:
12+
url: ../images/p5.party.png
13+
altText: p5.party logo. cheerful pastel block letters spelling "p5.party"
14+
license: MIT
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: p5.tween
2+
description: With p5.tween you can create easily animations as tween in a few keyframes.
3+
category: animation
4+
sourceUrl: https://github.com/Milchreis/p5.tween
5+
featuredImage:
6+
url: ../images/p5.tween.png
7+
altText: Two circles in different colors and sizes and an arrow from left to right that stylizes a transition.
8+
author:
9+
name: Nick Müller
10+
url: https://github.com/Milchreis
11+
npm: p5.tween
12+
license: MIT

src/content/libraries/en/p5.warp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ featuredImage:
88
author:
99
name: Dave Pagurek
1010
url: https://www.davepagurek.com
11-
npm: p5.warp
11+
npm: "@davepagurek/p5.warp"
1212
license: MIT
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: p5.webserial
2+
description: A library for interacting with Serial devices from within the browser, based on Web Serial API (available on Chrome and Edge).
3+
category: hardware
4+
sourceUrl: https://github.com/gohai/p5.webserial
5+
featuredImage:
6+
url: ../images/p5.webserial.png
7+
altText: Fingers resting on an acrylic cube sporting buttons to control a game unfolding on a laptop screen visible in the background
8+
author:
9+
name: Gottfried Haider
10+
url: https://github.com/gohai/
11+
npm: "@gohai/p5.webserial"
12+
npmFilePath: libraries/p5.webserial.js
13+
license: LGPL-2.1-or-later

src/content/libraries/en/p5play.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: p5play
2+
description: JS game engine that uses p5.js for graphics and Box2D for physics.
3+
category: physics
4+
sourceUrl: https://github.com/quinton-ashley/p5play
5+
featuredImage:
6+
url: ../images/p5play.png
7+
altText: The text 'made with p5play' on top of a collage of projects
8+
author:
9+
- name: Quinton Ashley
10+
url: https://p5play.org
11+
- name: Paolo Pedercini
12+
url: https://www.molleindustria.org/
13+
npm: p5play
14+
license: AGPLv3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Total Serialism
2+
description: A toolbox full of methods for procedurally generating and transforming arrays mainly focused on algorithmic composition. Includes methods like markov-chain, cellular automaton, lindenmayer system, euclidean distribution and much more! Generate the array with your desired method and easily iterate over them in a for-loop to draw the results.
3+
category: algorithms
4+
sourceUrl: https://github.com/tmhglnd/total-serialism
5+
websiteUrl: https://tmhglnd.github.io/total-serialism/
6+
featuredImage:
7+
url: ../images/'total-serialism.png'
8+
altText: 'A colorful image of circles and squares generated with procedural functions like a cellular automaton, fibonacci sequence and drunk randomness from this library.'
9+
author:
10+
name: Timo Hoogland
11+
url: https://www.timohoogland.name/
12+
npm: total-serialism
13+
npmFilePath: build/ts.es5.min.js
14+
license: MIT
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: WEBMIDI.js
2+
description: A user-friendly library to send and receive MIDI messages with ease.
3+
category: sound
4+
sourceUrl: https://github.com/djipco/webmidi
5+
featuredImage:
6+
url: ../images/webmidi.js.png
7+
altText: Kickstart your JavaScript MIDI projects!
8+
author:
9+
name: Jean-Philippe Côté
10+
url: https://djip.co
11+
npm: webmidi
12+
license: Apache-2.0
429 KB
1.96 MB

src/content/libraries/images/hy5.jpg

1.9 MB
1.15 MB
373 KB
109 KB
195 KB
1.44 MB
46.8 KB
101 KB
53.1 KB
102 KB
827 KB
1.11 MB
28 KB
212 KB
53.9 KB
33.1 KB
1.24 MB
250 KB
2.14 MB
114 KB

src/layouts/LibrariesLayout.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const { entries, title } = Astro.props;
2424
/>
2525
<span>{lib.data.name}</span>
2626
{lib.data.description}
27-
Created by: {lib.data.author.name}
27+
Created by: {lib.data.author.map(a => a.name).join(", ")}
2828
</a>
2929
</li>
3030
))

0 commit comments

Comments
 (0)