Skip to content

A js library for drawing and generating SVG shapes and freeform paths, using a mouse/finger/stylus. The rendering is left up to you, ShapeShop just gives you the data you need. ShapeShop supports plain old js, React Hooks, and exports a React Component for ease of use.

License

Notifications You must be signed in to change notification settings

sweetcoco/shapeshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShapeShop

A js(ts) library for drawing and generating SVG shapes and freeform paths, using a mouse/finger/stylus. The rendering is left up to you, ShapeShop just gives you the data you need. ShapeShop supports plain old js, React Hooks, and (in the future) exports a React Component for ease of use.

Developing

Build the packages

npm install       # install dev dependencies and symlink packages in root node_modules

npm run build

Run the example

# run the build steps listed above first.

cd example/react-app

npm install

# annoyingly, you need to go back to the root node_modules and delete react from it, the versions compete in the example react-app

npm start

About

A js library for drawing and generating SVG shapes and freeform paths, using a mouse/finger/stylus. The rendering is left up to you, ShapeShop just gives you the data you need. ShapeShop supports plain old js, React Hooks, and exports a React Component for ease of use.

Resources

License

Stars

Watchers

Forks

Packages

No packages published