All Projects → YuAo → Yudisplacementtransition

YuAo / Yudisplacementtransition

Licence: mit
A GPU accelerated transition library makes use of displacement maps to create distortion effects.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Yudisplacementtransition

Ultralight
Next-generation HTML renderer for apps and games
Stars: ✭ 3,585 (+2862.81%)
Mutual labels:  opengl, metal, gpu
Remotery
Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer
Stars: ✭ 1,908 (+1476.86%)
Mutual labels:  opengl, metal, gpu
Metalpetal
A GPU accelerated image and video processing framework built on Metal.
Stars: ✭ 907 (+649.59%)
Mutual labels:  opengl, metal, gpu
Gfx
[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
Stars: ✭ 5,045 (+4069.42%)
Mutual labels:  opengl, metal, gpu
Imogen
GPU Texture Generator
Stars: ✭ 648 (+435.54%)
Mutual labels:  opengl, gpu
Glsl Pathtracer
A GLSL Path Tracer
Stars: ✭ 634 (+423.97%)
Mutual labels:  opengl, gpu
Pyopencl
OpenCL integration for Python, plus shiny features
Stars: ✭ 790 (+552.89%)
Mutual labels:  opengl, gpu
Alacritty
Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows.
Stars: ✭ 36,273 (+29877.69%)
Mutual labels:  opengl, gpu
Lighthouse2
Lighthouse 2 framework for real-time ray tracing
Stars: ✭ 542 (+347.93%)
Mutual labels:  opengl, gpu
Tvm
Open deep learning compiler stack for cpu, gpu and specialized accelerators
Stars: ✭ 7,494 (+6093.39%)
Mutual labels:  metal, gpu
Llgl
Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
Stars: ✭ 1,011 (+735.54%)
Mutual labels:  opengl, metal
Luminance Rs
Type-safe, type-level and stateless Rust graphics framework
Stars: ✭ 632 (+422.31%)
Mutual labels:  opengl, gpu
Ouzel
C++ game engine for Windows, macOS, Linux, iOS, tvOS, Android, and web browsers
Stars: ✭ 607 (+401.65%)
Mutual labels:  opengl, metal
Toypathtracer
Toy path tracer for my own learning purposes (CPU/GPU, C++/C#, Win/Mac/Wasm, DX11/Metal, also Unity)
Stars: ✭ 753 (+522.31%)
Mutual labels:  metal, gpu
Glchaos.p
3D GPUs Strange Attractors and Hypercomplex Fractals explorer - up to 256 Million particles in RealTime
Stars: ✭ 590 (+387.6%)
Mutual labels:  opengl, gpu
Shaderview
A library for simple shader programming
Stars: ✭ 87 (-28.1%)
Mutual labels:  metal, gpu
Videngine
3D graphics for iOS using Metal and Swift
Stars: ✭ 86 (-28.93%)
Mutual labels:  metal, gpu
Veldrid
A low-level, portable graphics library for .NET.
Stars: ✭ 1,784 (+1374.38%)
Mutual labels:  opengl, metal
Fna3d
FNA3D - 3D Graphics Library for FNA
Stars: ✭ 111 (-8.26%)
Mutual labels:  opengl, metal
Bulllord Engine
lightspeed lightweight elegant game engine in pure c
Stars: ✭ 539 (+345.45%)
Mutual labels:  opengl, metal

YUDisplacementTransition

Version License Platform

A GPU accelerated transition library which makes use of displacement maps to create distortion effects.

Inspired by hover-effect.

Built with MetalPetal.

Example

example 1 example 2

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

Displacement Map

A displacement map is a image file used to create distortion effects for the transition.

YUDisplacementTransition.Options

displacementIntensity Intensity of the distortion effect.

duration Transition duration.

timingFunction Timing function for the transition. Defaults: CubicEaseOut. More timing functions can be found at AHEasing.

angle The angle applied to the distortion effect, in radian.

YUViewControllerDisplacementTransition

Conforms to UIViewControllerAnimatedTransitioning protocol, can be used in view controller transitions.

YUCGImageDisplacementTransition

Can be used to transition between two CGImages.

YUDisplacementTransition

Can be used to transition between two MTIImages.

Installation

YUDisplacementTransition is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'YUDisplacementTransition'

Credits

Robin Dela for the javascript library hover-effect.

Photos from Unsplash.

Live demo by Codrops.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].