web-dev-studio/example-p5/index-p5-example.html

37 lines
1.0 KiB
HTML
Raw Normal View History

2022-07-01 16:52:00 +02:00
<!DOCTYPE html>
<!-- document language -->
<html lang="en-US">
<head>
<!-- character encoding set -->
<meta charset="utf-8">
<title>Welcome my HTML!</title>
<!-- Metadata -->
<meta name="Name" content="My name">
<meta name="Description" content="This is a description of this page. It can be useful to write a description if you want to take SEO (search engine optimization) into account.">
<!-- here is how to link to the P5.JS main library -->
<script src="https://cdn.jsdelivr.net/npm/p5@1.4.1/lib/p5.js"></script>
<!-- here is how to link to the P5.JS sound library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.1/addons/p5.sound.js"></script>
<!-- here is how to link to the sketch -->
<script src="JS/sketch.js"></script>
</head>
<body>
<!-- Content goes here -->
<header>
<h1 id="title">Testing P5.JS library</h1>
</header>
<p>Allow the use of microphone in your browser and make some noise!!!</p>
</body>
</html>