Pointsmaterial adaptive

Can pointsmaterial adapt to the width and height of the screen. When the width and height of the screen change, the pointsMaterial also needs to adapt. Is there any algorithm we can look at