Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xyzxqs/XLowPoly
Lowpoly picture, Sandpainting for Android implemented by JNI, delaunay triangulation algorithm
https://github.com/xyzxqs/XLowPoly
android android-library delaunay-triangulation jni lowpoly
Last synced: 3 months ago
JSON representation
Lowpoly picture, Sandpainting for Android implemented by JNI, delaunay triangulation algorithm
- Host: GitHub
- URL: https://github.com/xyzxqs/XLowPoly
- Owner: xyzxqs
- License: apache-2.0
- Created: 2016-10-02T08:47:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T08:05:26.000Z (about 6 years ago)
- Last Synced: 2024-06-16T05:35:13.855Z (5 months ago)
- Topics: android, android-library, delaunay-triangulation, jni, lowpoly
- Language: C
- Homepage:
- Size: 2.46 MB
- Stars: 265
- Watchers: 14
- Forks: 45
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-android-ui - XLowPoly - low poly图片的安卓实现 (图片)
README
# XLowPoly
Low poly picture, Sandpainting for Android implemented by JNI, delaunay triangulation algorithm.## Screenshots
## Including in your project
To add a dependency on xlowpoly using Gradle:
```gradle
dependencies {
compile 'io.github.xyzxqs:xlowpoly:1.0.1'
}
```or import the module `xlowpoly` to your project by Android Studio
You can also use [these source files](./xlowpoly/src/main/jni/) to compile cross platform program.
## Usage
```java
Bitmap out = LowPoly.sandPainting(Bitmap input, int threshold, float alphaOrPointCount);
Bitmap out = LowPoly.lowPoly(Bitmap input, float alphaOrPointCount, boolean fill);
```
## License
Copyright 2016 xyzxqs ([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.