GithubHelp home page GithubHelp logo

guru78 / split-vc-blur Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vitoziv/split-vc-blur

0.0 2.0 0.0 7.29 MB

Example showing how to mimic blur effect in iOS 7 with UISplitViewController

License: MIT License

split-vc-blur's Introduction

split-vc-blur

This is an example showing how to mimic blur effects in iOS 7 with UISplitViewController. This example is optimized to render blur effects quickly with reasonable quality.

The blur effect code is based on code provided by Apple at WWDC 2013. You can download the code for the blur effect from:

https://developer.apple.com/downloads/index.action?name=WWDC%202013

Note that you will need a developer account to access this content. Look for iOS_UIImageEffects to get a package with Apple's example.

To make the blur effect performant, the code reduces the size of the snapshots it takes of the content view. This speeds up the blur convolution considerably. The smaller image size does not degrade image quality since the blur radius is set to a high value and one cannot see pixelation when the image is stretched to a larger size.

This example also shows a slow implementation of the blur effect that captures large screenshots and runs multiple passes of a box blur filter. The slow implementation is contained in a branch named 'slowImplementation'

To access the slow implementation, checkout the slowImplementation branch:

git checkout slowImplementation

The optimized version is in the master branch:

git checkout master

split-vc-blur's People

Contributors

mattwymore avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.