html-painting

0.5.0 • Public • Published

html-painting captures a painting as different colored DIVs so that it can be played back when a web page loads:

var htmlPainting = require("html-painting")
 
htmlPainting("picasso")
htmlPainting.stroke("picasso", "red", {
  minX: 48,
  maxX: 72,
  minY: 190,
  maxY: 288})
 
htmlPainting.playBackInto("picasso", "body")

Readme

Keywords

none

Package Sidebar

Install

npm i html-painting

Weekly Downloads

2

Version

0.5.0

License

none

Unpacked Size

4.69 kB

Total Files

4

Last publish

Collaborators

  • erikpukinskis