[p5.js 2.0]: reference errors: textToContours() and textToModel()

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

No response

Web browser and version

No response

Operating system

No response

Steps to reproduce this

I'm finally finishing up a video that I recorded months ago about some of the new typography features in p5.js 2.0. I found two errors on the reference for p5.js 2.0.

textToContours() page: https://beta.p5js.org/reference/p5.font/texttocontours/

Here, the method is referred to as textToPoints() where it should read:

The fourth parameter, options, is also optional. font.textToContours() expects an object with the following properties:

textToModel() page: https://beta.p5js.org/reference/p5.font/texttomodel/

The [options] property is specified under "Syntax" but the options extrude and sampleFactor are not listed on the page anywhere that I can see (though they are used in the examples).