Skip to content

Gesso.js - A simple wrapper for html canvas streamlining.

License

Notifications You must be signed in to change notification settings

rmunson/gesso-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gesso.js

Canvas and canvas context wrapper. Supplies a chainable api of canvas methods, and command grouping.

Basic Usage

	var gtx=gesso(document.createElement('canvas'));

	gtx.beginPath()
		.miterLimit(10)
		.line({
			cap: "round",
			join: "miter"
		})
		.shadowColor("transparent")
		.moveTo(0, 0)
		.line({
			to: [20, 20],
			width: 40
		});

About

Gesso.js - A simple wrapper for html canvas streamlining.

Resources

License

Stars

Watchers

Forks

Packages

No packages published