processing website example

Example: how to get processing into your website

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
		<head>
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<title>My Processing Page</title>
			<script type="text/javascript" src="processing.js"></script>
		</head>
		<body>
			<canvas id="mysketch" data-processing-sources="mysketch.pde"/></canvas>
		</body>
	</html>

Tags:

Misc Example