Skip to main content
  • Reference
  • Tutorials
  • Examples
  • Contribute
  • Community
  • About
  • Start Coding
  • Donate
Reference y

y

The y component of the vector
Notice any errors or typos? Please let us know. Please feel free to edit src/math/p5.Vector.js and open a pull request!

Related References

  • createVector

    Creates a new p5.Vector object.

  • fontAscent

    Returns the loose ascent of the text based on the font's intrinsic metrics.

  • fontBounds

    Computes a generic (non-tight) bounding box for a block of text.

  • fontDescent

    Returns the loose descent of the text based on the font's intrinsic metrics.

p5.js
Resources
  • Reference
  • Tutorials
  • Examples
  • Contribute
  • Community
  • About
  • Start Coding
  • Donate
Information
  • Download
  • Contact
  • Copyright
  • Privacy Policy
  • Terms of Use
Socials
  • GitHub ↗
  • Instagram ↗
  • X ↗
  • YouTube ↗
  • Discord ↗
  • Forum ↗

Looking for the current stable 1.x p5.js reference? Find it here!