自從小樹嫁了個牛逼的前端之后,canvas的境界超過我了!!!
小編表示:這個境界,這個幾何,讓我有種跪舔的感覺。。。
http://www.wow-trend.com/brand/index.shtml
這個hover讓我徹底凌亂了
<div class="canvasBox"> <canvas width="320" height="198"></canvas> </div>
這逼格高的
World.prototype.initEngine = function() { this._container = document.createElement( 'div' ); this._container.className='canvasBox'; document.getElementById( this._id ).appendChild( this._container ); //camera this._cam = new THREE.PerspectiveCamera( this._fov, this._stageWidth / this._stageHeight, this._near, this._far ); this._cam.position.z = 241; if( !isWebGL ) { this._cam.position.z = 239; } //scene this._scene = new THREE.Scene(); }
我只能一點點抽絲剝繭!!!等我全部抽完,我再對這個寫一篇系統的說明,,,最后three.js這個東西看上去確實不錯
-_-//別鄙視我。。。you can you up
最后放上小樹姐的個人網站 www.j--d.com
不是京東!!囧