<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Haleigha28</id>
	<title>Inkscape Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Haleigha28"/>
	<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/Special:Contributions/Haleigha28"/>
	<updated>2026-04-30T10:25:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=SVG_Animation&amp;diff=67471</id>
		<title>SVG Animation</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=SVG_Animation&amp;diff=67471"/>
		<updated>2011-02-28T06:03:49Z</updated>

		<summary type="html">&lt;p&gt;Haleigha28: /* SVG Animation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is a '''work in progress'''. [[User:ToF|ToF]]&lt;br /&gt;
&lt;br /&gt;
See also the [[SVG_Animation_UI|UI ideas page]] (specific to SMIL animation).&lt;br /&gt;
&lt;br /&gt;
On the contrary, body-shaping underwear can be easily worn as it does the work of [http://www.dofiberone.com Fiberglass planter] hiding body fats and adjusting our body muscles without any effort on part of the person wearing them.&lt;br /&gt;
&lt;br /&gt;
The development of body shaping [http://www.ck-wholesale.com Calvin klein] can be traced back to near the beginning of twentieth century when people, mainly women started becoming anxious about their body shape and figure. Most women did not have any clue of how to lose weight or how to get nice physique. &lt;br /&gt;
&lt;br /&gt;
However, they knew one way of weight control. This simple way was to try tight hkfverg undergarments that can ensure the reduction of fat on belly and hip area. This development [http://www.ck-wholesale.com underwear] in the end gave way to use of body shaping calvin klein.&lt;br /&gt;
&lt;br /&gt;
Thus, body-shaping underwear gained popularity from 1940s to 1960s. During those times, body-shaping underwear was available in different shapes and sizes, for men and women both. This underwear was then replaced by dieting and exercise, etc. People started to use weight-losing medicines in order to achieve an ideal shape of the body. They were advised to do yoga, aerobics and different other types of precautions in order to [http://www.ck-wholesale.com calvin klein underwear] maintain their body shape and weight. &lt;br /&gt;
&lt;br /&gt;
After that, body-shaping underwear got back some fame once again in the 1990s. The basis for this unexpected fame was the evident distress over the use of heavy exercises in order to lose weight. In addition, people did not have much time to carry on doing heavy set of exercises for hours every day. People were looking for an easy method to get rid of weight and grow nice body figure. &lt;br /&gt;
&lt;br /&gt;
The latest body shaping underwear is wrgdhui completely dissimilar from the previous generation ones. They are available now with scientific alignment of elastics and [http://www.weipuconnector.com/waterproof-connectors.html waterproof connectors] fabrics and measurement used in the underwear. Even swimming and bathing suits are coming with body shaping features. Body shaping underwear is available at low price and proving to be extremely useful in body reshaping and fat management. Keeping in view rising pediatric obesity, [http://www.iscaffold.com.cn scaffolding] body-shaping underwear is also available for kids.&lt;br /&gt;
&lt;br /&gt;
== Animation elements ==&lt;br /&gt;
&lt;br /&gt;
SVG defines 5 animation elements:&lt;br /&gt;
* '''animate'''&lt;br /&gt;
This element is used to animate any scalar attribute or property, such as the &amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt; attribute of an svg:rect element or the CCS property &amp;lt;code&amp;gt;opacity&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''animateMotion'''&lt;br /&gt;
This elements only controls the position of a SVG element, by telling it to follow a given path&lt;br /&gt;
* '''animateColor'''&lt;br /&gt;
This element controls the animation of color valued attributes and properties.&lt;br /&gt;
* '''animateTransform'''&lt;br /&gt;
This element controls the transformation which applies to the target element. It replaces or adds up to the &amp;lt;code&amp;gt;transform&amp;lt;/code&amp;gt; attribute of the element.&lt;br /&gt;
* '''set'''&lt;br /&gt;
This element is used to set a particular value for the target attribute during a specified time interval. It is mainly used for animating attributes which do not span a continuous domain, such as boolean values like the &amp;lt;code&amp;gt;visibility&amp;lt;/code&amp;gt; property.&lt;br /&gt;
&lt;br /&gt;
== Specifying the target element and property ==&lt;br /&gt;
&lt;br /&gt;
There are 2 ways to tell which element a given animation will target. The first one is to embed the [[#Animation elements|animation element]] as a child tag of the element to animate. Here is an example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;circle cx=&amp;quot;100px&amp;quot; cy=&amp;quot;100px&amp;quot; r=&amp;quot;20px&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;animate attributeName=&amp;quot;r&amp;quot; attributeType=&amp;quot;XML&amp;quot; begin=&amp;quot;1s&amp;quot; dur=&amp;quot;2s&amp;quot; from=&amp;quot;20px&amp;quot; to=&amp;quot;50px&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/circle&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;animate&amp;lt;/code&amp;gt; element targets the radius (&amp;lt;code&amp;gt;r&amp;lt;/code&amp;gt;) property of the parent &amp;lt;code&amp;gt;circle&amp;lt;/code&amp;gt; element. Starting 1 second after the document start, the radius will grow for 2 seconds from 20 pixels to 50 pixels. When nothing else is specified, the animation only applies in its interval of time, here [1-3] seconds; from 0 to 1 second and then from 3 second and after, the circle's radius is set back to its ''static'' attribute value, here 20 pixels.&lt;br /&gt;
&lt;br /&gt;
The other way to specify the target element is to reference it in via an &amp;lt;code&amp;gt;xlink:href&amp;lt;/code&amp;gt; attribute of the animation element. the previous animation could be written this way:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;circle id=&amp;quot;balloon&amp;quot; cx=&amp;quot;100px&amp;quot; cy=&amp;quot;100px&amp;quot; r=&amp;quot;20px&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;animate xlink:href=&amp;quot;#balloon&amp;quot; attributeName=&amp;quot;r&amp;quot; attributeType=&amp;quot;XML&amp;quot; begin=&amp;quot;1s&amp;quot; dur=&amp;quot;2s&amp;quot; from=&amp;quot;20px&amp;quot; to=&amp;quot;50px&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To specify which property or attribute of the target element is controlled, we use the two attributes &amp;lt;code&amp;gt;attributeName&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;attributeType&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;attributeName&amp;lt;/code&amp;gt; explains itself, it's the name of the controlled attribute. &amp;lt;code&amp;gt;attributeType&amp;lt;/code&amp;gt; tells whether &amp;lt;code&amp;gt;attributeName&amp;lt;/code&amp;gt; is searched among the SVG attributes of the element (&amp;lt;code&amp;gt;attributeType=&amp;quot;XML&amp;quot;&amp;lt;/code&amp;gt;) or among the CSS properties of the element (&amp;lt;code&amp;gt;attributeType=&amp;quot;CSS&amp;quot;&amp;lt;/code&amp;gt;). [http://www.w3.org/TR/SVG11/animate.html#TargetElement (SPEC)]&lt;br /&gt;
&lt;br /&gt;
== Timing an animation ==&lt;br /&gt;
&lt;br /&gt;
The first thing to stress is that SMIL (and therefore SVG) animation is '''time-based''', as opposed to '''frame-based'''. '''Frame-based''' animation is something traditional animators are used to, because they actually draw each image of the animation on a separate celluloid sheet, and the timing is related to the rate of images per second the camera will capture. When animation is done on a computer, the animator doesn't draw every image but only some ''key'' images (or ''keyframes'') and then the animation software creates all the necessary images for him (the so-called ''in-betweens''). That means the animator can focus back to a (real-)time based timing. Each keyframe is positioned on a timeline with real time values (instead of frame numbers). Of course at the end the animation is discrete and there is a fixed number of images computed inbetween two keyframes, but the neat property of specifying keyframes at time position is that the final animation frame rate is scalable and the animator doesn't have to care about it anymore. He just tells the software to produce 24 images each second if he targets a theatre film or say 10 images per second for low-bandwidth web animation. The animator doesn't need to reposition the keyframes.&lt;br /&gt;
&lt;br /&gt;
=== In-betweening by interpolation ===&lt;br /&gt;
&lt;br /&gt;
Creating the inbetween images on a computer is done by mean of '''interpolation'''. Interpolation is a mathematical tool that can reconstruct a the continuous evolution of a parameter given a set of discrete values of this parameter over time.&lt;br /&gt;
The following image illustrates that. We know that some attribute A must take value A0, A1, A2 and A3 at times t0, t1, t2 and t3. The red curves is one of the possible continuous function that be used to compute inbetween values of A in the interval [t0, t3].&lt;br /&gt;
&lt;br /&gt;
[[Image:interpolation.png]]&lt;br /&gt;
&lt;br /&gt;
* The animation's time interval&lt;br /&gt;
The first aspect that characterizes an animation is the interval of time on which it applies: when does it begin, when does it end or how long does it run.&lt;br /&gt;
Any of the above mentioned [[#Animation elements|animation elements] accept the attributes &amp;lt;code&amp;gt;begin&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;end&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;dur&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
There are many ways to define a particular point in time and this is what makes SMIL a very rich animation framework (see below). The simplest is to specify a clock-value which syntax is quite intuitive [http://www.w3.org/TR/SVG11/animate.html#ClockValueSyntax (SPEC)]. Depending on the combination of those 3 attributes, the interval of time of the animation will be [begin, end], [begin, begin+dur], [end-dur, end], etc.&lt;br /&gt;
&lt;br /&gt;
* The attribute values&lt;br /&gt;
To specify the values taken by the attribute over the time interval, one need to tell the value that the parameter must have at the begin and at the end of the interval. here again those values are specified by combinations of three attributes: &amp;lt;code&amp;gt;from&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;to&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;by&amp;lt;/code&amp;gt;. The attribute &amp;lt;code&amp;gt;from&amp;lt;/code&amp;gt; correspond to the begin value, the attribute &amp;lt;code&amp;gt;to&amp;lt;/code&amp;gt; correspond to the end value. The attribute &amp;lt;code&amp;gt;by&amp;lt;/code&amp;gt; let you define either the initial and final values relative to the other one, that is to = from + by or from = to - by. The following image illusttrate this setup for our hypothetical attribute A&lt;br /&gt;
&lt;br /&gt;
[[Image:time_interval.png]]&lt;br /&gt;
&lt;br /&gt;
The values of A are simply interpolated '''linearly''' in between begin and end. This is the more simple form of '''animation function''' that can defined: by the two extremal pairs of (time, attribute value): (begin, from) and (end, to).&lt;br /&gt;
&lt;br /&gt;
=== More complex timing ===&lt;br /&gt;
&lt;br /&gt;
It's possible to specify a whole set of (keytime, keyvalue) pairs to define the animation function. Each item of the pairs are actually given separately:&lt;br /&gt;
* the set of attribute values (keyvalues) are given by the &amp;lt;code&amp;gt;values&amp;lt;/code&amp;gt; attribute.&lt;br /&gt;
* the set of time values (keytimes) are given by the &amp;lt;code&amp;gt;keyTimes&amp;lt;/code&amp;gt; attribute.&lt;br /&gt;
&lt;br /&gt;
Each set as the form of a semicolon-separated list of values. The thing to notice is that the keytimes are actually '''normalized to [0,1]''', which means that 0 maps to begin and 1 maps to end, and those values must start and end the list of keytimes. The image below illustrates all this:&lt;br /&gt;
&lt;br /&gt;
[[Image:time_interval2.png]]&lt;br /&gt;
&lt;br /&gt;
The keyTimes list can actually be omitted, in which case the keytimes are evenly distributed in the interval [0,1] (or equivalently, evenly in the interval [begin, end])&lt;br /&gt;
&lt;br /&gt;
The (keytime, keyvalue) pairs are joined by straight lines in the above graph, which means that '''linear interpolation''' is used for computing the inbetween values. &lt;br /&gt;
&lt;br /&gt;
When applied to the position of an object, linear interpolation results in un-natural robot-like motions (which may be the effect wanted). SMIL allows smoother animations to be defined by using '''spline-based interpolation''' between two (keytime, keyvalue) pairs. For each interval (t0, A0) - (t1, A1) a spline can be defined by two control points defining the tangents of the spline at t0 and t1. Those control points are passed in the attribute &amp;lt;code&amp;gt;keySplines&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:spline_interpolation.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two other interpolation modes are possible:&lt;br /&gt;
* '''discrete''': this is a degenerate form of interpolation, because the resulting animation function is not continuous. For each interval (t0,A0) - (t1, A1), the attribute value is set to A0 for the whole interval. It ''jumps'' to A1 right when t1 is reached and so on.&lt;br /&gt;
* '''paced''': in this interpolation mode, the attribute is interpolated so that its evolution over time has '''constant speed'''. Because the animation function is defined implicitly, the attribute &amp;lt;code&amp;gt;keyTimes&amp;lt;/code&amp;gt; is not taken into account. This mode is mainly useful for the &amp;lt;code&amp;gt;animateMotion&amp;lt;/code&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
=== Other aspects of animation ===&lt;br /&gt;
* repeating&lt;br /&gt;
* chaining animations.&lt;br /&gt;
* event based synchronisation&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Examples showcasing some of the effects that can be achieved using procedural animation in SVG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1px&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- example 1 --&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
A ball bounces on the floor: there are 6 motions here: fall, squeeze, squeeze-offset and bounce unsqueeze and unsqueeze-offset that are the revert version of 3 first. A classic animation trick is to start squeezing the ball a little before it touches the floor, expressed here by the synchronization &amp;lt;code&amp;gt;begin=fall.end - 0.1s&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td rowspan=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;path&lt;br /&gt;
   ...&lt;br /&gt;
   transform=&amp;quot;translate(0,4.5456868)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;animateTransform&lt;br /&gt;
         type=&amp;quot;translate&amp;quot;&lt;br /&gt;
         additive=&amp;quot;sum&amp;quot;&lt;br /&gt;
         from=&amp;quot;0, 0&amp;quot;&lt;br /&gt;
         to=&amp;quot;0, 136&amp;quot;&lt;br /&gt;
         dur=&amp;quot;1s&amp;quot;&lt;br /&gt;
         begin=&amp;quot;0s&amp;quot;&lt;br /&gt;
         attributeType=&amp;quot;XML&amp;quot;&lt;br /&gt;
         attributeName=&amp;quot;transform&amp;quot;&lt;br /&gt;
         id=&amp;quot;fall&amp;quot;&lt;br /&gt;
         keySplines=&amp;quot;0.5 0  0.8 0.5 &amp;quot;&lt;br /&gt;
         calcMode=&amp;quot;spline&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;animateTransform&lt;br /&gt;
         id=&amp;quot;squeeze&amp;quot;&lt;br /&gt;
         type=&amp;quot;scale&amp;quot;&lt;br /&gt;
         from=&amp;quot;1,1&amp;quot;&lt;br /&gt;
         to=&amp;quot;1.1,0.9&amp;quot;&lt;br /&gt;
         begin=&amp;quot;fall.end-0.1s&amp;quot;&lt;br /&gt;
         attributeName=&amp;quot;transform&amp;quot;&lt;br /&gt;
         attributeType=&amp;quot;XML&amp;quot;&lt;br /&gt;
         dur=&amp;quot;0.2s&amp;quot;&lt;br /&gt;
         additive=&amp;quot;sum&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;animateTransform&lt;br /&gt;
         additive=&amp;quot;sum&amp;quot;&lt;br /&gt;
         dur=&amp;quot;0.2s&amp;quot;&lt;br /&gt;
         attributeType=&amp;quot;XML&amp;quot;&lt;br /&gt;
         attributeName=&amp;quot;transform&amp;quot;&lt;br /&gt;
         begin=&amp;quot;fall.end-0.1s&amp;quot;&lt;br /&gt;
         to=&amp;quot;-13,0&amp;quot;&lt;br /&gt;
         from=&amp;quot;0,0&amp;quot;&lt;br /&gt;
         type=&amp;quot;translate&amp;quot;&lt;br /&gt;
         id=&amp;quot;squeeze-offset&amp;quot;&lt;br /&gt;
         accumulate=&amp;quot;sum&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Image:bouncing_ball1.png]]&lt;br /&gt;
[http://wiki.inkscape.org/wiki/images/Bouncing_ball1.svg SVG file] |&lt;br /&gt;
[http://www.cdehais.fr/~tof/svg/bouncing_ball1.ogg ogg video]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- example 2 --&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
A ball bounces between two wall, following a path.&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td rowspan=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;path&lt;br /&gt;
       ...&lt;br /&gt;
       sodipodi:type=&amp;quot;arc&amp;quot;&lt;br /&gt;
       id=&amp;quot;ball&amp;quot; &lt;br /&gt;
       ... &lt;br /&gt;
&amp;gt;&lt;br /&gt;
      &amp;lt;animateMotion&lt;br /&gt;
         keyTimes=&amp;quot;0; 0.20; 1&amp;quot;&lt;br /&gt;
         keyPoints=&amp;quot;0; 0.33; 1&amp;quot;&lt;br /&gt;
         repeatCount=&amp;quot;indefinite&amp;quot;&lt;br /&gt;
         additive=&amp;quot;sum&amp;quot;&lt;br /&gt;
         rotate=&amp;quot;0&amp;quot;&lt;br /&gt;
         begin=&amp;quot;0s&amp;quot;&lt;br /&gt;
         dur=&amp;quot;2s&amp;quot;&lt;br /&gt;
         calcMode=&amp;quot;linear&amp;quot;&lt;br /&gt;
         id=&amp;quot;animateMotion2680&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mpath&lt;br /&gt;
           xlink:href=&amp;quot;#motion_path&amp;quot;&lt;br /&gt;
           id=&amp;quot;mpath2682&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;/animateMotion&amp;gt;&lt;br /&gt;
&amp;lt;/path&amp;gt;&lt;br /&gt;
&amp;lt;path&lt;br /&gt;
   d=&amp;quot;M 82.080559,103.82375 ...&amp;quot;&lt;br /&gt;
   id=&amp;quot;motion_path&amp;quot; ... /&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Image:bouncing_ball2.png]]&lt;br /&gt;
[http://wiki.inkscape.org/wiki/images/Bouncing_ball2.svg SVG file] |&lt;br /&gt;
[http://www.cdehais.fr/~tof/svg/bouncing_ball2.ogg ogg video]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- example 3 --&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
A ball bounces between 2 walls. The motion is defined as a combination a of vertical translation and a horizontal translation. This works because the second animation has an &amp;lt;code&amp;gt;additive=&amp;quot;sum&amp;quot;&amp;lt;/code&amp;gt; attribute, so the corresponding matrix is composited with the matrix defined by the underlying animations.&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td rowspan=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
&amp;lt;!-- two animation sharing the same path --&amp;gt;&lt;br /&gt;
  &amp;lt;animateMotion&lt;br /&gt;
     id=&amp;quot;animateMotion2302&amp;quot;&lt;br /&gt;
     xlink:href=&amp;quot;#arrow2&amp;quot;&lt;br /&gt;
     dur=&amp;quot;4s&amp;quot;&lt;br /&gt;
     keyTimes=&amp;quot;0; 0.5; 1&amp;quot;&lt;br /&gt;
     keyPoints=&amp;quot;0; 1; 0&amp;quot;&lt;br /&gt;
     calcMode=&amp;quot;linear&amp;quot;&lt;br /&gt;
     repeatCount=&amp;quot;indefinite&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;mpath&lt;br /&gt;
       id=&amp;quot;mpath2305&amp;quot;&lt;br /&gt;
       xlink:href=&amp;quot;#horiz-bounce&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/animateMotion&amp;gt;&lt;br /&gt;
  &amp;lt;animateMotion&lt;br /&gt;
     calcMode=&amp;quot;linear&amp;quot;&lt;br /&gt;
     keyPoints=&amp;quot;0; 1; 0&amp;quot;&lt;br /&gt;
     keyTimes=&amp;quot;0; 0.5; 1&amp;quot;&lt;br /&gt;
     dur=&amp;quot;4s&amp;quot;&lt;br /&gt;
     xlink:href=&amp;quot;#ball&amp;quot;&lt;br /&gt;
     id=&amp;quot;animateMotion2309&amp;quot;&lt;br /&gt;
     repeatCount=&amp;quot;indefinite&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;mpath&lt;br /&gt;
       xlink:href=&amp;quot;#horiz-bounce&amp;quot;&lt;br /&gt;
       id=&amp;quot;mpath2311&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/animateMotion&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
  &amp;lt;animateMotion&lt;br /&gt;
     keySplines=&amp;quot;0.5 0 0.75 0.75, 0 0.5 0.5 0.75&amp;quot;&lt;br /&gt;
     keyPoints=&amp;quot;0;  1; 0&amp;quot;&lt;br /&gt;
     calcMode=&amp;quot;spline&amp;quot;&lt;br /&gt;
     keyTimes=&amp;quot;0;  0.5; 1&amp;quot;&lt;br /&gt;
     id=&amp;quot;animateMotion2298&amp;quot;&lt;br /&gt;
     begin=&amp;quot;0s&amp;quot;&lt;br /&gt;
     dur=&amp;quot;2s&amp;quot;&lt;br /&gt;
     xlink:href=&amp;quot;#ball&amp;quot;&lt;br /&gt;
     additive=&amp;quot;sum&amp;quot;&lt;br /&gt;
     repeatCount=&amp;quot;indefinite&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;mpath&lt;br /&gt;
       id=&amp;quot;mpath2300&amp;quot;&lt;br /&gt;
       xlink:href=&amp;quot;#vert-bounce&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;/animateMotion&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[Image:bouncing_ball3.png]]&lt;br /&gt;
[http://wiki.inkscape.org/wiki/images/Bouncing_ball3.svg SVG file] |&lt;br /&gt;
[http://www.cdehais.fr/~tof/svg/bouncing_ball3.ogg ogg video]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful tools ==&lt;br /&gt;
&lt;br /&gt;
* [http://xmlgraphics.apache.org/batik/tools/browser.html Squiggle ], as part of [http://xmlgraphics.apache.org/batik/ Batik 1.7] has a nearly complete support for SMIL Animation. The [[#Examples|examples]] were all rendered using Squiggle.&lt;br /&gt;
* Inkscape ! I used the xml editor to manually add the animation elements for my test. It's a bit more cumbersome than editing the svg file in a text editor, but doing that in Inkscape eases the computation of key positions (just move the object around and read the position values).&lt;br /&gt;
&lt;br /&gt;
== Various thoughts ==&lt;br /&gt;
&lt;br /&gt;
* There is no direct way to specify a &amp;lt;b&amp;gt;''ping-pong'' animation&amp;lt;/b&amp;gt; in SVG, that is to tell an animation to go back in time when it reaches it's end. To implement this, I see 2 solutions:&lt;br /&gt;
**double the duration d of the animation (&amp;lt;code&amp;gt;dur&amp;lt;/code&amp;gt; attribute) and apply a scale and a symetry around t=0.5 to the animation function. For example the simple linear interpolation defined by &amp;lt;code&amp;gt;keyTimes=&amp;quot;0; 1&amp;quot;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;keyPoints=&amp;quot;0;1&amp;quot;&amp;lt;/code&amp;gt; becomes &amp;lt;code&amp;gt;keyTimes=&amp;quot;0; 0.5; 1&amp;quot;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;keyPoints=&amp;quot;0;1;0&amp;quot;&amp;lt;/code&amp;gt;. This doesn't work for &amp;lt;code&amp;gt;paced&amp;lt;/code&amp;gt; animation though (which make use of an implicit, user-agent dependent animation function).&lt;br /&gt;
** copy the original animation (call it e.g. &amp;lt;code&amp;gt;motion_forward&amp;lt;/code&amp;gt;) and swap the &amp;lt;code&amp;gt;from&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;to&amp;lt;/code&amp;gt; values in the copy. Then specify &amp;lt;code&amp;gt;begin=&amp;quot;motion_forward.end&amp;quot;&amp;lt;/code&amp;gt; to tell the backward animation to start right at the end of the forward animation. This should work for every animation type.&lt;br /&gt;
&lt;br /&gt;
The question is: what maps best to a UI ?&lt;/div&gt;</summary>
		<author><name>Haleigha28</name></author>
	</entry>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=Why_Inkscape&amp;diff=67465</id>
		<title>Why Inkscape</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Why_Inkscape&amp;diff=67465"/>
		<updated>2011-02-28T06:02:10Z</updated>

		<summary type="html">&lt;p&gt;Haleigha28: /* Why you need Inkscape, especially if you already have Illustrator */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On the contrary, body-shaping underwear can be easily worn as it does the work of [http://www.dofiberone.com Fiberglass planter] hiding body fats and adjusting our body muscles without any effort on part of the person wearing them.&lt;br /&gt;
&lt;br /&gt;
The development of body shaping [http://www.ck-wholesale.com Calvin klein] can be traced back to near the beginning of twentieth century when people, mainly women started becoming anxious about their body shape and figure. Most women did not have any clue of how to lose weight or how to get nice physique. &lt;br /&gt;
&lt;br /&gt;
However, they knew one way of weight control. This simple way was to try tight hkfverg undergarments that can ensure the reduction of fat on belly and hip area. This development [http://www.ck-wholesale.com underwear] in the end gave way to use of body shaping calvin klein.&lt;br /&gt;
&lt;br /&gt;
Thus, body-shaping underwear gained popularity from 1940s to 1960s. During those times, body-shaping underwear was available in different shapes and sizes, for men and women both. This underwear was then replaced by dieting and exercise, etc. People started to use weight-losing medicines in order to achieve an ideal shape of the body. They were advised to do yoga, aerobics and different other types of precautions in order to [http://www.ck-wholesale.com calvin klein underwear] maintain their body shape and weight. &lt;br /&gt;
&lt;br /&gt;
After that, body-shaping underwear got back some fame once again in the 1990s. The basis for this unexpected fame was the evident distress over the use of heavy exercises in order to lose weight. In addition, people did not have much time to carry on doing heavy set of exercises for hours every day. People were looking for an easy method to get rid of weight and grow nice body figure. &lt;br /&gt;
&lt;br /&gt;
The latest body shaping underwear is wrgdhui completely dissimilar from the previous generation ones. They are available now with scientific alignment of elastics and [http://www.weipuconnector.com/waterproof-connectors.html waterproof connectors] fabrics and measurement used in the underwear. Even swimming and bathing suits are coming with body shaping features. Body shaping underwear is available at low price and proving to be extremely useful in body reshaping and fat management. Keeping in view rising pediatric obesity, [http://www.iscaffold.com.cn scaffolding] body-shaping underwear is also available for kids.&lt;/div&gt;</summary>
		<author><name>Haleigha28</name></author>
	</entry>
</feed>