Re: Perlin and simplex noise

On Fri, Aug 31, 2012 at 1:49 PM, David Sheets <kosmo.zb@gmail.com> wrote:
> On Fri, Aug 31, 2012 at 10:05 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> (While we're at it, though, we should pay attention to how it would be
>> possible to do declarative randomness in properties.  Marrying a
>> stateful RNG with a nominally stateless language is hard. :/ )
>
> Procedural noise can be seeded from time alone. I believe that CSS
> transitions should be able to provide custom shaders with a fractional
> completeness value, no? Is there a means in New CSS to create
> unbounded animation?

I may have been unclear about what the issue is.

If using randomness to, say, set the background-color of an element,
you usually will want different elements to have different random
values.

However, you also want these values to be stable across common types
of changes, like temporarily setting the background-color to a
non-random value on hover, then returning to the random color
afterwards.

Handling this intelligently and with a minimum of fuss seems
non-trivial, though I do have some ideas of how to possibly do it.

~TJ

Received on Friday, 31 August 2012 20:54:32 UTC