[Mesa-dev] [PATCH 00/16] Move the Mesa Website to Sphinx
Jordan Justen
jordan.l.justen at intel.com
Mon Jun 18 00:34:49 UTC 2018
On 2018-06-17 16:42:13, Jason Ekstrand wrote:
> On Sun, Jun 17, 2018 at 4:21 PM, Matt Turner <mattst88 at gmail.com> wrote:
>
> > Also, Erik's is animated not with JavaScript at all, but just CSS.
> > That's really cool.
> >
>
> The only thing the JS does is turn the animation on and off. The actual
> animation is pure SVG. The main reason (as I understood it) for the
> JavaScript is to make the gears *not* turn if someone has disabled
> JavaScript. I'm sure people will disagree as to whether or not that's a
> feature. :-) I'm not sure if you can get the turn-on-hover thing with just
> SVG and not JS though... /me doesn't know either all that well.
All the JS and webgl. :)
https://people.freedesktop.org/~jljusten/webgl-logo/gears.html
Actually, it doesn't start webgl until you move your mouse over the
logo. Before that it is displaying a jpg of the gears.
(Not to say there are not issues. On windows the svg overlay image
looks a bit off. It also didn't work on the Edge browser, but I
thought Edge supported webgl.)
-Jordan
More information about the mesa-dev
mailing list