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.** Currently the SVG interpreter relies on replicating SVG strings into elements and parsing them iteratively in a big for loop....
**Describe the bug** `Two.shape` objects are not inserted correctly to the desired group when done from a mouse handling function. Instead, they are inserted as an immediate child of the...
**Several questions to understand the process of initializing/animating objects in twojs** First of all thank you for creating this awesome library! I'm studying the examples to make twojs work in...
Hi! Many of my projects require fast calculations or a lot of calculations on a loop, so I was wondering: Have you considered on implementing the use of WASM for...
**Describe your question** I want implement somethine like this [enso](https://enso.org/). using DOM may be another plan, but I'd like have a try using two.js or something like this.
**Describe the bug** I used the built-in SVG interpreter to import my graphics, including linear-gradient strokes. All works well, however, the opacity property available for `Stop` is being totally ignored...
**Describe the solution you'd like** Two.js needs a `test.ts` file that attempts to use all the features available in Two.js in the ways they are intended to use. This is...
**TwoJS Scene and Groups share the same ID** I noticed that TwoJS scene (which is a `Group`) and the first user-created group share the same ID: `two-0`. Here is the...
**Describe the bug** `zui.addLimits(0.2, 2, 'scale')` works well, but `zui.addLimits(0, 1000, 'x')` and `zui.addLimits(0, 1000, 'y')` not working as what I expected. **To Reproduce** ``` var two = new Two({...
**Is your feature request related to a problem? Please describe.** Boolean operations are a common, but computationally expensive and mathematically complicated operations in vector drawing suites. **Describe the solution you'd...