• Stars
    star
    131
  • Rank 275,867 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SVG Paths to array of points

PathToPoints

SVG Paths to array of points - https://shinao.github.io/PathToPoints/

Extract points from SVG paths or generate them from a text.

Preview

Preview

Capacities

You can either get each path array of points seperately each differentiated by a color or all of them at the end of the tabs.

The paths are then scaled and reposition as most as possible to the center of the screen.
Each line correpond to a point, the x and y axis are separated by a comma. Each paths are separated by a #.

Notes

It is possible that the paths drawn are weird looking or cannot be seen. This app only takes paths into account, any rotation, transform and other attributes are ignored. Nevertheless the array of points given should be accurate.