Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 405 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 405 Bytes

Camanjs Mirror plugin

Plugin for http://camanjs.com/ to render mirror effect.

Include the js file and call it like other Caman plugins

Caman("#canvas-id", "path/to/image.jpg", function () {
  // manipulate image here set vertical to true will do a vertical mirroring otherwise it will be horizontal
  var vertical = false;
  this.mirror(5).render(vertical);
});