• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iPhone 3.1] Core Animation that leaves a trial?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone 3.1] Core Animation that leaves a trial?


  • Subject: Re: [iPhone 3.1] Core Animation that leaves a trial?
  • From: David Duncan <email@hidden>
  • Date: Thu, 25 Feb 2010 17:32:02 -0800

On Feb 25, 2010, at 4:55 PM, John Michael Zorko wrote:

> I'm interested in having a CAKeyframeAnimation leave a "trail" i.e. imagine the image of a pencil being animated across the screen -- I want to draw a path of where the pencil has been along with the animated pencil. However, i'm not sure how to do this, since Core Animation is doing the drawing for me. If anyone can offer some pointers, i'd be quite appreciative :-)


There isn't a simple way to do this on iPhone OS – the class that would make it simpler (CAEmitterLayer) is not available.

There are various approaches that all involve doing the work yourself, which means breaking the path apart into its components (CGPathApply) and doing the interpolation yourself.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [iPhone 3.1] Core Animation that leaves a trial?
      • From: "Eric E. Dolecki" <email@hidden>
References: 
 >[iPhone 3.1] Core Animation that leaves a trial? (From: John Michael Zorko <email@hidden>)

  • Prev by Date: Re: Carbon is C++?
  • Next by Date: @dynamic stupidity?
  • Previous by thread: [iPhone 3.1] Core Animation that leaves a trial?
  • Next by thread: Re: [iPhone 3.1] Core Animation that leaves a trial?
  • Index(es):
    • Date
    • Thread