p5.js icon indicating copy to clipboard operation
p5.js copied to clipboard

Typo in p5.Shader() documentation code snippet

Open VSvensli opened this issue 1 year ago • 3 comments

Most appropriate sub-area of p5.js?

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

p5.js version

v1.11.2

Web browser and version

No response

Operating system

No response

Steps to reproduce this

Steps:

  1. Typo on line /src/webgl/p5.Shader.js_L49

There is a misplaced space.

Change // Add the rest ofy our shader code here!

To // Add the rest of your shader code here!

VSvensli avatar Jan 04 '25 11:01 VSvensli

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!

welcome[bot] avatar Jan 04 '25 11:01 welcome[bot]

Hi, I've opened a pull request (#7458) to address this issue by fixing the typo in the p5.Shader.js documentation comment. Please let me know if any additional changes are needed. Thank you!

ImRAJAS-SAMSE avatar Jan 06 '25 08:01 ImRAJAS-SAMSE

hey i have also opened a pr #7458

DhruvWebDev avatar Jan 09 '25 11:01 DhruvWebDev