g.js icon indicating copy to clipboard operation
g.js copied to clipboard

Graphic objects JS library.

Results 11 g.js issues
Sort by recently updated
recently updated
newest added

When in a web worker, g.js fails to detect PathKit because it only checks in the `window` object, which is not available in web workers. This PR makes it also...

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...

dependencies

Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.2. Changelog Sourced from async's changelog. v3.2.2 Fix potential prototype pollution exploit v3.2.1 Use queueMicrotask if available to the environment (#1761) Minor perf improvement in...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cached-path-relative&package-manager=npm_and_yarn&previous-version=1.0.2&new-version=1.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...

dependencies

Currently all transformation nodes in NBL (align, translate) call transformShape, which modifies all points. It is _much_ more efficient to store a transformation matrix and to modify the matrix than...

hi, nice library, wondering if it's possible to do hit detection on a shape, ie: to know which shape the mouse is over? thanks

Path simplification would be nice to have incorporated in here. I am currently using the implementation: http://mourner.github.io/simplify-js/