legra
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

legra logo

LEGRA

Legra (Lego® brick Graphics) is a small (3.4KB gzipped) JavaScript library that lets you draw using LEGO® like brick shapes on an HTML <canvas> element. This library defines basic graphics primitives like lines, rectangles, polygons, ellipses, bézier curves, etc. All shapes are drawn either outlined or filled in.

For documentation and more: https://legrajs.com

License

LEGO® is a trademark of The LEGO Group.

LegraJS is available to everyone under the MIT license © Preet Shihn

Package Sidebar

Install

npm i legra

Homepage

legrajs.com

Weekly Downloads

49

Version

0.3.0

License

MIT

Unpacked Size

62.2 kB

Total Files

17

Last publish

Collaborators

  • shihn