Karma

size ( x, y )

creates a canvas element within the 'container' defined in the Karma constructor.

background ( content )

Set the background of the 'container'. 'content' could be:

Example:
		//set up the environment
		var k=$.karma( "#karma-main" );
		//creates the canvas element
		k.size( 200, 200 );
		//set the background
		k.background( "#cccccc" );