Pixel Density | Sololearn: Learn to code for FREE!

+3

Pixel Density

I have a phone with a high pixel density so when i view canvas programs most of the time they look terrible. So i was wondering if people who don't know or dont have a high pixel density display could add it to their code. Here in this tutorial I show you what is. https://code.sololearn.com/WKO0CNJ6ny3L/?ref=app If you could add this to your code, it would be great thank you. PS: You can also check if you have high pixel density display in my code.

5/2/2018 6:29:10 AM

Ask Plays

1 Answer

New Answer

+6

I'd be interested to learn how this code does on your high-density device: https://code.sololearn.com/WETCkRaPNVhy/?ref=app Also this, which uses half-pixel steps to show good/bad alignments (a technique to control aliasing): https://code.sololearn.com/WQWeX3Q2X4lk/?ref=app I don't have a comparison; pixels are just 1:1 for me.