vpype
rbush
vpype | rbush | |
---|---|---|
16 | 2 | |
654 | 2,366 | |
- | - | |
7.8 | 4.8 | |
7 days ago | 7 months ago | |
Python | JavaScript | |
MIT License | 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.
vpype
- Building a DIY Pen Plotter
- Which version of Processing should I learn if I want to plot my images with an Axidraw plotter?
-
Helper to draw SVG from left to right (pencil/ fountain pens)
I'm not sure but that sounds like something vpype could do: https://github.com/abey79/vpype
-
Axidraw / Inkscape masking problem
If your polygons are closed you can try using vpype with the occult plug in to automatically remove invisible paths. The catch is that they really need to be closed polygons and not lines. There may be another plug in that does handle lines though.
-
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.
-
Ask HN: Software to turn black and white image into plottable SVG?
Ah, very nice.
That should reduce the effort needed to something you might be able to make quick work of, yourself, with some thought.
this website [1] recommends a tool called vpype [2] which might have an option to do what you need or might be able to be tweaked to do what you need
[1] https://www.acrylicode.com/svg-to-gcode-walkthrough/
[2] https://github.com/abey79/vpype
-
[Help] Cropping SVG problem
vpype: https://github.com/abey79/vpype occult plugin for vpype: https://github.com/LoicGoulefert/occult
- What is your workflow and goto code libraries?
-
Lots of dots issue with pen plotter
I think the lines are so small it makes dots. You can use vpipe tool to fix up stuff like this. Don't ask me for the command I just know it exists. https://github.com/abey79/vpype
-
Anyone worked out how to get an plotter to do joined up hand writing?
VPype has good tools for post-processing SVG to optimize plot speed. Simplifying the geometry and optimizing the line drawing order are the two basic things. Axidraw's Inkscape extension does some of this automatically, too.
rbush
-
React Virtualisation from scratch
There's a great library call rbush written by mourner which suits our purpose perfectly! Please do give a star to the repository if you like!
-
Islamic Geometric Art (Design #30 from Anadolu Selçuklu Sanatinin Geometrik Dili)
There's been 2 downsides with this approach, though. First is that I haven't found any good Javascript libraries for geometry—there are bits and pieces, but nothing good for questions like "what are the intersection points of these 2 circles". So I've been slowly cobbling together my own, and it's working okay. I'm still hoping that there's one out there, and I either haven't found it, or haven't realized it meets my needs. On the plus side, there are a *lot* of JS libraries for different data structures that are helpful—for instance, I used rbush to really speed up finding line intersections on the full graph of what I plotted. I'll use that to find polygons, and the long lines that snake across the whole image.
What are some alternatives?
vsketch - Generative plotter art environment for Python
virtualised-whiteboard
Grbl_Esp32 - A port of Grbl CNC Firmware for ESP32
supercluster - A very fast geospatial point clustering library for browsers and Node.
vpype-pixelart - Pixel art plotting in vpype
robust-predicates - Fast robust predicates for computational geometry in JavaScript
prettymaps - A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
earcut - The fastest and smallest JavaScript polygon triangulation library for your WebGL apps
WebPlotDigitizer - Computer vision assisted tool to extract numerical data from plot images.
saxi - Tools & library for driving the AxiDraw pen plotter
inklayers - inklayers is a command line program that exports layers from an SVG file. It can be used to create slide shows by editing a single SVG file.
canvas-sketch - [beta] A framework for making generative artwork in JavaScript and the browser.