Loading ...
Sorry, an error occurred while loading the content.

RE: [svg-developers] Discrete animation

Expand Messages
  • Prem Dasari
    Thnx for the Information but in the Example given for Discrete animation when should the circle with discrete animation reach the final value in Each interval
    Message 1 of 3 , Nov 22, 2007
    • 0 Attachment
      Thnx for the Information but in the Example given for

      Discrete animation when should the circle with discrete animation reach the final value in

      Each interval



      Regards



      Prem

      ________________________________

      From: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com] On Behalf Of Bjoern Hoehrmann
      Sent: Thursday, November 22, 2007 4:39 PM
      To: svg-developers@yahoogroups.com
      Subject: Re: [svg-developers] Discrete animation



      * prem_2324 wrote:
      >I checked the below example with Opera and found that the for each
      >interval the circle with Discrete reaches end at different time.
      >With values="50;150;250;350;450" dur="10" i assume that the circle
      >moves from 50-150 in 2.5s seconds and 150-250 in 2.5s-5 s and 250-
      >350 in 5s-7.5 s and 350-450 in 7.5s-10s.
      >
      >But the SMIL specification says that the duration has to be divided
      >into half for each interval( and that too doesnt happen in Opera).

      I do not quite follow you here. If you look at the SMIL specification:
      "For discrete animation, with no keyTimes attribute, the duration is
      divided into n equal time periods, one per value." You have five values
      so you get five time periods of two seconds each. I searched through it
      looking for "half" but no instance suggests what you say above.

      It is useful by the way to add code like

      <text font-size='20' x='100' y='300' id='x'>0.0</text>
      <script>
      setInterval(function(){
      document.getElementById('x').firstChild.nodeValue =
      document.documentElement.getCurrentTime().toFixed(2);
      }, 100);
      </script>

      To examples with timing.
      --
      Björn Höhrmann · mailto:bjoern@... <mailto:bjoern%40hoehrmann.de> · http://bjoern.hoehrmann.de <http://bjoern.hoehrmann.de>
      Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de <http://www.bjoernsworld.de>
      68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ <http://www.websitedev.de/>




      #########################################
      THIS EMAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED.BEFORE OPENING ANY ATTACHMENTS PLEASE CHECK FOR VIRUSES AND DEFECTS.IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE NOTIFY US IMMEDIATELY BY REPLY E-MAIL AND DELETE THE ORIGINAL MESSAGE.
      #########################################


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.