RE: Talk on radial gradients

Robert O'Callahan  wrote:
  On Tue, Aug 25, 2009 at 8:27 AM, David Perrell <davidp@hpaa.com> wrote:

    In the case of linear gradients, the repeating moz gradient example* can easily be reproduced with Tab's proposal by generating a corner-to-corner diagonal gradient 'image' and tiling it.

  That only works if the angle is a multiple of 45 degrees. Anything else gives you undesirable results. 

Yes, "easily" is a stretch
    It's not clear to me how the moz repeating radial gradient is rendered. If the scale of the gradient remains constant as it repeats outwards then it does not strike me as useful.

  I'm not sure why you say that. We render repeating radial gradients the way SVG does. For the simple case where the inner circle is a point and the outer circle has the same center and radius R, that means you get color of the last color stop at at R, 2R, 3R etc. 

Looking at the examples Brad posted, I don't see the repeating-at-initial-width radial as being very useful. Having the repeated gradient grow in extent proportional to the radius gives a dimensional 'tunneling' effect a la Loony Tunes cartoons[1] that is much cooler.

- davidp

[1] http://video.google.com/videoplay?docid=-6268757475051037367

Received on Tuesday, 25 August 2009 19:45:08 UTC