Might be good to do something like this: https://codepen.io/anon/pen/ERNdYJ So that those with NoScript or something won't have gears constantly rotating on their screen.
On Fri, Jun 8, 2018 at 2:25 PM, Erik Faye-Lund <kusmab...@gmail.com> wrote: > On Fri, Jun 8, 2018 at 2:06 PM, Rob Clark <robdcl...@gmail.com> wrote: >> On Fri, Jun 8, 2018 at 3:02 AM, Jordan Justen <jljus...@gmail.com> wrote: >>> On Thu, Jun 7, 2018 at 2:56 AM Eero Tamminen <eero.t.tammi...@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. > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev