Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (20 sloc) 446 Bytes
<!DOCTYPE html>
<title>Full Screen Sketch with screenWidth and screenHeight</title>
<script src="../../processing.js"></script>
body { margin: 0; padding 0; }
<script type="application/processing" data-processing-target="canvas">
void setup() {
size(screenWidth, screenHeight);
void draw() {
line(0, 0, screenWidth, screenHeight);
<canvas id="canvas"></canvas>
Something went wrong with that request. Please try again.