• 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: Drawing noise in Cocoa (preferably fast)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing noise in Cocoa (preferably fast)


  • Subject: Re: Drawing noise in Cocoa (preferably fast)
  • From: Conrad Shultz <email@hidden>
  • Date: Tue, 14 Jun 2011 15:11:37 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/14/11 2:56 PM, Stephen Blinkhorn wrote:
> Hi all,
>
> I'm looking to fill a large custom view with noise. The solution I have
> arrived at so far is taking much too long to draw for it to be useable.
> Does anyone know any better ways of achieving this in Cocoa? The basic
> idea is to add an amount of noise to a base color pixel by pixel, for
> example:

Could you perhaps use Core Image to efficiently do what you want?  It
seems like CIRandomGenerator might do the trick.

- --
Conrad Shultz

Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFN99yZaOlrz5+0JdURAmrtAJ9uvAFInOpwMv9m9v71bXxwofo05ACfUq8C
e1cgApw4O0u9NgE7tndzfPY=
=Unhx
-----END PGP SIGNATURE-----
_______________________________________________

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

References: 
 >Drawing noise in Cocoa (preferably fast) (From: Stephen Blinkhorn <email@hidden>)

  • Prev by Date: Re: Drawing noise in Cocoa (preferably fast)
  • Next by Date: Re: Drawing noise in Cocoa (preferably fast)
  • Previous by thread: Re: Drawing noise in Cocoa (preferably fast)
  • Next by thread: Re: Drawing noise in Cocoa (preferably fast)
  • Index(es):
    • Date
    • Thread