P5JS Editor

The following video presents how to import a Javascript library to your P5JS project.

OpenProcessing Editor

If you are using openProcessing editor. Watch the following video.