Sedang Disiapkan

iOS code for small "sparkling, glowing circle" class using Core Animation

I need a cocoa touch / Objective-C CALayer subclass for iOS 6.0+ (using ARC) that provides a customizable, well performing tiny but beautiful animation of a circle to be used e.g. to mark a position on a map. It should be a circle which appears, glows and smoothly grows in radius, and after a few seconds fades out again. In addition to that, I’d like the circle to slightly “glow” (quick increase and slow decrease of luminosity) and emit a few sparkling, magic stardust particles when it comes on screen.

The class should have nice looking default values but also a public API that includes customizable properties for:

- circleStartRadius (in points)

- circleEndRadius

- circleStartColor

- circleEndColor

- circleStrokeWidth

- circleGlowingAmount

- circleFadeOutDuration

- particlesType

- particlesAmount

- particlesStartColor

- particlesEndColor

- particlesFadeOutDuration

And the public API should include some creation class methods like:

+ circleAt:(CGPoint);

+ circleAt:(CGPoint)position withStartRadius:(CGFloat)startRadius endRadius:(CGFloat)endRadius;

Important considerations:

- the particles should give the circle some magic, but should not disturb the clarity of the content within the circle. So they should mainly be on the outside of the circle and either move further to the outside while the circle grows, or fade away fast enough so that the inside of the circle stays clear enough.

- the animation should be centered at the layers anchor point

- the class should be called “GSEffectCircleLayer”

- the class should make it easy to make subclasses like : “BlueSmallFastDustCircle” or “BigSlowGreenToRedFireCircle”

- the usage should be so that if I have a transparent superview (on top of some other view) , then I can add one or more glowing default circles like this:

[[url removed, login to view] addSublayer:[GSEffectCircleLayer circleAt:CGPointMake(35,120)]];

- the code must not depend on 3rd party code (except for Apple's frameworks), so that I can use it in my app as if I had written it all by myself.

- I am no Core Animation expert. So if you think, some of my API suggestions etc. might not be very useful, please let me know.

Kemahiran: Cocoa, Reka Bentuk Grafik, iPad, iPhone, Objective C

Lihat lebih lanjut: glowing animation objective, core animation circles, cocoa ios glow animation, objective expert, ios 6, graphic design circles, graphic design app creation, customizable graphic design, core mark, code 30, cocoa apple, apple cocoa, anchor design, ios glow animation, ios core animation, objective apple, ios layer, objective code, tiny app, sparkling, particles, map animation, ios objective iphone, ios e, ios code

Tentang Majikan:
( 2 ulasan ) Berlin, Germany

ID Projek: #4037935

Dianugerahkan kepada:

ryandavies

I have a great amount of experience with the QuartzCore framework, and am confident that I can develop the GSEffectCircleLayer class for you, based on the specification that you have provided.

$100 USD dalam 10 hari
(5 Ulasan)
3.9

5 pekerja bebas membida secara purata $224 untuk pekerjaan ini

bolshedvorsky

Hi, I can implement this animated circle. Thanks, Sergey

$250 USD dalam 7 hari
(27 Ulasan)
6.3
JinJingRi

please check my PM and reviews.

$200 USD dalam 10 hari
(10 Ulasan)
5.8
programac

PMB Please...

$220 USD dalam 30 hari
(23 Ulasan)
5.2
FreeSkyTeam

I can code these classes using CALayer and a bit OpenGLES if really needed. I will document well so you can fully understand how I generate circle of star dust particles. Check my profile to see some of my works.

$350 USD dalam 12 hari
(4 Ulasan)
4.8