Skip to content

Instantly share code, notes, and snippets.

@jacobjoaquin
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobjoaquin/77a841be5e912fbecba1 to your computer and use it in GitHub Desktop.
Save jacobjoaquin/77a841be5e912fbecba1 to your computer and use it in GitHub Desktop.
processing.js test
<html>
<head>
<title>Processing.js Test</title>
<head>
<script src="processing.min.js"></script>
<script type="text/processing" data-processing-target="processing-canvas">
size(400, 400);
void draw() {
line(random(width), random(height), random(width), random(height));
}
</script>
</head>
<body>
Download Processing.js:<br>
http://processingjs.org/download/<br>
<canvas id="processing-canvas"></canvas>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment