### 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 - [x] Friendly errors - [ ] Other (specify if possible) ### p5.js version 2.0.4 ### Web browser and version Chrome ### Operating system Windows ### Steps to reproduce this ### Steps: 1. use noise(). 2. p5.Editor case: An odd TypeError occurs 3. OpenProcessing case: An odd FriendlyError occurs ### Snippet: ```js function setup() { createCanvas(400, 400); console.log(noise(3)); console.log(noise(3,4)); console.log(noise(3,4,5)); } ``` ## version 2.0.3 ### p5.Editor <img width="876" height="616" alt="Image" src="https://github.com/user-attachments/assets/a72bda7c-a1d7-4e94-af5e-ec8dc4869612" /> ### OpenProcessing <img width="723" height="543" alt="Image" src="https://github.com/user-attachments/assets/ea1860ac-8025-48a0-a62b-1f88b8e62c0b" /> ## version 2.0.4 ### p5.Editor <img width="747" height="661" alt="Image" src="https://github.com/user-attachments/assets/9173ec42-8e22-4bc3-9339-c16bc201ba0f" /> ### OpenProcessing <img width="821" height="591" alt="Image" src="https://github.com/user-attachments/assets/b1c27cac-ee34-4961-ab36-74d552a0179b" /> ## broken code with p5.js 2.0.4 ```js function setup() { createCanvas(600, 600); pixelDensity(1); } function draw() { background(0); translate(300, 300); let r=4000; noStroke(); fill(255); const t = millis()/1000; while(r--){ const x = (t*120 + fract(noise(r)*2)*500)%500; translate(x,0); rect(-1,-1,2,2); translate(-x,0); rotate(TAU/4000); } } ``` <img width="1181" height="802" alt="Image" src="https://github.com/user-attachments/assets/fb5dcb17-e1c7-4881-90e1-aad404b2c8e4" /> The noise function is dead.