We don’t need to download anything in order to use JS libraries! 
We just need an “.html” template file like this 1: 
<script defer src=https://cdn.JsDelivr.net/npm/p5></script>
<script defer src=sketch.js></script>
And btW, here’s some sketch that also relies on angleMode(DEGREES)
: 
More tips to run p5js sketches locally: 