61

GitHub - younatics/Triangulation: Triangulation effect in iOS

 5 years ago
source link: https://github.com/younatics/Triangulation
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Triangulation

Version Carthage Compatible License: MIT Platform Swift 4.0

Intoduction

? Triangulate your image! Triangulation will magically change your image like this!

Before After 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

younatics Twitter

License

Triangulation is available under the MIT license. See the LICENSE file for more info.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK