Skip to content

mattdesl/pen-plotter-blog-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected] and [email protected] 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