Drawing 3D elements with Javascript - Stack Overflow

My application returns the relative positions between two lines and I want draw this lines with Javascr

My application returns the relative positions between two lines and I want draw this lines with Javascript. The line is defined with a director vector, a point and is three dimension.
Is there any library available which can do this? I found only Victor.js but does not help in my case

My application returns the relative positions between two lines and I want draw this lines with Javascript. The line is defined with a director vector, a point and is three dimension.
Is there any library available which can do this? I found only Victor.js but does not help in my case

Share Improve this question edited Aug 6, 2015 at 0:51 Script47 14.6k4 gold badges47 silver badges68 bronze badges asked Aug 6, 2015 at 0:38 Daniela MoraisDaniela Morais 2,2478 gold badges31 silver badges54 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 6
  • Three.js: "The aim of the project is to create a lightweight 3D library with a very low level of plexity — in other words, for dummies. The library provides canvas, svg, CSS3D and WebGL renderers."

  • Processing.js: "Processing.js is the sister project of the popular Processing visual programming language, designed for the web. Processing.js makes your data visualizations, digital art, interactive animations, educational graphs, video games, etc. work using web standards and without any plug-ins."

Both are very mature and have an active munity. There are plenty of resources to learn from, for example three.js's Getting Started and Processing.js's Learning.

Here, you have a really easy guide to draw a 3D shape on a 2D surface (With ProcessingJS)
Its a guide by Khan Academy to make 3D shapes with ProcessingJS

You might want to read THIS too.
Its the original article, by Peter Collingridge
Draw 3d shapes on html5 canvas

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742340996a4425624.html

相关推荐

  • Drawing 3D elements with Javascript - Stack Overflow

    My application returns the relative positions between two lines and I want draw this lines with Javascr

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信