Re: Creating a radar sweep effect
Re: Creating a radar sweep effect
- Subject: Re: Creating a radar sweep effect
- From: Jon Gilkison <email@hidden>
- Date: Sun, 27 Sep 2009 06:07:30 -0400
You can do this with a single accumulating bitmap.
1. Create a bitmap the size of your view filled with the background color
2. Fill the bitmap with the background color using an alpha = 1 / number of
steps
3. Draw the radar onto the bitmap
4. Draw the bitmap in the view
5. Go to step 2
(I have done this exact thing on Win32, but not Cocoa so buyer beware).
_______________________________________________
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