Skip to content

Create smoother movement with interpolation #9

@svader0

Description

@svader0

Right now, when you drag the mouse quickly, the placement of the elements looks sort of stuttered. To fix this, I started implementing a higher-order function called "traverse_line" that applies a given function to every pixel across a line (from one 2D point to another). Then, between every frame, we would draw a line of pixels from the previous to current mouse position. This would have other helpful applications down the line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficultHarder to implement, may take several days or people.optionalNot super important

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions