Triangulation effect in iOS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Triangulation.xcodeproj
Triangulation
TriangulationDemo
image
.gitignore
.swift-version
LICENSE
README.md
Triangulation.podspec

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.