Same code, differents outputs (using p5.editor)

Hello! i want to ask why i get two differents outputs using the same code on my browser, and p5.editor.

Coordinates seems to be scale in some way
this is the code:

browser:


p5.editor