Home

Awesome

cozyvec

cozyvec is a terminal program for creating plotter art (specifically via SVG files) in javascript with minimal setup.

Image

The library has been designed for brevity, so the code for a specific plot can be tweeted under the hashtag #cozyvec (much like PICO-8's #tweetcart and processing's #つぶやきProcessing) by providing shortcut versions of most tokens that are 1-4 characters.

Image

Browser Version

Browser version available at: https://brubsby.github.io/cozyvec

However, the standalone builds are a better user experience (menu items)

Install & Run

You can download builds for OSX, Windows and Linux, or if you wish to build it yourself, follow these steps:

git clone https://github.com/brubsby/cozyvec.git
cd cozyvec/desktop/
npm install
npm start

Library

Shortcuts

Paper Sizes

Paper sizes are defined here, create an issue or PR if you'd like me to add another standardized paper size to select from.

You can also call paper|ppr(width_mm, height_mm[, name[, is_portrait]]) at the beginning of your script to define a custom size for your plot.

Community

Contributing

Please create an issue if you have questions about behavior, find a bug, or want to make a feature/paper size request! I will also accept PR's, but might edit them first!