Skip to content

Scale radar positions to ellipse #50

Description

@ChrisLane

Positions on the radar screen are currently slightly wrong.

Currently, the radar positions just scale to the shrinkage of a circle in the Y direction. Coordinates in a circle that is transformed into an ellipse should also move slightly in the X direction. Apparently, this can be done by using a 2x2 matrix.

Info on how to transform the coordinates here: https://math.stackexchange.com/questions/2638515/how-to-convert-points-in-a-circle-to-points-in-an-ellipse

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions