Skip to content

Instantly share code, notes, and snippets.

@lmccart
lmccart / index.html
Last active November 16, 2017 15:53
drag and drop with p5.js!
<html>
<head>
<script type="text/javascript" src="p5.js"></script>
<script type="text/javascript" src="p5.dom.js"></script>
<script type="text/javascript">
function setup() {
var c = createCanvas(400, 400);
devicePixelScaling(false);
background(0);
textSize(40);