Skip to content
LegraJS lets you draw using LEGO like brick shapes
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src . Nov 17, 2019
.gitignore . Nov 8, 2019
.npmignore updated package.json to point to the correct files Nov 8, 2019
LICENSE . Nov 8, 2019
README.md . Nov 17, 2019
package-lock.json bump Nov 16, 2019
package.json . Nov 17, 2019
rollup.config.js build Nov 8, 2019
tsconfig.json dummy test code Nov 6, 2019
tslint.json

README.md

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

You can’t perform that action at this time.