Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p5 is not defined #67

Open
AdoHaha opened this issue Jan 4, 2017 · 1 comment
Open

p5 is not defined #67

AdoHaha opened this issue Jan 4, 2017 · 1 comment

Comments

@AdoHaha
Copy link

AdoHaha commented Jan 4, 2017

Hi,
when I want to use vectors for example:
a= new p5.Vector(576, 324);
p5.Vector.add(v1, v2)
or in any other way ( other than through createVector function)
I get this error:
Uncaught ReferenceError: p5 is not defined

@alonss0
Copy link

alonss0 commented Feb 19, 2019

I don't know if it can help u at this point, but I fixed it loading the p5.js library in the head of the html doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants