Quantcast
Channel: AniWiki: Animations in Statistics
Viewing all articles
Browse latest Browse all 5

Insert animations in ''AniWiki'' - update examples according to the new version of the plugin

$
0
0

Insert animations in ''AniWiki''

Please read the explanations in the plugin page to understand how animations work in AniWiki.

:!: Always bear in mind that you have provided a correct url, i.e. your images can be accessed by such a series of addresses: url + i + type, where i is an integer giving the filename of each frame.

Rotation of a word ''Animation''

In the introduction page of the package ''animation'', I have used a rotating word as the beginning example. Now 30 images from that example are uploaded to this site, so here we are able to create an HTML animation page as follows:

<ani example http://animation.yihui.name/_media/wiki: png 30 0.1 autoplay true 400|'loopMode': 'sweep'>

The above code will generate the result below:

Buffon's Needle

Here is an example illustrating how to upload images to other websites and cite them here. I have generated 100 animation frames from the function buffon.needle() in package animation and uploaded them to Photobucket. You can view all the images in my album buffon's needle.

<ani buffon http://s288.photobucket.com/albums/ll181/xieyihui/buffon_s_needle/ png 100 0.1 autoplay|>

Here is the result (it can take one or two minutes to download all the images, depending on your internet connection):


Viewing all articles
Browse latest Browse all 5

Trending Articles