two.js
                                
                                
                                
                                    two.js copied to clipboard
                            
                            
                            
                        A renderer agnostic two-dimensional drawing api for the web.
**Is your feature request related to a problem? Please describe.** The documentation for a vector: https://two.js.org/docs/vector/#add-2 has many overloaded functions. None of these have type descriptions so all the arguments...
This is probably gonna be a pretty crappy bug report, but I'm not really sure what to report. In our application SVG and Canvas have always worked. WebGL has never...
**Describe the bug** When using TwoJS with TypeScript there may be a type declaration issue with the way that dashes on path objects are typed. In `two.js/types.d.ts` around line 2890...
**Is your feature request related to a problem? Please describe.** Add different blurring effects (glow, drop shadow, etc.) **Describe the solution you'd like** Based on this: https://rive.app/blog/how-rive-reinvented-feathering-for-the-vectorian-era
Love the library, appreciate all the work on it! We have tried to update to v0.8.17, and hit a bunch of type-checker errors. We use TypeScript. The errors are generally...
**Describe the bug** Gradients are silently inserted as child elements of the scene graph and never removed. Additionally, gradients do not support gradient.remove() syntax. Over long periods of creation and...
I have looked at a few issues mentioning WASM as an option for solving some missing features, I also think it could be used wisely to improve performance in multiple...
**Is your feature request related to a problem? Please describe.** Improve the TypeScript Types definitions of Two.js by: 1. Moving `namespace`s -> `interface`s 2. Add fromObject, copy, clone, toObject to...
**Describe the bug** The output when displaying an SVG file with Two.js in canvas mode does not match the original file. Several issues: - Parsing of the style attribute does...