Re: Perlin and simplex noise

On Fri, Aug 31, 2012 at 1:53 PM, Tab Atkins Jr. <> wrote:
> On Fri, Aug 31, 2012 at 1:49 PM, David Sheets <> wrote:
>> On Fri, Aug 31, 2012 at 10:05 AM, Tab Atkins Jr. <> 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.

Procedural noise is not random.

> 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.

I believe that CSS custom shader parameters handle this case.

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

What part of the present design is insufficient for your use case?


> ~TJ

Received on Friday, 31 August 2012 21:02:08 UTC