I need to be able to return a value for screen resolution so that I can set my application to look the same on different systems.
Using VPython I create multiple scenes and at times need them to have half the width of the screen each. Therefore I need to return a value for resolution and can then set x or y values accordingly. i.e.
bob = screen resolution width
sally = screen resolution height
scene2 = display(x=(bob/2) , y=0, width=(bob/2) , height=sally , newzoom=1)
Thank you for any help
Start Free Trial