• 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: Small animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small animation


  • Subject: Re: Small animation
  • From: Stephane Sudre <email@hidden>
  • Date: Wed, 21 Jan 2004 17:47:24 +0100

Le mercredi, 21 jan 2004, ` 17:28 Europe/Paris, Lorenzo a icrit :

Hi,
I would like to animate an NSImageView on the screen. Just a small
animation. So I don't want to use openGL because it's not easy and it
requires modern Video Boards.

I remember a sample at the WWDC 2001 which showed how to the speed-up an
animation. There was a "train" of characters rotating along the borders of
the window. I remember that animation was so fast, smooth and fine. Even
faster at any new concept introduced by the speaker-man.

And I cannot get that nice result. The image flicks. Can you show me the
finest way to animate my image? Thank you.

I did the following rude code:
------------------------------
In my NSView subclass I have a timer that each 0.005 NSTimeInterval calls

200 frames / second ?!?!?

setFrameOrigin is calling another display method anyway.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Small animation (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: Tool for seeing view hierarchies at runtime?
  • Next by Date: copyWithZone and TableView, firing it sooner?
  • Previous by thread: Small animation
  • Next by thread: Re: Small animation
  • Index(es):
    • Date
    • Thread