pencil.js
Version:
Nice modular interactive 2D drawing library.
25 lines (16 loc) • 531 B
Markdown
Whole container of your drawing.
```js
import { Scene } from "pencil.js";
const options = {
fill: "#DDD"
};
const scene = new Scene(document.body, options);
scene.startLoop();
```
Inherit from [OffscreenCanvasOptions](../offscreen-canvas/readme.md
| Name | Type | Default | Comment |
|--------|----------|-----------------------------|-----------------|
| cursor | `String` | `Component.cursors.default` | Cursor on hover |