p5js online editor code example
Example 1: p5 js cdn
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
Example 2: offline p5.js html
<script src="../p5.min.js"></script>
Example 3: p5 js editor
function setup() { createCanvas(400, 400);}function draw() { background(220);}