Hi,
I have a problem on HiDPI: when I resize the canvas programmatically (doing it on window.onresize for the canvas to take the whole available space in a container) the graphic created with paper.js get's blurry. I checked the main page of paper.js and noticed that the problem doesn't occur there. Is it because of the resize='true' canvas attribute? How can I achieve something like this in pure JS, can't use PaperScript in the project.
One thing that came to my mind is setting css canvas size to double the size of the canvas, but then I need to check if the device is HiDPI or not, and if the factor is not 2x I will have additional problems.
Cheers,
Daniel