# File:Tireless Contributor Barnstar.gif

Page contents not supported in other languages.

Tireless_Contributor_Barnstar.gif(120 × 120 pixels, file size: 96 KB, MIME type: image/gif, looped, 18 frames, 0.9 s)

## Summary

Description
English: The Tireless Contributor Barnstar may be awarded to especially tireless Wikipedians that contribute an especially large body of work without sacrificing quality.

## History

This barnstar was introduced by en:User:Trainspotter on 2004-10-26.

This banner has been used for the first acknowledgement of an immense good work on the very new Czech Wikisource and has been granted to the very good and tireless user Brambůrka which I want to see her very often there. -jkb- 22:41, 24 April 2006 (UTC)

## How this picture works

This picture is taken from the original barnstar: Barnstar v2.0: .

If you look at the frames of the animation, you will see that actually it only rotates through one fifth of a revolution before the animation restarts - this is to reduce file size. But the original barnstar has only approximate rotational symmetry, so you would expect a nasty discontinuous jump when it the animation restarts.

Here is the technique that was used to give a smooth transition between the end and the start of the animation.

Each frame of the animation is a linear combination (merging) of three copies of the Barnstar image with different angles of rotation.

If ${\displaystyle B(\theta )}$ means the image of the barnstar rotated through angle ${\displaystyle \theta }$

then image ${\displaystyle B(\theta )}$ will look similar but not quite identical to ${\displaystyle B(\theta +n\theta _{0})}$ where ${\displaystyle n}$ is an integer, and ${\displaystyle \theta _{0}}$ = 72° (i.e. the angle of rotation corresponding to the approximate rotational symmetry).

Exploiting this, for a number of values of ${\displaystyle \theta }$ in the range ${\displaystyle 0<=\theta <\theta _{0}}$, an image is generated consisting of a linear combination of (up to) three similar images, given by:

${\displaystyle {\frac {1-x}{2}}B(\theta +\theta _{0})+{\frac {1}{2}}B(\theta )+{\frac {x}{2}}B(\theta -\theta _{0})}$ where ${\displaystyle x={\frac {\theta }{\theta _{0}}}}$

The key thing about this is that not only does this fade gradually between the images as ${\displaystyle x}$ changes (as the coefficients are linear in ${\displaystyle x}$), but it also joins up properly when the animation restarts. You see this because the expression evaluates to the same thing for both ${\displaystyle \theta =0}$ and ${\displaystyle \theta =\theta _{0}}$ - in fact ${\displaystyle {\frac {1}{2}}(B(\theta _{0})+B(0))}$

I didn't keep the code unfortunately. But the above info is enough to allow someone reasonably competent to reproduce the basic algorithm.

Trainspotter again (talk) 19:57, 11 November 2009 (UTC)

Source

This file was derived from:

Author Trainspotter at English Wikipedia
Other versions

Derivative works of this file:

## Licensing

, the copyright holder of this work, hereby publishes it under the following license:
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. Subject to disclaimers.

### Captions

Add a one-line explanation of what this file represents