[p5.js 2.0 Bug Report]: Documentation for shader modify() in instance mode doesn't run

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

2.2

Web browser and version

All

Operating system

All

Steps to reproduce this

Go to https://beta.p5js.org/reference/p5.shader/modify/ and scroll down to the instance mode example. It doesn't fully run. I think it is still using uniformFloat as a global function instead of a property access on the instance.