• 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: Animation along a curve w/scale & alpha & orientation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animation along a curve w/scale & alpha & orientation


  • Subject: Re: Animation along a curve w/scale & alpha & orientation
  • From: Puneet Bhardwaj <email@hidden>
  • Date: Fri, 20 Nov 2015 23:17:34 +0530

Try setting rotationMode = kCAAnimationRotateAuto on the KeyframeAnimation

If you can translate the values along the path to angles, you can apply
affine rotate transform to the image to orient it to the path. Alpha value
might be a function of angle too.

Regards,
Puneet

On Thursday, November 19, 2015, Eric E. Dolecki <email@hidden> wrote:

> [image: sheep.png]Greetings. I am looking to animate images along a path,
> that orient to the path, and scale up at the top of the path, fade in at
> one side, full alpha at top, and then fade out.
>
> I am able to animate along a CAKeyframeAnimation path, not sure about an
> event when each sheep is at the end, don't know how to orient the image to
> the path, etc. This is for a gentle counting sheep animation that would
> slowly loop forever.
>
> Thanks,
> Eric
>
_______________________________________________

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: Animation along a curve w/scale & alpha & orientation
      • From: "Eric E. Dolecki" <email@hidden>
  • Prev by Date: Re: [OT] Good XML Viewer App for Mac
  • Next by Date: Re: [OT] Good XML Viewer App for Mac
  • Previous by thread: Re: [OT] Good XML Viewer App for Mac
  • Next by thread: Re: Animation along a curve w/scale & alpha & orientation
  • Index(es):
    • Date
    • Thread