noc-book-2023
canvas-sketch
noc-book-2023 | canvas-sketch | |
---|---|---|
2 | 12 | |
451 | 4,910 | |
- | - | |
9.4 | 5.0 | |
2 months ago | 3 months ago | |
HTML | JavaScript | |
- | 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.
noc-book-2023
-
The Nature of Code (Book)
Hi! I'm the author, excited to find this post here. I am working furiously on a new version of the book, if you want to see it in progress there is a preview site here: https://nature-of-code-2nd-edition.netlify.app/
More: https://github.com/nature-of-code/noc-book-2023
-
P5.js – A library to make coding accessible for artists, designers, educators
He's working on version 2.0 which is more P5.js based than "processing" based (processing is p5's faster but non web based sibling.).
There is a video series:
https://thecodingtrain.com/tracks/the-nature-of-code-2
https://github.com/nature-of-code/book-website-2nd-edition
Dan Shiffman is pretty great at explaining and introducing things. Coding Train videos get kinda advanced, which is slightly at odds with the "kid" like graphics.
The processing foundation is the umbrella group for p5.js, processing and some other tools (android and python based).
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?
p5.js-svg - SVG runtime for p5.js.
flowfields
canvas-engines-comparison - Performance comparison of different canvas rendering engines.
PIXELSYNTH
cannon-es-debugger - Wireframe debugger for use with cannon-es https://github.com/react-spring/cannon-es
vpype - The Swiss-Army-knife command-line tool for plotter vector graphics.
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
rbush - RBush — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles