What’s Konva?
Konva
is an HTML5 Canvas JavaScript framework that extends the 2d context
by enabling canvas interactivity for desktop and mobile applications.
Konva
enables high performance animations, transitions, node nesting, layering, filtering,
caching, event handling for desktop and mobile applications, and much more.
You can draw things onto the stage, add event listeners to them, move them,
scale them, and rotate them independently from other shapes to support high performance
animations, even if your application uses thousands of shapes.
This project began as a GitHub fork of KineticJS.
Install Konva
If you are using package managers:
npm install konva |
Or just use script tag:
<script src="https://unpkg.com/konva@9/konva.min.js"></script> |
Or download from CDN:
Read next: Overview
Enjoying Konva? Please consider to
support the project.