Malyan

NPM package NPM downloads Build Status Coverage Status MIT License

JavaScript Canvas 2D library

Malyan is a lightweight canvas 2D library that makes it easy to work with HTML5 canvas element.

Benefit from interactive object model,Malyan allows you to easily create simple geometrical shapes like rectangles, circles and other polygons or more complex shapes made up of many paths in <canvas> HTML element. It also allows you to manipulate the size, position and rotation of these objects. It’s also possible to change some of the attributes of these objects such as their color, opacity, etc.

Malyan also provides an extensive event system, starting from low-level "mouse" events (click, mousedrag, mouseEnter, etc) to high-level objects ones (object:mousemove, object:mousedrag).

HomeExamplesDocumentation中文文档Help

Development

  • Dev build

You will have to clone directly from GitHub and build malyan yourself if you want to use the latest dev build.

git clone https://github.com/HarryChen0506/malyan.git
cd malyan
npm install
npm run build
  • Update docs
npm run docs

Change log

Change Log

License

MIT

results matching ""

    No results matching ""