Skip to content

A node.js app to take an image and render it as a line drawing

License

Notifications You must be signed in to change notification settings

SKBruck/drawit

 
 

Repository files navigation

drawit

A node.js app to take an image and render it as a line drawing

macOS Install

From the terminal, do the following:

  1. Install homebrew: https://brew.sh/
  2. Install deps: brew install node potrace imagemagick
  3. Clone the repo: git clone git@github.com:allhandsactive/drawit.git and switch to the directory: cd drawit
  4. Install the node deps: npm install
  5. Install the python deps: pip3 install lxml
  6. Start the server: npm start
  7. Go to http://localhost:3000 to begin

TODO

  • Make things look a bit nicer
  • Images from a URL?
  • Generate gcode?
  • Pull in axidraw via a submodule
  • Allow hatch width to be configurable

Dependencies

  • imagemagick 7
  • potrace
  • Cartoon script for imagemagick (modified and distributed in bin)
  • Python 3
  • eggbot_hatch.py (and deps) included in bin
  • Python lxml (installed from pip, or as a system package)

About

A node.js app to take an image and render it as a line drawing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Other 1.5%