Html
File 1.html
<html>
<head>
<script src="https://dir.by/example_lib/p5_js/p5.min.js"></script>
</head>
<script>
// function setup() Required. It is used by the library p5.js
function setup() {
// create canvas
createCanvas(320, 280); // function is declared in p5.js
}
// function draw() Required. It is used by the library p5.js
function draw() {
// fill canvas by gray color
background("#EEEEEE"); // function is declared in p5.js
// draw ellipse (function from p5.js)
ellipse(50, 50, 80, 80); // function is declared in p5.js
}
</script>
<body>
</body>
</html>