JSDM

Loading ..................

3d Perspective Spheres

描述

Move mouse left/right to rotate. Click the right button to decrease fov (field of view), and the left button to increase.

It may be interesting to note that this doesn't use WebGL, all projection and rendering is done with the 2d canvas context.

The Code Player really helped me understand the process: http://thecodeplayer.com/walkthrough/3d-perspective-projection-canvas-javascript

And RectangleWorld the actual math: http://rectangleworld.com/blog/archives/298

标签

  1. 3d

评论

  1. 暂无评论

发表评论 支持Markdown

你必须 登录 之后才可以留言
  • 9445 查看
  • 0 评论
  • 0 喜爱

暂无点赞的用户

暂无Fork