Skip to content

Latest commit

 

History

History

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Overview

MeshJS is a graphics system provides low-level api to browsers or other platforms.

It based on canvas environment and can use both WebGL or 2D renderering contexts to draw shapes and objects.

There are three concepts.

  • Figure2D represents a graph with shape.
  • Mesh2D get contours form a figure2D and triangulate it's contours to triangular meshes.
  • Renderer create a drawing context and draw meshData to canvas.


Classes