Giter VIP home page Giter VIP logo

swift-stack-blur's Introduction

Swift Stack Blur

This is an implementation of Mario Klingemann's Stack Blur originally written in Java, but ported to iOS and objective-C by Thomas LANDSPURG here StackBluriOS.

The original can be seen here: http://incubator.quasimondo.com/processing/fast_blur_deluxe.php

I have attempted to recreate what Thomas has done with the port, although you could just go ahead and use his port in a mostly Swift project and link to his objective-C using a bridging header file.

I believe that Thomas's objective-C implementation may be slightly faster right now, but this could change with future improvements to the Swift compiler.

Installation & Usage

This has been written as an extension to the UIImage class and should be fairly easy to implement in any project.

  • Clone this repo.
  • Copy the SwiftStackBlur.swift file to your own project.
  • You can now use the .swiftStackBlur function on any UIImage by passing in a radius for the blur.

License

Swift Stack Blur is available under the The BSD 3-Clause License. Check the LICENSE file for more info.

swift-stack-blur's People

Contributors

leonardosul avatar

Watchers

James Cloos 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.