Functions / canvas start
start([fps])
start(int fps)

start(int fps)
return: jCanvaScript canvas
Function to initialise canvas. If fps is undefined, animations will now work.
Code
<script type="text/javascript">	
	function onload_1(idCanvas)	
	{	
		var canvas=jc.canvas(idCanvas).start();
		jc.circle(100,120,50);		
		canvas.frame();
	}
</script>
<canvas id="canvas_1" width="250px" height="265px">
</canvas>
View