meltingice/CamanJS — Issue #16: Modifying a pre-existing canvas
Author: earthiverse
Created: 2011-11-20 06:51:46+00:00
State: open

```
//1 of 2
Caman('../images/banner.png', '#separate', function () {
this.colorize(25, 180, 200, 40);
this.render();
});
//2 of 2
Caman('#separate', function() {
this.invert();
this.render();
});
//1 of 1
Caman('../images/banner.png', '#all', function () {
this.colorize(25, 180, 200, 40);
this.invert();
this.render();
});
```
see: http://earthiverse.ath.cx/tests/camanjs.html

The separate one won't complete the 2nd part `Caman('#separate', function() {...` when I am expecting it to.

Under 'Loading onto a Canvas without an Image' on http://camanjs.com/docs, I think I followed the right procedure for this.

I would like to modify a pre-existing canvas on a different page, so this would be useful to me.