Skip to content

atushi/GlitchKit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GlitchKit - Glitch on image in Objective-C

before glitch

#import "GlitchKit.h"

// glitch!
[uiImageView glitch];

after glitch

// apply custom glitch
[uiImageView glitchWithBlock:^int(int byte, int index, uint length, Byte *bytes) {
  return (byte == 42 && arc4random() % 3 == 1) ? 0 : byte;
}];

after glitch3

Installation

# Podfile
pod 'GlitchKit'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 88.1%
  • Ruby 11.9%