Skip to content

Graph spikes render inaccurately due to missing endcap logic #10

@evb5593

Description

@evb5593

The current graphing approach plots all points from inputMin to inputMax with a fixed step size. This causes issues in functions with large jumps, especially in ones like y = 1 / sin(x), where segments can start/end far from visible bounds (-inf -> inf). To solve this would require an adaptive sampling technique to dynamically increase resolution for regions where the graph has a large jump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions