# Same code, differents outputs (using p5.editor)

**URL:** <https://discourse.processing.org/t/same-code-differents-outputs-using-p5-editor/37257>\
**Category:** p5.js\
**Created:** [May 31, 2022, 6:38pm UTC](https://discourse.processing.org/t/same-code-differents-outputs-using-p5-editor/37257 "2022-05-31T18:38:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vjjv](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vjjv](https://discourse.processing.org/u/vjjv)\
**Post date:** [May 31, 2022, 6:38pm UTC](https://discourse.processing.org/t/same-code-differents-outputs-using-p5-editor/37257/1 "2022-05-31T18:38:53Z")

</div>

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:

> **[p5.js Web Editor](https://editor.p5js.org/juanproton/sketches/7CT67snFF)**
>
> A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

browser:

 ![Captura de Pantalla 2022-05-31 a la(s) 15.37.07](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/c/4/c467f8a401b9ed23fb154bf1f4cf0730a17b4712.jpeg)  
p5.editor  
 ![Captura de Pantalla 2022-05-31 a la(s) 15.37.32](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/7/67b69bed8e0246f7ab103d59f474021bde972da2.jpeg)
