Skip to content

mattdesl/pen-plotter-blog-post

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pen-plotter-blog-post

This repo contains the source code and images for a two-part blog post, "Pen Plotter Art & Algorithms." You can read the posts on my blog:

Usage

If you want to run from source, make sure you have node@8.4.x and npm@5.3.x or higher. Then clone this repo, cd into it, and npm install to grab the dependencies.

Once the dependencies are installed, you can run one of the demos:

# the default penplot print template
npx penplot code/test-print.js --open

# simple concentric squares
npx penplot code/squares.js --open

# Delaunay triangulation example
npx penplot code/triangulation.js --open

# Patchwork (fractures with convex hull + k-means clustering)
npx penplot code/patchwork.js --open

License

MIT, see LICENSE.md for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published