Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imagineeeinc/mayogl

light weight web 2D graphics library
https://github.com/imagineeeinc/mayogl

Last synced: about 9 hours ago
JSON representation

light weight web 2D graphics library

Awesome Lists containing this project

README

        




MayoGL


A light weight web 2D graphics library

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/[email protected]/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)