简体   繁体   English

Javascript 几何绘制

[英]Javascript Geometry Draw

I have to draw geometry shapes like the sample image attached here.我必须绘制几何形状,如附在此处的示例图像。

I check the three.js, pepper.js but, I am confused that which one is the best library for this type of work.我检查了 Three.js、pepper.js 但是,我很困惑哪一个是适合此类工作的最佳库。 Please help me to decide the library.请帮我决定图书馆。 在此处输入图片说明

Most processing libraries will do the job.大多数处理库都可以完成这项工作。 Have a look at p5.js, it is fairly simple to get started with.看看 p5.js,它上手相当简单。

https://p5js.org/ https://p5js.org/

I use the GD library to complete these complex diagrams.我使用GD库来完成这些复杂的图表。 Drawio helps me a lot to create the diagrams and get the coordinates of X and Y axis. Drawio 在创建图表和获取 X 轴和 Y 轴的坐标方面帮助了我很多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM