-
-
Couldn't load subscription status.
- Fork 3.6k
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- p5.strands
- WebGL
- DevOps, Build process, Unit testing
- Internationalization (i18n)
- Friendly Errors
- Other (specify if possible)
p5.js version
2.0.5
Web browser and version
141.0.7390.108 (Official Build) (64-bit) (cohort: Stable)
Operating system
Windows
Steps to reproduce this
Snippet:
function setup() {
let v = createVector(5, 5, 5, 5);
let w = createVector(2, 2, 2, 2);
v.rem(w);
// Expected: [1, 1, 1, 1]
// Actual: [1, 1, 1, 5]
console.log(v.toString());
}Here's a live version in the web editor.
Metadata
Metadata
Assignees
Type
Projects
Status
No status