p5.js
canvas-sketch
p5.js | canvas-sketch | |
---|---|---|
233 | 12 | |
20,869 | 4,904 | |
0.5% | - | |
9.9 | 5.0 | |
7 days ago | 3 months ago | |
JavaScript | JavaScript | |
GNU Lesser General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
p5.js
- P5.js: Online Canvas Programming
- Coming Home From the South Pole
-
Turbo Pascal Turns 40
Processing (P5) had this: you can select any string of text in its IDE anl search for it in the docs, and if it's one of the built-in functions or constants it will open the associated static html page that came installed with the software, so no internet nor server required. And despite being offline you can still navigate the docs too. This feels a lost basic skill in static site generation these days.
It was the only creative coding framework that had complete, offline documentation like that at the time I might add. OpenFrameworks is still mostly autogenerated stubs for example.
IMO it was one of the things that gave Processing an edge in educational contexts over all alternatives. I was pretty sad to see p5.js not fully continue that tradition and require that you go online to read the docs, and that it's not a static website but that text is rendered with javascript when you open it (still complete and with examples though).
https://processing.org/
https://p5js.org/
-
My Google Play Developer account has been terminated
I thought it could be funny to use the javascript version of it https://p5js.org/ in a web page and then wrap it in a Unity app, since Unity was and is the environment I use for making apps.
-
Repetition can make you loopy!: Intro to JavaScript Loops
In this last section, I'll be creating some visual examples to show how helpful loops can be. I'll be using p5js, a JavaScript library with functionality for creative coding. That being said, I'll try to give a condensed version of the functions being utilized in the following examples.
-
G9.js: Automatically Interactive Graphics
I was curious too, took a little bit of digging :)
"the original domain of [P]rocessing was proce55ing.net, so people used to sometimes refer to processing as proce55ing or P5 or p5 for short. they still do sometimes. p5.js is a reference to that."
from https://github.com/processing/p5.js/issues/2443
-
[OC] Monthly Performance of the S&P 500: 94 Years in 1 Video.
Sketch.js - https://p5js.org/
-
Ask HN: How to teach a kid of 15 Linux and programming
> how do I get him learning programming in a fun way?
Processing / P5.js can be pretty fun to learn. You use a real programming language to create art and animations. With little code you can get a circle on the screen, then making it move, then following your mouse, then adding other shapes, then changing colour depending on some event… It’s conductive to experimentation and a way to gradually introduce concepts.
https://processing.org/
https://p5js.org/
https://thecodingtrain.com/
-
[OC] I created a simple, free waveform and genre visualizer for your top ten Spotify songs, a few samples below and link to the tool in the comments!
Then I used p5js to create the 'art' itself, really user friendly coding framework with lots of resources online! If you want to get into coding, that is a really great entry point with Daniel Schiffman's coding train videos on YT!
-
Different texture types
Posted an issue for it that u guys can check out here: https://github.com/processing/p5.js/issues/6166
canvas-sketch
-
Which version of Processing should I learn if I want to plot my images with an Axidraw plotter?
I believe mattdesl/canvas-sketch has some tools to help export a p5 sketch as svg. I haven't used it for that purpose yet but if I was going to try it, this is where I would start.
-
P5.js sketch, save as SVG or PDF
I know people have gotten p5 to run in canvas-sketch and that canvas-sketch has the capability to output svg
-
Islamic Geometric Art (Design #30 from Anadolu Selçuklu Sanatinin Geometrik Dili)
The basics: I generated this plot via a program I wrote. That program was written in Javascript, using the p5.js library for drawing lines and stuff, and canvas-sketch to generate the SVG for plotting. I passed the SVG through vpype to merge & sort the lines, and then connected to the AxiDraw using saxi. Not knowing where you're at, those are a good choice to get started—Javascript is an okay language, and p5.js is really good for just getting stuff appearing on the page. And you can just start with the first 2, and add vpype and saxi later.
- P5.js – A library to make coding accessible for artists, designers, educators
-
learning about flow fields
Yep! Using it wrapped with Matt DesLauriers' canvas-sketch, which I've found really useful for local development, especially exporting.
-
Creative Code Management
With canvas-sketch[1] you hit a keystroke when you see a generation you like, and it runs git commit, captures a print resolution output, and exports it as a file tagged with git hash and optional PRNG seed suffix. This way you can reproduce exactly a generative artwork from years ago, without the hassle of manual git/shell commands, and with any file/image viewer.
[1] - https://github.com/mattdesl/canvas-sketch/blob/master/docs/e...
-
p5js combined with a drawing machine and pencil [video]
Another way to get svgs out of p5js is to use canvas-sketch (https://github.com/mattdesl/canvas-sketch) but i have been having a few other issues with that and haven't integrated it into my workflow yet.
-
Questions about Algorithmically generated pixel art
If you want to get your hands dirty, I'd recommend canvas-sketch by MattDesl. It's a nice all-in-one package for a sort of 'visual REPL'.
-
My favorite part is getting them printed!
Previously, I used canvas-sketch which is also really nice.
-
Genuary Day 8: Marching coils
Made with canvas-sketch (highly recommended - it makes exporting GIFs a piece of cake)
What are some alternatives?
three.js - JavaScript 3D Library.
flowfields
paper.js - The Swiss Army Knife of Vector Graphics Scripting – Scriptographer ported to JavaScript and the browser, using HTML5 Canvas. Created by @lehni & @puckey
p5.js-svg - SVG runtime for p5.js.
fabric.js - Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser
canvas-engines-comparison - Performance comparison of different canvas rendering engines.
two.js - A renderer agnostic two-dimensional drawing api for the web.
vpype - The Swiss-Army-knife command-line tool for plotter vector graphics.
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
PIXELSYNTH
heatmap.js - 🔥 JavaScript Library for HTML5 canvas based heatmaps
noc-book-2023 - Nature of Code with p5.js and Notion workflow / build system. [Moved to: https://github.com/nature-of-code/noc-book-2]