Loosing quality using createGraphics

Hi, first of all I wanna clarify that im a noob.

Im trying to make a program like notability using p5.js

Ive been using the p5 web editor but know im using vs code (don’t think is relevant)

the problem is that, I don’t know why, but im loosing quality when using another canvas (the one I make with createGraphics() )

Is this normal?? im using a 2018 MacBook Pro btw, maybe is because of Retina display?

the one with the lines on the background is the sketch with another canvas

the one without the lines is the sketch without using another canvas

Were you able to resolve this issue?

It is much easier to get feedback if you share a simple code example.