Files
  • index.html
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<title>Tree Machine</title>
</head>

<!-- Import p5 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js"></script>

<script>

function setup() {
  // Start off by creating a canvas to draw on
  createCanvas(400, 400);
}

function draw() {
  // Draw a black background
	background(0);
}

</script>
</html>
result
console