Triangulation effect in iOS
Switch branches/tags
Nothing to show
Clone or download
Latest commit 39c0c8d Oct 8, 2018

README.md

Triangulation

Version Carthage Compatible License: MIT Platform Swift 4.0

Introduction

📐 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.