Processing to p5.js sketch

Hi,

Welcome to the forum! :slight_smile:

Remember to format your code by using the </> button in the message editor on the forum.

You are right, the PVector class is in Processing Java not in p5.js, the equivalent is :

1 Like