Skip to content

timlg07/Canvas.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Canvas.js

Canvas Manager for JavaScript

The canvas-class provides:

  • Updating all nodes when the browser gets repainted (normally ~60fps, the current framerate gets calculated every frame)
  • Drawing all nodes if necessary (the nodes with lowest z-index get drawn first)
  • Handling clicks on the canvas individually for each node
  • Some other functions like printing wrapped text and vector-calculations

version 1.2 (compatible with all previous published versions)