Example Processing script
by Evan Raskob
HTML
<canvas style="image-rendering: -moz-crisp-edges ! important;" height="300" width="300" tabindex="0" id="sketch"></canvas>
JavaScript
var sketch = document.
// this code was autogenerated from PJS
(function($p) {
function setup() {
}
$p.setup = setup;
function draw() {
$p.background(128);
$p.fill(255);
$p.stroke(80);
$p.ellipse($p.mouseX, $p.mouseY, 20, 20);
}
$p.draw = draw;
})