Open astrofrog opened 4 years ago
If I run the following:
wwtlib.WWTControl.singleton.gotoRADecZoom(10, 20, 90) circle = wwt.createCircle() circle.set_id('banana') circle.set_skyRelative(true) circle.setCenter(150, 20) circle.set_radius(1) circle.set_lineWidth(10) circle.set_lineColor('red') wwt.addAnnotation(circle)
The resulting circle's line width appears to still be 1:
This is Firefox 74 on Ubuntu 20, and the output of glxinfo is given below.
The API was defined when the implementation was entirely in HTML5 and line thickness was an option. In Web GL we have to multiply the geometry to create illusion of thickness. This was not implemented yet.
If I run the following:
The resulting circle's line width appears to still be 1:
This is Firefox 74 on Ubuntu 20, and the output of glxinfo is given below.