Triangulation
Intoduction
Triangulation
will magically change your image like this!
Before | After |
---|---|
Requirements
Triangulation
is written in Swift 4.2. Compatible with iOS 9.0+
Installation
Cocoapods
Triangulation is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Triangulation'
Carthage
github "younatics/Triangulation"
Usage
Add TriangulationView
with custom cell size. That's it!
let triangleView = TriangulationView(frame: view.bounds, image: image, cellSize: 40)
view.addSubview(triangleView)
References
Please tell me or make pull request if you use this library in your application :)
Author
License
Triangulation is available under the MIT license. See the LICENSE file for more info.