Skip to content

[p5.js 2.0 Beta Bug Report]: createVector(x, y, z) shows FES message #7741

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

Open
1 of 17 tasks
davepagurek opened this issue Apr 15, 2025 · 0 comments
Open
1 of 17 tasks

Comments

@davepagurek
Copy link
Contributor

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

Latest dev-2.0

Web browser and version

Firefox

Operating system

MacOS

Steps to reproduce this

Steps:

Calling createVector(x, y, z) currently shows this message:

p5.js says: Expected at most 1 argument, but received more in createVector(). For more information, see https://p5js.org/reference/p5/createVector. 

Looks like maybe the doc comments are out of date on createVector?

Snippet:

function setup() {
  createCanvas(200, 200)
  createVector(1, 2, 3)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant