hinekure.net ¤¬ http://hspdev-wiki.net/ ¤«¤é¼«Æ°¥¯¥í¡¼¥ê¥ó¥°¤·¤¿·ë²Ì¤òɽ¼¨¤·¤Æ¤¤¤Þ¤¹¡£²èÁü¤ä¥ê¥½¡¼¥¹¤Ê¤É¤Î¥ê¥ó¥¯¤¬ÀÚ¤ì¤Æ¤¤¤Þ¤¹¡£Í½¤á¤´Î»¾µ¤¯¤À¤µ¤¤¡£
Math/Ê¿Ì̲óž - HSP³«È¯wiki
¥È¥Ã¥×    ÊÔ½¸Åà·ë º¹Ê¬¥Ð¥Ã¥¯¥¢¥Ã¥×źÉÕÊ£À½Ì¾Á°Êѹ¹¥ê¥í¡¼¥É   ¿·µ¬°ìÍ÷ñ¸ì¸¡º÷ºÇ½ª¹¹¿·   ºÇ½ª¹¹¿·¤ÎRSS

¾®¥ï¥¶|¶õ´Ö²óž

Ê¿Ì̲óž

ÅÀP(x,y)¤ò¡¢¸¶ÅÀ¤òÃæ¿´¤ËÅÀP¤ò¦Â³Ñ²óž¤µ¤»¤¿¤È¤­¤ÎÅÀP'(x',y')¤ÎºÂɸ¡£

Ê¿Ì̲óž¤Î¿Þ

¥¹¥¯¥ê¥×¥ÈÎã

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
    ;
    ; for HSP3.3
    ;
 
    #module
 
    ; (x,y)¤òa³ÑÅٲ󞤵¤»¤¿ºÂɸ¤òɽ¼¨¤¹¤ë
    #deffunc rotate double x, double y, double a
        xx = x * cos(a) - y * sin(a)
        yy = y * cos(a) + x * sin(a)
        mes "x' = " + xx
        mes "y' = " + yy
        return
 
    #global
 
    rotate 1.0, 0.0, DEG2RAD(45)
 
    stop

Íý²ò¤·¤¿¤Æ¤Ê¤Î¤Ç¤¦¤Þ¤¯²òÀâ¤Ç¤­¤Þ¤»¤ó¤¬¤Á¤ç¤Ã¤È¤À¤±¡£

ÅÀP'¤Îx'ºÂɸ¤Èy'ºÂɸ¤Ï¼¡¤Î¤è¤¦¤Ëµá¤Þ¤ê¤Þ¤¹¡£

x' = rŽ¥cos(¦Á+¦Â)
y' = rŽ¥sin(¦Á+¦Â)

¤³¤³¤Ç cos(¦Á+¦Â) ¤È sin(¦Á+¦Â) ¤½¤ì¤¾¤ì¤Ë²ÃË¡ÄêÍý¤ò»È¤¦¤È

x' = rŽ¥cos(¦Á+¦Â)
   = r(cos¦ÁŽ¥cos¦Â - sin¦ÁŽ¥sin¦Â)
   = rŽ¥cos¦ÁŽ¥cos¦Â - rŽ¥sin¦ÁŽ¥sin¦Â
y' = rŽ¥sin(¦Á+¦Â)
   = r(sin¦ÁŽ¥cos¦Â + cos¦ÁŽ¥sin¦Â)
   = rŽ¥sin¦ÁŽ¥cos¦Â + rŽ¥cos¦ÁŽ¥sin¦Â

¤È¤Ê¤ê¤Þ¤¹¡£
¤Þ¤¿¡¢ÅÀP¤ÎxºÂɸ¤ÈyºÂɸ¤Ï¼¡¤Î¤è¤¦¤Ëµá¤Þ¤ê¤Þ¤¹¡£

x = rŽ¥cos¦Á
y = rŽ¥sin¦Á

¤³¤Î¤³¤È¤«¤éÅÀP'¤Îx'ºÂɸ¤Èy'ºÂɸ¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æµá¤Þ¤ê¤Þ¤¹¡£

x' = rŽ¥cos¦ÁŽ¥cos¦Â - rŽ¥sin¦ÁŽ¥sin¦Â
   = xŽ¥cos¦Â - yŽ¥sin¦Â
y' = rŽ¥sin¦ÁŽ¥cos¦Â + rŽ¥cos¦ÁŽ¥sin¦Â
   = yŽ¥cos¦Â + xŽ¥sin¦Â
  • sprocket¤µ¤óºîÀ®¤Îd3module¤ò»²¹Í¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ -- kz3

¥³¥á¥ó¥È

  • Âþº£d3module¤òÇÁ¤¤¤ÆÊÙ¶¯Ãæ¡£¤Þ¤¡¥µ¥ó¥×¥ë¥¹¥¯¥ê¥×¥È¤â¤ä¤Ã¤Æ¤ë¤³¤È¤Ïd3module¤È°ì½ï¤Ç¤¹¤¬¡¢¤Á¤ã¤ó¤ÈÍý²ò¤·¤¿Íýͳ¤ò²òÀ⤷¤Æ¤ß¤Þ¤·¤¿¡£¤¿¤À¤Î¥³¥Ô¥Ú¤Ç¤Ï¤Ê¤¤¤È¤¤¤¦¤³¤È¤Ç¤¹¡°¡°¡¨ -- kz3 2005-10-16 13:11:51 (Æü)
  • ¤ª¤©¤©¡¢¥«¥á¥éÂоÝʪ¤«¤éƱ¤¸µ÷Î¥¤Ç¥Ñ¡¼¥ó¤µ¤»¤ë¼°¤ÇǺ¤ó¤Ç¤Þ¤·¤¿¡£¤Þ¤µ¤ËÅú¤¨£÷¡¡¤â¤·¤«¤·¤Æ»ä¤Î°Ù¤ËÄ´¤Ù¤Æ¤¯¤ì¤Þ¤·¤¿¡©¡¡¥¢¥ê¤¬­Å -- araran
  • ¤â¤Á¤í¤ó¤Ç¤¹¡ª¡ª¤Ã¤Æ¤Î¤Ï±³¤Ç¤¹¡°¡°¡¨
    3D¤Ë¶½Ì£¤ò»ý¤Ã¤Æ¤É¤¦¤»»ý¤Ä¤Ê¤éÆâÉô½èÍý¤òÍý²ò¤·¤¿¤¦¤¨¤ÇÌ¿Îá¤òÁà¤ê¤¿¤¤¤È»×¤Ã¤Æ¡¦¡¦¡¦Ìò¤Ë¤¿¤Ã¤Æ´ò¤·¤¤¤Ç¤¹¡°¡° -- kz3 2005-10-17 13:53:16 (·î)
  • Ⱦ·Â¤ò1¤È·è¤á¤Æ¤«¤«¤Ã¤Æ¤¤¤¿¤Î¤ò°ìÈ̲½¤·¤Þ¤·¤¿¡£ -- kz3 2005-10-20 09:13:47 (ÌÚ)
  • ¥«¥á¥é¤Î²óž¤ÇºÂɸ¤¬¤ï¤«¤é¤Ê¤«¤Ã¤¿¤È¤³¤í¤Ë¤¤¤¤¤â¤Î¤¬¡¦¡¦¡¦»²¹Í¤Ë¤µ¤»¤Æ¤â¤é¤¤¤Þ¤¹m(_ _)m -- 2009-06-15 (·î) 16:40:26

URL B I U SIZE Black Maroon Green Olive Navy Purple Teal Gray Silver Red Lime Yellow Blue Fuchsia Aqua White

¥È¥Ã¥×    ÊÔ½¸Åà·ë º¹Ê¬¥Ð¥Ã¥¯¥¢¥Ã¥×źÉÕÊ£À½Ì¾Á°Êѹ¹¥ê¥í¡¼¥É   ¿·µ¬°ìÍ÷ñ¸ì¸¡º÷ºÇ½ª¹¹¿·   ºÇ½ª¹¹¿·¤ÎRSS
Last-modified: 2013-06-01 (ÅÚ) 09:43:59 (190d)