@mondrian/mondrian
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

LICENSE libera manifesto

@mondrian/mondrian

This is a out-of-box drawing board library based on PIXI.js. (Piet Mondrian, one of the greatest abstract style artists of the 20th century.)

Features

  • Full abilities of drawing board likes:
    • line draw
    • shape draw
    • viewport support
    • history
  • Multi client collaboration.
  • High performance.
  • Easy to use, easy to extends.
  • Extendable.

Demos

Setup

NPM Install

npm install --save @mondrian/mondrian

There is no default export. The way to import Mondrian is:

import { Mondrian } from "@mondrian/mondrian";

Learn more about Mondrian's APIs, check the api docs out.

CDN Install

<script src="https://unpkg.com/@mondrian/mondrian@latest/dist/index.umd.js"></script>
<script>
  const mondrian = new Mondrian.Mondrian({
    container: document.getElementById("draw-container"),
    viewport: true,
    background: true,
    debug: false,
  });
</script>

APIs

More about this libary

Readme

Keywords

Package Sidebar

Install

npm i @mondrian/mondrian

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

2.51 MB

Total Files

128

Last publish

Collaborators

  • naiteluo