Skip to content

thin lines #7

@freeman-lab

Description

@freeman-lab

A minor rendering issue seems to appear on mobile and, occasionally, on desktop while resizing. Here's an example of how it looks.

IMG_1687

I believe what's happening is that the SVG layer (containing the spherical global mask) rendered on top of the WebGL layer (containing the raster) is one (or less than one) pixel off on the left and right edges, so the mask fails to completely cover the raster layer, and as a result, the edges peek out.

One strategy to fix would be to prevent the raster layer from rendering anything in those locations in the first place, i.e. build into the inverse projection shader code to not render anything outside the globe, but I'm not 100% how easy that is to do in general. The other option is to futz with the sizing to somehow expand or pad the SVG layer so as to "cover up" the edges. But that feels hacky, and might risk creating an issue with the spatial alignment of the two layers (which is otherwise perfect).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions