Class
  • Tip&Tech
[¾Ë°í¸®Áò] 3Â÷¿ø º£Áö¾î °î¼± ¾Ë°í¸®Áò
±Û¾´ÀÌ ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§·¹Àο¡µðÅÍ ³¯ Â¥ 12-03-27 11:02 Á¶ ȸ 2231
°£ÆíURL http://phpschool.com/link/tipntech/75330 º¹»ç

SyntaxHighlight·Î º¸±â

Link1 http://www.cafen.net/product/others.html?type=canvas&init=off&ca=fr&li¡¦ (208)

º£ÀÌÁö °î¼±Àº ¿©·¯°³ÀÇ Á¡À¸·Î ºÎÅÍ °î¼±À» À¯µµÇÒ ¼ö ÀÖ½À´Ï´Ù.

Á¦°¡ ÇÊ¿äÇØ¼­ ¸¸µç °Çµ¥ °î¼±À» ¸¸µé¾î ³»´Â ¾Ë°í¸®ÁòÀ» ¼³¸í µå¸®°Ú½À´Ï´Ù.



cafen.cPoint = function(x,y,z) {
this.x = x;
this.y = y;
this.z = z;
}

cafen.cPoint.prototype = {
x : null, y : null, z : null,
getMiddle : function (tPoint, rate) {
return this.clone().minus(tPoint).zoom(1-rate).plus(tPoint);
},
clone : function() {
return new cafen.cPoint(this.x, this.y, this.z);
},
plus : function(tPoint) {
return this.addx(tPoint.x).addy(tPoint.y).addz(tPoint.z);
},
minus : function(tPoint) {
return this.addx(tPoint.x *(-1)).addy(tPoint.y *(-1)).addz(tPoint.z *(-1));
},
zoomXyz : function(x,y,z) {
if (x != null)
this.x *= x;
if (y != null)
this.y *= y;
if (z != null)
this.z *= z;
return this;
},
zoom : function(rate) {
return this.zoomXyz(rate, rate,rate);
},
addx : function(x) {
if (x != null)
this.x += x;
return this;
},
addy : function(y) {
if (y != null)
this.y += y;
return this;
},
addz : function(z) {
if (z != null)
this.z += z;
return this;
}
}


function getBezier(percent,points) {
var len = points.length;
var nPoint = points;
while(nPoint.length > 1) {
var mPoint = [];
for(var i = 0 ; i < nPoint.length -1 ; i++)
mPoint.push(nPoint[i].getMiddle(nPoint[i+1], percent));
nPoint = mPoint;
}
return nPoint[0];
}

ÀÌ ¾Ë°í¸®ÁòÀÇ ÇÙ½ÉÀº ¿©·¯°³ÀÇ Á¡À» ¹Þ¾Æ¼­ °¢°¢ÀÇ Áß°£ Á¡À» Àâ¾Æ³»¼­ ±× Á¡ÀÇ °¹¼ö°¡ 1 µÉ¶§±îÁö ¼öÇàÀ» ÇÕ´Ï´Ù.

À¥»ó¿¡¼­ ã¾Æº¸´Ï 2Â÷¿ø°ú Á¡ÀÌ 3°³³ª 4°³ÀÎ°Í ¸¸ ¼³¸í µÇ¾î À־ Á¡ÀÇ °¹¼ö¿¡ »ó°ü¾øÀÌ °è»êµÉ ¼ö ÀÖµµ·Ï ¼³°èÇÏ¿´½À´Ï´Ù.
ÀÌ ÇÁ·Î±×·¥Àº 3Â÷¿ø °î¼±À» ¸¸µé¾î ³À´Ï´Ù.

À§¿¡ ÷ºÎµÈ ±×¸²Àº ÇϳªÀÇ °î¼±Àε¥ º¸´Â ½Ã°¢¿¡ µû¶ó¼­ ±×·ÁÁø °î¼±ÀÔ´Ï´Ù. Áï ÁÂÃø ¿ìÃø »ó´Ü ÇÏ´Ü¿¡¼­ º¸¿©Áö´Â 3Â÷¿ø °î¼±ÀÔ´Ï´Ù.

ÀÚ¼¼ÇÑ ±×¸²Àº ¸µÅ©¸¦ ÂüÁ¶ ¹Ù¶ø´Ï´Ù.

¸µÅ©¿¡¼­ Űº¸µåÀÇ È­»ìÇ¥À» ¿òÁ÷À̸é ÁÂÇ¥°¡ ¿òÁ÷¿©¼­ º¸¿© Áý´Ï´Ù.

Àüü´ñ±Û¼ö 8

  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§º½¤Ôµ¹¤Ô 12-03-27 11:28

    ¼Ò½ºº¸±â

  • ¾ðÁ¦ ½á¸ÔÀ»Áö ¸ð¸£°ÚÁö¸¸
    ÁÁÀº Á¤º¸ °¨»çÇÕ´Ï´Ù.
  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§°³³ä»ó½Ç°õ 12-03-27 11:38

    ¼Ò½ºº¸±â

  • ÄÈ 3Â÷ ÁÂÇ¥ º£ÀÌÀú °î¼± ¤¾¤§¤§ Àß ½á¸Ô°Ú½¿¹Ì´Ù ¤» ĵ¹ö½º¾µ¶§ ½á¸ÔÀ¸¸é ÁÁ°Í³×¿©
  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§·¹Àο¡µðÅÍ 12-03-27 11:43

    ¼Ò½ºº¸±â

  • ¿¹ Àúµµ 3Â÷¿ø ĵ¹ö½º¸¦ ¸¸µå´À¶ó ¸¸µç °Ì´Ï´Ù. À§ ¸µÅ©¿¡¼­ ĵ¹ö½º À§¿¡ ÀÖ´Â top, left ¶ó°í µÇ¾î ÀÖ´Â ºÎºÐÀ» Ŭ¸¯Çϸé ĵ¹ö½º°¡ 3Â÷¿øÀ¸·Î ¿òÁ÷ÀÌ°Ô ¼³°èµÇ¾î ÀÖ½À´Ï´Ù. ¾ÆÁ÷±îÁö´Â ¾îµð¿¡ »ç¿ëÇÒ±î °í¹Î ÁßÀÔ´Ï´Ù. ¼± °³¹ß ÈÄ »ç¿ëó »ý°¢...
    °¨»çÇÕ´Ï´Ù.
  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§·¹Àο¡µðÅÍ 12-03-27 11:45

    ¼Ò½ºº¸±â

  • IE, FireFox, Chrome ¿¡¼­ Àß ÀÛµ¿Àº Çϰí Àִµ¥ ÇöÀç clip ºÎºÐ¿¡¼­ ¸·Çô ÀÖ´Â »óȲÀÔ´Ï´Ù. Áï 3Â÷¿ø mesh ºÎºÐÀÌ Ã³¸® IE¿¡¼­ ¾ÈµÇ´õ±º¿ä.  IE9 À̻󿡼­´Â µÈ´Ù°í Çϴµ¥.. ±× ÀÌÇÏ ¹öÀü¿¡¼­´Â µµÀúÈ÷ ¹æ¹ýÀÌ ¾Èº¸À̰í ÀÖ½À´Ï´Ù.
  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§°³³ä»ó½Ç°õ 12-03-27 12:04

    ¼Ò½ºº¸±â

  • ie8 ±îÁö´Â Æ÷±âÇÏ½Ã¸é ÆíÇØ¿°

    ÁÁÀº ÀÚ·á į»þÇԹ̴٠¤£¤£
  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§.NETSCHOOL 12-03-28 09:31

    ¼Ò½ºº¸±â

  • IE ¸ðµç ¹öÀü 3D ±×·¡ÇÈ ¾Æ¿¹ Áö¿ø ¾ÈÇÕ´Ï´Ù. ĵ¹ö½º¿Í CSS ¸ðµÎ 2D¸¸ Áö¿øÇÕ´Ï´Ù.
  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§À¯Ã¢È­ 12-03-27 11:40

    ¼Ò½ºº¸±â

  • ´ë´ÜÇϽʴϴÙ.
    Á¦°¡ µµÀüÇØ º¸Áö ¸øÇÑ ºÐ¾ß³×¿ä.
    °¨»çÇÕ´Ï´Ù.
  • ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¾ËÂùµ¹»ß 12-03-27 15:34

    ¼Ò½ºº¸±â

  • Çä.................
  • °Ô½Ã¹° 12,490°Ç RSS
¹øÈ£ºÐ·ùÁ¦¸ñ±Û¾´À̳¯Â¥Á¶È¸
12,490 ½ºÅ©¸³Æ® jquery 1.9+ ¿ë $.browser - Browser Selector [3] »õ±Û ÷ºÎÆÄÀÏ ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§°ø¼ö´Ï 13-06-19 60
12,489 Á¤º¸ Codeigniter±â¹Ý ÅÊÅ©V CMS ÀÔ´Ï´Ù. [10] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§²Ù¼õ2 13-06-18 353
12,488 ½ºÅ©¸³Æ® JavaScript Tips (5) - ¸Þ¼Òµå ÈÄÅ· ±¸ÇöÇϱ⠸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¹®ÇÐû³â 13-06-17 264
12,487 ºê¶ó¿ìÀú ÁÖÀÇ]mobile webkit cookie ¿¡ ´ëÇÏ¿©. safari, chrome form act¡¦ [7] ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-06-15 289
12,486 ½ºÅ©¸³Æ® js ¿¡¼­ window, document, parent, contentWindow µîµîÀÇ ¼Ó¼º ¡¦ [2] ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-06-06 537
12,485 ½ºÅ©¸³Æ® iframe ÀÇ ºÎ¸ðű׿¡ Á¢±ÙÇϱâ. [4] ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-06-05 568
12,484 ±âŸ layoutit ¸¸µå½Ç¶§ À¯¿ëÇÑ ÅøÀÔ´Ï´Ù. ¿¡µðÅͰ¡ »ç¶óÁúÁöµµ --;; [4] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§Æø½ºÅ׸®¾î 13-06-04 750
12,483 ÇÔ¼ö explode 3¹øÂ° ÀÎÀÚ. a=b=c=d ==> "a" => "b=c=d" [13] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-05-27 752
12,482 Á¤º¸ 1¿ø) scss »ç¿ë Áß... [2] ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§·¹¾î´Ð 13-05-24 753
12,481 DBMS mysql ¿¡¼­ÀÇ in °ú Á¶ÀÎÀÇ ¼±ÅÃÀ» À§ÇÑ Å×½ºÆ® [19] À̹ÌÁö ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§ÀüÁøÇϴ¾Ƹ£°í 13-05-22 853
12,480 ºê¶ó¿ìÀú css browser selector js to css_browser_selector.class.php [5] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-05-21 530
12,479 ºê¶ó¿ìÀú IE9 ÀÌÇÏ jquery placeholder 0.3 [4] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-05-20 640
12,478 ÇÔ¼ö redis_cache (±×´©º¸µå ÇÔ¼öij½¬. redis ¹öÁ¯) ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¾ÆºüºÒ´ç 13-05-20 472
12,477 ¼³Ä¡/¼³Á¤ redis ¼³Ä¡ [1] ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¾ÆºüºÒ´ç 13-05-20 551
12,476 ¾Ë°í¸®Áò [1¿øÆÁ] php µ¿ÀûÀÎ »ó¼Ó [6] ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§RGB255 13-05-18 762
12,475 ½ºÅ©¸³Æ® js ÇÔ¼ö,¸Þ¼Òµå ¸í¼¼, Ç¥ÁØÀÎÁö MSIE Áö¿ø µÇ´ÂÁö... [5] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-05-15 586
12,474 DBMS Ãʺ¸ÀÚ¸¦ À§ÇÑ mysql¿¡¼­ÀÇ ºñÆ®¿¬»ê Ȱ¿ë [4] ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§ÀüÁøÇϴ¾Ƹ£°í 13-05-13 780
12,473 ¾Ë°í¸®Áò ÆäÀ̽ººÏÀÌ ¸¸µç PHP °¡»ó¸Ó½ÅÀÎ HipHop For PHP ¸¦ ¼Ò°³ÇÕ´Ï´Ù. [7] ¸µÅ© Àα⠱â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§egoing 13-05-13 1007
12,472 ºê¶ó¿ìÀú google chrome high contrast plugin »çÀÌÆ® °í´ëºñÈ­ µµ±¸ [3] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¼ÛÈ¿Áø 13-05-12 494
12,471 ¾Ë°í¸®Áò Codeigniter 2.1.3 ±â¹Ý °ø°³º¸µå [2] ¸µÅ© ±â¼ú·¹º§Ä¿¹Â´ÏƼ·¹º§¸¶³Ä 13-05-11 827
 
12345678910