Skip to content

Instantly share code, notes, and snippets.

@shouvik
Created November 12, 2010 10:14
Show Gist options
  • Save shouvik/673945 to your computer and use it in GitHub Desktop.
Save shouvik/673945 to your computer and use it in GitHub Desktop.
example usage of morth function
var item = CANVAS.layers.get('myLayer').get(coin);
new Cmorph(item, {
duration: 5000,
transition: 'back:in:out',
}).morph({
scale : -1
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment