Open
Description
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
- Friendly errors
- Other (specify if possible)
p5.js version
v1.9.4
Web browser and version
chrome 125.0.6422.113
Operating system
Windows 11
Steps to reproduce this
Steps:
- copy my code
- paste code in the editor
- see the different language in the console rather than English (probably OS language)
Snippet:
// Paste your code here :)
let letters;
function setup() {
createCanvas(400, 400);
letters = "Panna";
}
function draw() {
background(220);
let x = width/2;
let y = height/2;
let space = 10;
letters.split("");
for(let i =0;i<letters.length;i++){
console.log(letters[i]);
text(letters[i],x+space,y,letters.x,letters.y);
}
}