Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.05 KB

MayoGL

A light weight web 2D graphics library

MayoGL (Mayonnaise Graphics Library) 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

//In your js code
import { MayoGL } from 'https://unpkg.com/mayo-gl@0.2.1/dist/MayoGL.es.js'

In npm

npm i mayo-gl

and import using

//in your node js code
var { MayoGL } = require("mayo-gl")

Usage

Documentation found here

License

This project is under MIT License