Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ands/sproutline
A small single-file library for sprite outline extraction and simplification for C/C++
https://github.com/ands/sproutline
Last synced: 3 months ago
JSON representation
A small single-file library for sprite outline extraction and simplification for C/C++
- Host: GitHub
- URL: https://github.com/ands/sproutline
- Owner: ands
- Created: 2015-10-22T23:45:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T01:43:48.000Z (about 9 years ago)
- Last Synced: 2024-08-04T02:10:42.812Z (6 months ago)
- Language: C
- Homepage:
- Size: 449 KB
- Stars: 82
- Watchers: 8
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- AwesomeCppGameDev - sproutline - file library for sprite outline extraction and simplification for C/C++ (Graphics)
README
# Sproutline
A small single-file library for sprite outline extraction and simplification for C/C++.
**Input:** Sprite with an alpha channel.
**Output:** All the outline paths (simplified, if necessary) for objects in the sprite image.
*'sproutline.h'* is the whole library.
It follows the stb philosophy.
Everything else here is example code, an example image and this readme.# Pipeline
![Sproutline pipeline](https://github.com/ands/sproutline/raw/master/README_pipeline.png)