canvas-hd

1.0.1 • Public • Published

High Quality Canvas Rendering

This is a small library which comes with its own wrapper for creating a 2D rendering context that will draw anything on it in high definition. It is based on this great article. Unlike most other APIs, it won't influcence customly applied transformations.

const makeHD = require('canvas-hd')
 
const canvas = document.createElement('canvas')
const ctxt1 = makeHD(canvas)
 
// if you ever lose the context
const ctxt2 = makeHD(canvas)

Related

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    5
  • 1.0.0
    1

Package Sidebar

Install

npm i canvas-hd

Weekly Downloads

4

Version

1.0.1

License

MIT

Last publish

Collaborators

  • samvv