UNPKG

mayo-gl

Version:

A light weight web 2D graphics library

33 lines (27 loc) 1.11 kB
<p align="center"> <img src="./mayogl.png" width="30%"> </p> <h1 align="center">MayoGL</h1> <h3 align="center">A <i>light weight</i> <b>web</b> <u>2D graphics library</u></h3> MayoGL (**Mayo**nnaise **G**raphics **L**ibrary) is a light weight graphics library at only *720 bytes*(es module, non minified, non gzipped)! Based on the simple princple of being as bare bones as posible the intentions of this grphics libray is not make grphics directly with it (though possible) but to wrap it in a graphics engine that abstracts the api. Here you get a reference to the display and a few drawing and helper functions and thats it. ## Instalation ### Import in browser ```js //In your js code import { MayoGL } from 'https://unpkg.com/mayo-gl@0.2.1/dist/MayoGL.es.js' ``` ### In npm ```shell npm i mayo-gl ``` and import using ```js //in your node js code var { MayoGL } = require("mayo-gl") ``` ## Usage Documentation found [here](https://imagineee.gitbook.io/mayo-gl/) ## License This project is under [MIT License](https://github.com/imagineeeinc/MayoGL/blob/main/LICENSE)