![legra logo](https://legrajs.com/images/logo.png)

# LEGRA

Legra (**Le**go® brick **Gra**phics) 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](https://www.lego.com/en-us/aboutus/lego-group/the-lego-brand/).

LegraJS is available to everyone under the [MIT license](https://github.com/pshihn/legra/blob/master/LICENSE) © [Preet Shihn](https://twitter.com/preetster)

