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

inconsistent parameter handling

Open rrshaban opened this issue 9 months ago • 2 comments

Most appropriate sub-area of p5.js?

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

p5.js version

web version

Web browser and version

124.0

Operating system

OSX

Steps to reproduce this

documentation in general would highly benefit from traditional parameter notation; e.g. "Stroke(color) Stroke(color, alpha) Stroke(r, g, b) Stroke(r, g, b, alpha) Stroke(rgb) Stroke(rgb, alpha) < this one I tried and it broke "

is this a javascript thing?

rrshaban avatar May 29 '24 23:05 rrshaban