Skip to content

Pen lines appear dashed in small stage mode #565

Closed
@adroitwhiz

Description

@adroitwhiz

Expected Behavior

Pen lines should never appear "dashed" or broken-up.

Actual Behavior

In small-stage mode and "smallish-stage mode" (which occurs when the browser window is too small to fit a normal-sized stage), pen lines appear dashed and especially jagged, and some segments go missing:
image
image

This is a consequence of the nearest-neighbor texture filtering applied to the PenSkin, which downscales textures by simply removing some rows and columns of pixels, instead of blending them with neighboring pixels as linear texture filtering does.

Steps to Reproduce

  1. Enter small-stage mode (or enter "smallish-stage mode" by resizing your browser window until the stage shrinks slightly)
  2. Draw some pen lines at pen size 1
  3. Observe the lines' appearance

Operating System and Browser

All

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions