Smooth animation WPF -


i have animation making image wheel rotate forever. here code:

<image name="bigwheelimage"                  source="{dynamicresource bigwheel}"                 height="400"                 width="400" >             <image.rendertransform>                 <rotatetransform                      centerx="200"                      centery="200" />             </image.rendertransform>             <image.layouttransform>                 <translatetransform x="0" y="0" />             </image.layouttransform>             <image.style>                 <style>                     <style.triggers>                         <trigger property="image.isenabled" value="true">                             <trigger.enteractions>                                 <beginstoryboard>                                     <storyboard repeatbehavior="forever" desiredframerate="30">                                         <doubleanimation storyboard.targetproperty="rendertransform.angle"                                                 from="360" to="0" duration="0:0:35" begintime="00:00:00.000" />                                     </storyboard>                                 </beginstoryboard>                             </trigger.enteractions>                         </trigger>                     </style.triggers>                 </style>             </image.style>         </image> 

but when run application, wheel not rotating smoothly. "jumps". tried modify desiredframerated read here, no luck.

any idea on how make animation smoothly?


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -