Description
Most appropriate sections of the p5.js website?
Tutorials
What is your operating system?
Windows
Web browser and version
chrome 130.0.6723.117 (Official Build) (64-bit) (cohort: Stable)
Actual Behavior
missing a simple number 4
here in red rectangle :
but it is visible in the js code here :
so maybe a parsing issue ?
Expected Behavior
If only one value is provided, as in v.mult(2), then all the components will be multiplied by 2. If a value isn't provided for a component, it won't change. For example, v.mult(4, 5) multiplies v.x by 4, v.y by 5, and v.z by 1. Calling mult() with no arguments, as in v.mult(), has no effect.
Steps to reproduce
see page https://p5js.org/reference/p5.Vector/mult/
If only one value is provided, as in v.mult(2), then all the components will be multiplied by 2. If a value isn't provided for a component, it won't change. For example, v.mult(4, 5) multiplies v.x by, v.y by 5, and v.z by 1. Calling mult() with no arguments, as in v.mult(), has no effect.
Would you like to work on the issue?
I wouldn't know how to fix it ..