- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sun, 13 Jan 2013 17:02:07 -0800
- To: Dirk Schulze <dschulze@adobe.com>
- Cc: Aaron Hamilton <aaron@correspondwith.me>, "www-style@w3.org" <www-style@w3.org>
On Sun, Jan 13, 2013 at 7:04 AM, Dirk Schulze <dschulze@adobe.com> wrote: > On Jan 13, 2013, at 12:54 AM, "Aaron Hamilton" <aaron@correspondwith.me> wrote: >> I find increasingly that people around me (and myself) are using noise in fills; I'm wondering if anyone's considered adding this as a property such that you could add noise to fills without introducing the overhead of loading images, and generating noise which tiles well. > > Yes, this was considered for two specs, either Filter Effects or CSS Images. For CSS images it would be a noise() function, which generates noise. For Filter Effects we already have FeTurbulence which could be used with the filter() functions. Both are not implemented and the first not even specified. Noise generators are very complex to specify and vary extremely depending on the way you use them. > > Something that you can do today is using SVG as background image and apply an feTurbulence filter to an rectangle, with further filter operations you can modify it in nearly everything you need. This is supported in all modern browsers including IE 10. Yes. In fact, we discussed adding an explicit turbulence paint source in the last SVG f2f. I'm waiting for the outcome of that before I think about adding a (possibly simplified) CSS function doing the same thing. So, Aaron, I definitely support your feature request. The technical details to get it fast and good are nontrivial, but totally solveable. Once SVG does the legwork, I'll try to port it over for convenient CSS use. ~TJ
Received on Monday, 14 January 2013 02:45:44 UTC