自从小树嫁了个牛逼的前端之后,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
不是京东!!囧