download p5 code example
Example 1: p5.js script tag
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
Example 2: p5 cdn
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
Example 3: offline p5.js html
<script src="../p5.min.js"></script>