I think about build a small paint program using three.js which I can lasso an area and fill in color. Is it possible?
If it’s a 2D painting tool, you don’t need three.js
at all. Just using the 2D Canvas API should be sufficient.
I confused on the performance, because I heard webgl is fast. So I think a webgl based 2d paint program is fast, right?
I think this depends on what you want to do with your painting tool. Performance is not always the most important criterion. Canvas 2D
provides a very convenient API for issuing drawing operations on a canvas. This is not the focus of three.js
.
ok, thank you , let me try canvas 2d.