Simple, light-weight, Canvas library for 2D rendering

Features

Install

npm install we-renderCopy the code

Examples

See examples: npm run static

Scripts

Usefull Scripts, see:

API reference

Classes

WeCanvas

WeCanvas: Easy canvas api for using, support useing chain

  • Directly use CanvasRenderingContext2Dmethods
  • Property of CanvasRenderingContext2D here is method
  • Won’t really drawing Canvas until run draw()
WeStage

WeStage: Canvas manager for WeCanvas