[Mesa-dev] [PATCH 00/16] Move the Mesa Website to Sphinx

Erik Faye-Lund kusmabite at gmail.com
Fri Jun 8 13:25:14 UTC 2018


On Fri, Jun 8, 2018 at 2:06 PM, Rob Clark <robdclark at gmail.com> wrote:
> On Fri, Jun 8, 2018 at 3:02 AM, Jordan Justen <jljusten at gmail.com> wrote:
>> On Thu, Jun 7, 2018 at 2:56 AM Eero Tamminen <eero.t.tamminen at intel.com> wrote:
>>> On 07.06.2018 12:01, Erik Faye-Lund wrote:
>>> > Just as a fun toy, I decided to give an animated SVG "variation" of
>>> > this a go myself:
>>> >
>>> > https://codepen.io/kusma/pen/vrXppL
>>> >
>>> > The actual SVG can be found here:
>>> >
>>> > https://gitlab.freedesktop.org/snippets/492
>>> >
>>> > The gears were generated by this python script, based on the glxgears
>>> > source code:
>>> >
>>> > https://gitlab.freedesktop.org/snippets/491
>>> >
>>> > Now, dropping this onto the black background doesn't work that well,
>>> > as it gets a bit bland, so it's probably better to add back the colors
>>> > then.
>>> >
>>> > Also, I'm not really sure if animation is a good idea or not.
>>>
>>> Maybe it could be a link target for the static logo?
>>>
>>> (Kind of website "easter egg").
>>>
>>> > But I definitely think logos should be vector rather than raster ;)
>>>
>>> For Mesa, WebGL would be more fitting implementation than SVG though...
>>
>> https://github.com/gears3d/gears3d.github.io/blob/master/webgl10.js
>>
>> One comment I would have for any animation on the main pages (as
>> opposed to a separate 'easter egg' page), it probably should be
>> significantly slower moving than the traditional 70 degrees / second.
>> The faster animation would be distracting on the main pages.
>>
>
> so one idea, which I think isn't too over the top, is to have the
> static mesa-gears logo in top corner, but clicking on it starts/stops
> the animation (just toggle between static and animated svg, I guess?)

Good idea. I updated the codepen to do a variation of that; it rotates
as long as the mouse hovers it.


More information about the mesa-dev mailing list