1.thingjsä¸threejsçåºå«ï¼
thingjsä¸threejsçåºå«ï¼
html5canvasåwebglåthree.jsæä»ä¹åºå«
åºäºwebglç3Dæ¡æ¶ä¹ç®å§ï¼ä¼æå¨ç¥å°ºé èï¼WebGLä½ä¸ºOpenGLçåéï¼å¨HTML5ä¸æå¾å¤§çæ¿æ¦æ¯æå度ï¼ä¸è¿webglæ¯å¾åºå±çä¸ç§ææ¯ï¼ä¸å®¹æå½¢æ3Då¼åæ¦å¿µï¼æ以æå¾å¤åºäºwebglç3Dæ¡æ¶äº§çï¼å¸¸è§çæthree.jsãthingjsãd3.jsççã
thingjsæ¯è¿ä¸¤å¹´çæ°å ´æ¡æ¶ï¼æ¯three.jsæ´ä¸ºé¡¶å±ï¼ç¸å½äºä¸éè¦ä»»ä½3Dä¸ä¸ç¥è¯å¨å¤ï¼åªæå¾js,源码alert 源码html5,canvaså¼åé»è¾å°±å¯éµå以è°è¯3Dææï¼å éå¼åæçï¼æ以åå°ä¸å°ä¼ä¸å¼åè ç欢è¿ã
thingjså¨çº¿å¹³å°æä¾3Då¯è§åå¼åå¥ä»¶ï¼3D模ååºæåä¸å¤ä¸ªæ¨¡åååºæ¯ï¼é¡¹ç®å¯¼å ¥å¹³å°æé»è®¤ç¯å ï¼å©ç¨3Dæºç å¼åç¯å ææãåæ¢2D/3dçï¼å 费注åthingjsè´¦æ·å¯çå°ä»¥ä¸3Dç¼è¾å¨ææã
javascriptç¨ä»ä¹å¼åå·¥å ·JavaScriptèªæ¨åºå就大åå¼åè çéçï¼åºäºJavaScriptçå¼åå·¥å ·ï¼è¿éå å«å¤§éçJSå¼åèµæºï¼å æ¬å端ãæ¡æ¶ãéç¨ç±»çï¼ä¸è®¡å ¶æ°ï¼å¼åè 们å¯ä»¥çµæ´»éæ©ï¼è½»æ¾æ建åºç¨ãæ¬æå享å款JavaScriptå¼å工仿æå ·
1.Kreate
è¿æ¬¾å·¥å ·æå©äºå¯¹jQuery对象快éçæDOMãä½ å¯ä»¥å建å个æå¤ä¸ªå ç´ ã
2.NightWatchjs
Nightwatchjsæ¥æä¸ä¸ªç®æ´è强大çè¯æ³ï¼è½å¤å è®¸ä½ å¿«éç¼åæµè¯ãå®æ¯ä¸ç¨äºæµè§å¨åºç¨åç½ç«çä¸æ¬¾ç«¯å°ç«¯çæµè¯è§£å³æ¹æ¡ã
3.Gulpjs
Gulpæ¯æ¯è¾ç«çå¼æºé¡¹ç®ï¼é ç½®æ´ç®æ´ãæ´ç´è§ï¼åå°å¾å¤å¼åè çéçã
4.EasyStarjs
Easystarjsæ¯å©ç¨JavaScriptAPIç¼åçï¼å¸¸ç¨è¯æ建HTML5游æãå¼åè å¯ä»¥å°å ¶ä¸ç°æçJSæ¡æ¶æé 使ç¨ã
5.Headroom.js
Headroom.jsæ¯ä¸æ¬¾è½»é级ãé«æ§è½çJSç»ä»¶ï¼æ ä¾èµæ§ï¼ã
6.Harpjs
Harpæ¯ä¸æ¬¾å¿«éçãè½»é级çWebæå¡å¨ãHarpservesJadeï¼Markdownï¼EJSï¼CoffeeScript,Sass,LESS以åStylusasHTMLãCSSJavaScripåå¯è½»æ¾é ç½®ã
7.GanttTwproject
Twoprojectæ¯ä¸æ¬¾å¨çº¿å è´¹çJSå¼åå·¥åµçå ·ï¼åºäºjqueryå建èæ¥ï¼æ¥æ强大迷人çå大åç¹æ§ï¼å æ¬CSSç®è¤æ ·å¼ãèµæºç¼è¾çã
8.Mocha
Mochaæ¯ä¸æ¬¾åè½ä¸°å¯çJavaScriptæµè¯æ¡æ¶ï¼å¯åºäºnode.jsåæµè§å¨è¿è¡ï¼å®ä½¿å¼æ¥æµè¯åå¾æ´ä¸ºç®åæ趣ï¼æ¯æçµæ´»ä¸åç¡®çè¾åºï¼ææå¼å¸¸ç°è±¡ã
9.ResponsiveNav
ResponsiveNavæ¯ä¸æ¬¾è½»é级çæ件ï¼å¸®å©ä½ 为å°å±å¹å建è¿æ¥å¯¼èªãæ¯æ为移å¨è®¾å¤å建触æ¸äº¤äºè®¾è®¡ä»¥åCSS转æ¢çç¹æ§ã
.FileAPI
æ³è¦å¼åç©èç½3Dåºç¨ï¼ç¨thingjsæ¹ä¾¿è¿æ¯threejsæ¹ä¾¿ï¼
æ¨è使ç¨thingjsæ¥å¼åï¼æ们å¯ä»¥å¯¹æ¯çä¸ä¸threejsåthingjsï¼é¦å äºè§£ä¸ä¸webGLã
WebGLå¯ä»¥å¤ç3Då¾åï¼å¬èµ·æ¥æ¯é常é«å ´çä¸ä»¶äºï¼ä½æ¯WebGLå®å¨æ¯å¤ªåºå±äºï¼WebGl解å³æ¯å¦ä½åç»å¸ä¸ç»å¾çé®é¢ï¼æä¹ç»ç¹ï¼çº¿ï¼é¢ï¼ææ¸ å«æ£ä¹ä¸è²ï¼æä¹è´´å¾ï¼æä¹å¤çå 线ï¼è§è§è½¬å¨ä¹åæä¹æ¢ç®ç»å¶ççãè¿äºå¯¹äºä¸ä¸ªå3Dåºç¨çå¼åè æ¥è¯´è¦å¦çä¸è¥¿å¤ªå¤äºãThreejsåºçåºç°è§£å³äºåºå±ç渲æç»èåå¤æçæ°æ®ç»æï¼ç»äºå°å¤æçåºå±ç»èæ½è±¡åºæ¥ï¼ä½¿å¾å¤§å®¶å¼å3dåºç¨æ´å®¹æäºä¸äºãåå¾å¤å¼åè 交æµthreejsé½æ¯ä»ä»¬é¦æ¬¡æ¥è§¦çWebGL3Dåºï¼å¹¶è½å¾å®¹æçå°±è½å¼å§åä¸èç»äºå®éªãä½æ¯ä½¿ç¨Threejså¼ååºç¨è¿æ¯é¨æ§å¾é«ï¼ä½å°±ä¸ä¸ªå 载模åï¼è°å ï¼éæ©æ¨¡åå¼¹æ¡çåè½ï¼å°±è½å¹²åºThreejsä¸ç¾è¡ä»£ç ãåæ¶è¿æå¾å¤å¤æç3Dæ¦å¿µéè¦ç解ãè¿æ¶å°±éè¦ThingJSäºã
ThingJSæ¯æ´ä¸ºä¸å±çæ½è±¡ï¼ä¸ç¨å ³å¿ï¼æ¸²æï¼meshï¼å 线çå¤ææ¦å¿µãå®æ½è±¡æ¯ä¸ä¸ªä¸ªå ·ä½ç模åï¼ThingJSå°è£ äºå¯¹æ¨¡å交äºäºä»¶çåç§apiï¼æ¯å¦åå»ï¼å·¦é®ï¼é¼ æ æ»è¿çï¼ThingJSå°è£ äºå¯¹æ¨¡åçæä½ï¼ä¾å¦ç§»å¨ï¼æ¾å¤§ç¼©å°ï¼ä¸è²ï¼å¾è¾¹ï¼çè³å¼é¨ï¼ThingJSè¿å°è£ äºæ¨¡åçå±æ¬¡å ³ç³»ï¼ä¾å¦ç©çåä½æ¯æ¾å¨æ个æ¿é´éçï¼æ¿é´åå¨æ个楼å±ï¼æ¥¼å±åæ¯æ个大楼çã大楼å¨ååºéã
æ´å¤äºè§£å¯ä»¥çä¸ä¸ç½é¡µé¾æ¥