KyoheiG3 / Dynamicblurview
Licence: mit
DynamicBlurView is a dynamic and high performance UIView subclass for Blur.
Stars: β 792
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Dynamicblurview
flutter acrylic
Flutter library for window acrylic, mica & transparency effects (Windows, macOS & Linux). π
Stars: β 261 (-67.05%)
Mutual labels: blur
Hokoblur
an easy-to-use blur library for Android, support efficient dynamic blur tasks.
Stars: β 467 (-41.04%)
Mutual labels: blur
Miblurpopup
MIBlurPopup lets you create popups with a blurred background
Stars: β 598 (-24.49%)
Mutual labels: blur
Uieffect
UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
Stars: β 3,449 (+335.48%)
Mutual labels: blur
Blurtestandroid
This is a simple App to test some blur algorithms on their visual quality and performance.
Stars: β 396 (-50%)
Mutual labels: blur
DashcamCleaner
Censor identifiable information in videos., in particular dashcam recordings in Germany.
Stars: β 20 (-97.47%)
Mutual labels: blur
Glasscord
[BUGFIXES ONLY, SUPPORT WILL DROP MAR 1, 2021] Injecting composition effects into Electron applications!
Stars: β 737 (-6.94%)
Mutual labels: blur
Orionpreview
π
ΎοΈ OrionPreview is a simple animation with tanslation or scale views written in Java.
Stars: β 335 (-57.7%)
Mutual labels: blur
Shadowview
An iOS Library that makes shadows management easy on UIView.
Stars: β 391 (-50.63%)
Mutual labels: blur
Sablurimageview
You can use blur effect and it's animation easily to call only two methods.
Stars: β 538 (-32.07%)
Mutual labels: blur
HokoBlurDrawable
HokoBlurDrawable is an Android component which provides dynamic blur effect.
Stars: β 27 (-96.59%)
Mutual labels: blur
Blurify
blurify.js is a tiny(~2kb) library to blurred pictures, support graceful downgrade from `css` mode to `canvas` mode.
Stars: β 665 (-16.04%)
Mutual labels: blur
Gaussianblur
An easy and fast library to apply gaussian blur filter on any images. π©
Stars: β 473 (-40.28%)
Mutual labels: blur
Etsyblur
EtsyBlur is an Android library that allows developers to easily add a glass-like blur effect implemented in the Etsy app.
Stars: β 739 (-6.69%)
Mutual labels: blur
Lmdropdownview
LMDropdownView is a simple dropdown view inspired by Tappy.
Stars: β 543 (-31.44%)
Mutual labels: blur
DynamicBlurView
DynamicBlurView is a dynamic and high performance UIView subclass for Blur.
Appetize's Demo
- Since using the CADisplayLink, it is a high performance.
- Can generate a plurality of BlurView.
Requirements
- Swift 5
- iOS 8.0 or later
- tvOS 9.0 or later
How to Install DynamicBlurView
CocoaPods
Add the following to your Podfile
:
pod "DynamicBlurView"
Carthage
Add the following to your Cartfile
:
github "KyoheiG3/DynamicBlurView"
Usage
Example
Blur the whole
let blurView = DynamicBlurView(frame: view.bounds)
blurView.blurRadius = 10
view.addSubview(blurView)
Animation
UIView.animateWithDuration(0.5) {
blurView.blurRadius = 30
}
Ratio
blurView.blurRatio = 0.5
Variable
var blurRadius: CGFloat
- Strength of the blur.
var trackingMode: TrackingMode
- Mode for update frequency.
-
Common
is constantly updated. -
Tracking
is only during scrolling update. -
None
is not update.
var blendColor: UIColor?
- Blend in the blurred image.
var iterations: Int
- Number of times for blur.
- Default is 3.
var isDeepRendering: Bool
- If the view want to render beyond the layer, should be true.
- Default is false.
var blurRatio: CGFloat
- When none of tracking mode, it can change the radius of blur with the ratio. Should set from 0 to 1.
- Default is 1.
var quality: CaptureQuality
- Quality of captured image.
- Default is medium.
Function
func refresh()
- Remove cache of blur image then get it again.
func remove()
- Remove cache of blur image.
func animate()
- Should use when needs to change layout with animation when is set none of tracking mode.
Acknowledgements
- Inspired by FXBlurView in nicklockwood.
Author
Kyohei Ito
Follow me π
LICENSE
Under the MIT license. See LICENSE file for details.
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].