Skip to content

Instantly share code, notes, and snippets.

View erkanyildiz's full-sized avatar

Erkan YILDIZ erkanyildiz

View GitHub Profile
@boredzo
boredzo / PRHAngleGradientFilter.h
Created June 1, 2013 21:48
Core Image custom filter to generate an angular gradient. The center is at the origin (0,0). You may want to use CIAffineTransform and/or CICrop on the output.
//
// PRHAngleGradientFilter.h
//
// Created by Peter Hosey on 2013-01-30.
// Copyright (c) 2013 Peter Hosey. All rights reserved.
//
#import <QuartzCore/QuartzCore.h>
@interface PRHAngleGradientFilter : CIFilter