javascript 想要 HTML5 Canvas 编辑器和库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5240767/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 16:29:26  来源:igfitidea点击:

HTML5 Canvas Editor and Library wanted?

javascripthtml

提问by Mohsen

Is there a graphical HTML canvas editor? What is the best canvas JS library?

是否有图形化的 HTML 画布编辑器?什么是最好的画布 JS 库?

UPDATE:

更新:

I just found LEANORDOthat is a vector GUI based graphics editor that exports HTML canvas

我刚刚发现LEANORDO这是一个基于矢量 GUI 的图形编辑器,可以导出 HTML 画布

采纳答案by Spudley

If you're okay with SVG rather than Canvas, then the clear winner is Raphael.

如果您对 SVG 而不是 Canvas 满意,那么明显的赢家是Raphael

Raphael is great, not only because it makes a lot of graphical tasks ridiculously simple, but also because it even works in older versions of IE (where it uses VML instead of SVG).

Raphael 很棒,不仅因为它使许多图形任务变得非常简单,还因为它甚至可以在旧版本的 IE 中工作(它使用 VML 而不是 SVG)。

If you really want to use Canvas, then it's trickier. There's a lot of projects out there, but none has really shone out yet as being the best.

如果你真的想使用Canvas,那就更棘手了。那里有很多项目,但没有一个真正脱颖而出,成为最好的。

I would think that things will settle down fairly quickly, say in the next six months or so, and we'll get to a position where there's a few really good libraries that can be recommended. But for the time being, your best bet may be to simply try out a few and see which ones work best for you.

我认为事情会很快稳定下来,比如在接下来的六个月左右的时间里,我们将达到一个可以推荐一些非常好的库的位置。但就目前而言,您最好的选择可能是简单地尝试一些,看看哪些最适合您。

回答by jing3142

There is a new editor available called canvasdraw written using Javascript and Canvas. It provides 'what you draw is what you see' capabilities. Once draw you can export the drawing as an HTML page with the canvas code. features for saving drawings are included.

有一个名为 canvasdraw 的新编辑器可用,使用 Javascript 和 Canvas 编写。它提供了“所画即所见”的功能。绘制完成后,您可以使用画布代码将绘图导出为 HTML 页面。包括保存图纸的功能。

help pages https://sites.google.com/site/canvasdraw/

帮助页面 https://sites.google.com/site/canvasdraw/

drawing site http://canvas-draw.appspot.com/

绘图网站 http://canvas-draw.appspot.com/