{"id":19333957,"url":"https://github.com/blackmad/plottrbottr","last_synced_at":"2025-06-19T13:33:49.257Z","repository":{"id":38408038,"uuid":"199469311","full_name":"blackmad/plottrbottr","owner":"blackmad","description":"A tool for turning SVG outlines into geometric art for CNCing","archived":false,"fork":false,"pushed_at":"2023-01-04T11:24:10.000Z","size":13064,"stargazers_count":11,"open_issues_count":36,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-11T15:52:48.388Z","etag":null,"topics":["cnc","generative-art","lasercutter","voronoi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackmad.png","metadata":{"files":{"readme":"README-base.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-29T14:30:53.000Z","updated_at":"2022-12-27T19:38:52.000Z","dependencies_parsed_at":"2023-02-02T10:16:50.657Z","dependency_job_id":null,"html_url":"https://github.com/blackmad/plottrbottr","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmad%2Fplottrbottr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmad%2Fplottrbottr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmad%2Fplottrbottr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackmad%2Fplottrbottr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackmad","download_url":"https://codeload.github.com/blackmad/plottrbottr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223906241,"owners_count":17223046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cnc","generative-art","lasercutter","voronoi"],"created_at":"2024-11-10T02:55:45.115Z","updated_at":"2024-11-10T02:55:45.727Z","avatar_url":"https://github.com/blackmad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\nA tool for taking in an SVG and making it more interesting to plot or cut with the magic of voronois and delaunay triangulation.\n\nTakes the longest path found in an SVG and fills it with parametric joy.\n\nI guess somewhat inspried by trammel's [lace maker](https://bitbucket.org/hudson/boxer/src/tip/lace-maker?at=default)\n\nAnd very inspired by Julien Leonard's [paper cut butterflies](https://julienleonard.com/making-of-paper-cut-butterfly.html)\n\nInteractive Web Version (https://blackmad.github.io/plottrbottr/)\n\n# Usage\nRequires a pretty recent version of node, I use\n\n     nvm use v12.7.0\n\nCommand line options mostly make sense\n\n    [blackmad@wnyc plottrbottr (master)]$ node lace-maker2.js --help\n    usage: lace-maker2.js [-h] [--debug] [--inchInPoints INCHINPOINTS] [--addHole]\n                          [--butt] [--holeSize HOLESIZE] [--maxWidth MAXWIDTH]\n                          [--maxHeight MAXHEIGHT] [--voronoi] [--subtract]\n                          [--numPoints NUMPOINTS]\n                          [--numExtraPoints NUMEXTRAPOINTS] [--open]\n                          [--outputTemplate OUTPUTTEMPLATE]\n                          [--subtractBuffer SUBTRACTBUFFER]\n                          [--outlineSize OUTLINESIZE] [--safeBorder SAFEBORDER]\n                          [--rounded]\n                          inputFile [inputFile ...]\n\n    Positional arguments:\n      inputFile\n\n    Optional arguments:\n      -h, --help            Show this help message and exit.\n      --debug               output debugging in console and svg output\n      --inchInPoints INCHINPOINTS\n                            an inch in points, some people say 96, illustrator\n                            says 72\n      --addHole             add a hole to the output for putting a cord or\n                            jumpring through\n      --butt                if shape is wider than it is long, puts hole at long\n                            end rather than middle of width, only meaningful with\n                            --addHole\n      --holeSize HOLESIZE   --addHole size in inches\n      --maxWidth MAXWIDTH   maximum width (in inches) to resize width of input\n                            svg to\n      --maxHeight MAXHEIGHT\n                            maximum height (in inches) to resize height of input\n                            svg to\n      --voronoi             if false, fills with delaunay triangles, if true,\n                            with voronoi diagram\n      --subtract            subtracts a shrunk copy of the outline from the inner\n                            lace\n      --numPoints NUMPOINTS\n                            number of points to sample along outline for\n                            triangulation\n      --numExtraPoints NUMEXTRAPOINTS\n                            number of extra random interior points to add to\n                            triangulation\n      --open                open resulting svg in google chrome\n      --outputTemplate OUTPUTTEMPLATE\n                            template for outputting final svg. {{basePath}} is\n                            the only interpolated variable - original filename\n                            without extension\n      --subtractBuffer SUBTRACTBUFFER\n                            (in inches) how much to shrink outline by to create\n                            inner shape\n      --outlineSize OUTLINESIZE\n                            (in inches) half of border width between inner cutouts\n      --safeBorder SAFEBORDER\n                            (in inches) width of border around the inner design\n      --rounded             rounds corners of triangles/voronois\n\n # Examples\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackmad%2Fplottrbottr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackmad%2Fplottrbottr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackmad%2Fplottrbottr/lists"}