¾Ö´Ï¸ÞÀ̼ÇÀÇ °è»êÇÏ´Â ¹æ½ÄÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)
¼Ó¼º°ªÀº ¾Ö´Ï¸ÞÀ̼ÇÀÇ °è»êÇÏ´Â ¹æ½ÄÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

discrete ¾Ö´Ï¸ÞÀ̼ÇÀº Á¡ÁøÀûÀÌ ¾Æ´Ï°í ÇÑ °ª¿¡¼­ ´Ù¸¥ °ªÀ¸·Î Á÷Á¢ º¯°æµÈ´Ù.
linear µðÆúÆ®À̸ç, ¾Ö´Ï¸ÞÀ̼ÇÀº Á¡Áø¼º ±â´ÉÀ» ´Ü¼ø Á÷¼±»ó °è»êÀ¸·Î Ç¥ÇöÇÑ´Ù.
paced ¾Ö´Ï¸ÞÀ̼ÇÀº Àü Á¡ÁøÀû º¯È¯À» ÀÏÁ¤ÇÑ °£°ÝÀ¸·Î ÇÑ´Ù. ÀÌ´Â Á÷¼±Àû ¼öÄ¡ ¹üÀ§ÀÇ ¾ÖÆ®¸®ºäÆ®°ª¸¸ Áö¿øÇÏ°í ÁöÁ¤ÇÑ ³Êºñ³ª ³ôÀÌ °°Àº µÎ ÁöÁ¡°£ÀÇ °Å¸®¸¦ °è»êÇÑ´Ù.
spline À°¸éü cubic Bezier spline¿¡ ÀÇÇÏ¿© Á¤ÀÇµÈ ½Ã°£ ±â´É¿¡ µû¶ó ´ÙÀ½ Á¡ÁøÀû °ªÀ¸·Î ¾Ö´Ï¸ÞÀ̼ÇÀÌ °è»êµÈ´Ù. ÀÌ ÆÇÀÇ Á¡µéÀº keyTimes ¼Ó¼ºÀ¸·Î Á¤ÀÇÇÏ°í, °¢ °£°Ý Á¦¾îÁ¡Àº keySplines ¼Ó¼ºÀ¸·Î ¼³Á¤ÇÑ´Ù.

ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ë ȤÀº Àбâ/¾²±â·Î t:ANIMATE ¿¤·¹¸àÆ®ÀÇ µðÆúÆ®°ªÀº linearÀ̸ç, t:ANIMATEMOTION ¿¤·¹¸àÆ®ÀÇ µðÆúÆ®°ªÀº pacedÀÌ´Ù.

Ư±â

¾ÖÆ®¸®ºäÆ®°¡ ¼±»ó(linear) Á¡ÁøÀû º¯È­¸¦ Áö¿øÇÏÁö ¾ÊÀ¸¸é, µð½Å discrete ¸ðµå°¡ »ç¿ëµÈ´Ù.

ÀÌ ¼Ó¼º°ªÀÌ discrete·Î ¼³Á¤µÇ¾úÀ¸¸é, ¾Ö´Ï¸ÞÀ̼ÇÀÇ Áö¼Ó½Ã°£Àº to, from, by, values³ª path Áß ¼³Á¤µÈ °ª¿¡ µû¶ó ½Ã°£À» °°Àº °ªÀ¸·Î ³ª´« °ªÀÌ µÈ´Ù. ÇÑ ±¸°£ÀÇ ½Ã°£ ÈÄ ´ÙÀ½À¸·Î À̵¿ÇÏ¿© ¾Ö´Ï¸ÞÀ̼ǵǰí Á¡ÁøÀûÀ¸·Î º¯È­ÇÏÁö ¾Ê´Â´Ù. ¿¹¸¦µé¸é

values="0.3;0.6;0.8" ¾Ö´Ï¸ÞÀ̼ÇÀÇ Áö¼Ó½Ã°£À» 0.3 0.6 0.8 °¢°¢ 1/3¾¿ »ç¿ëÇÑ´Ù.
values="0.3;0.6" ¾Ö´Ï¸ÞÀ̼ÇÀÇ Áö¼Ó½Ã°£À» 0.3 0.6 °¢°¢ 1/2¾¿ »ç¿ëÇÑ´Ù.
from="0" to="0.8" from°ú to³ª by ¾ÖÆ®¸®ºäÆ®°¡ ¼³Á¤µÇ¾úÀ¸¸é, from °ª 0¿¡¼­ 1/2, to³ª by ¾ÖÆ®¸®ºäÆ® °ª 0.8¿¡¼­ 1/2 ¾¿ Áö¼Ó½Ã°£À» »ç¿ëÇÑ´Ù.
to="0.8" from ¾ÖÆ®¸®ºäÆ®°¡ »ý·«µÇ¾ú¸é, ¾Ö´Ï¸Þ´Ï¼ÇÀº to³ª by ¾ÖÆ®¸®ºäÆ® °ª 0.8¿¡¼­ Áö¼Ó½Ã°£ 100%¸¦ »ç¿ëÇÑ´Ù.
Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶
HTML+time

ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡¼­ Á¤ÀǵǾú´Ù.


Linear ¿¹Á¦
Discrete ¿¹Á¦
Paced ¿¹Á¦
Spline ¿¹Á¦

°á°ú Ç¥½Ãâ
<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<IMPORT namespace="t" implementation="#default#time2">
<SCRIPT>
function btnEnable(obj){ //¿¤·¹¸àÆ® ½Ã°£ÀÌ ¿Ï·áµÈ ÈÄ ´ÜÃßµéÀ» È°¼ºÈ­ ÇÑ´Ù.
  showA.innerHTML='obj.id='+obj.id+' obj.calcMode='+obj.calcMode;
  b1.disabled=b2.disabled=b3.disabled=b4.disabled=false;
}
function btnDisable(){ //¿¤·¹¸àÆ® ½Ã°£ÀÌ ½ÃÀÛµÇ¸é ´ÜÃßµéÀ» ºÒÈ°¼ºÈ­ ÇÑ´Ù.
  b1.disabled=b2.disabled=b3.disabled=b4.disabled=true;
}
</SCRIPT>

<STYLE>
.time{ behavior: url(#default#time2);}
div.ani{position:relative;height:50;width:150;top:0;left:0;background-color:pink;text-align:center;
  font-size:16;font-weight:bold;padding:5;border:solid 1 blue;visibility:hidden;}
</STYLE>
</HEAD>

<BODY>
<DIV id="t1" class="ani">Linear ¿¹Á¦</DIV>
<T:animate id="tt1" begin="b1.click+1;" calcMode="linear" targetElement="t1" dur="4" from="50" to="400" attributeName="left" fill="remove"
  onbegin="btnDisable();" onend="btnEnable(this);t1.style.visibility='hidden'"/>

<DIV id="t2" class="ani">Discrete ¿¹Á¦</DIV>
<T:animate id="tt2" begin="b2.click+1;" calcMode="discrete" targetElement="t2" dur="4" from="50" to="400" attributeName="left" fill="remove"
  onbegin="btnDisable();" onend="btnEnable(this);t2.style.visibility='hidden'"/>

<DIV id="t3" class="ani">Paced ¿¹Á¦</DIV>
<T:animate id="tt3" begin="b3.click+1" calcMode="paced" targetElement="t3" dur="4" from="50" by="400" attributeName="left" fill="remove"
  onbegin="btnDisable();" onend="btnEnable(this);t3.style.visibility='hidden'"/>

<DIV id="t4" class="ani" style="z-index=1;">Spline ¿¹Á¦</DIV>
<T:animate id="tt4" begin="b4.click+1" calcMode="spline" targetElement="t4" dur="4" attributeName="left" fill="remove"
  keySplines="0 0 1 1" keyTimes="0; 1" values="50;400"
  onbegin="btnDisable(this);" onend="btnEnable(this);t4.style.visibility='hidden'" />

<P>
<BUTTON id="b1" onclick="t1.style.visibility='visible'" style="font-weight:bold;">Linear(µðÆúÆ®) ¿¹Á¦</BUTTON>
<BUTTON id="b2" onclick="t2.style.visibility='visible'">Discrete ¿¹Á¦</BUTTON>
<BUTTON id="b3" onclick="t3.style.visibility='visible'">Paced ¿¹Á¦</BUTTON>
<BUTTON id="b4" onclick="t4.style.visibility='visible'">Spline ¿¹Á¦</BUTTON>
<DIV id="showA">°á°ú Ç¥½Ãâ</DIV>
</BODY>
</HTML>