Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/imagineeeinc/mayogl
- Owner: imagineeeinc
- License: mit
- Created: 2022-03-10T17:17:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-20T18:06:13.000Z (over 2 years ago)
- Last Synced: 2024-10-18T02:49:00.315Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://imagineee.web.app/projects/MayoGL
- Size: 954 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)