Skip to content
This repository was archived by the owner on Jan 17, 2026. It is now read-only.

Area beneath the curve#14

Open
JacquesDuflos wants to merge 26 commits into
LD2Studio:mainfrom
JacquesDuflos:area-beneath-the-curve
Open

Area beneath the curve#14
JacquesDuflos wants to merge 26 commits into
LD2Studio:mainfrom
JacquesDuflos:area-beneath-the-curve

Conversation

@JacquesDuflos

Copy link
Copy Markdown

This pull request proposes to add the feature to draw a polygon under the curves representing the integral of the curve along the axis. It also calculates the value of the area and shows it in the graph.
here is a show off of the feature :
https://www.reddit.com/r/godot/comments/1jl9x9r/graph2d_plugin_leveled_up/

first commit of the fork, explaining the reason of the fork in the README.md file
programmed and tested the feature for x axis. For now, the y axis is off. have to check why
…egend on the graph, and adding a background to the legend
the function graph2D.add_plot_item now has a 5th boolean parameter to activate the drawing of the area beneath the curve
not that I'm a grammar na*i but some people might smile...
Now the redraw methode generate a list of poligons for each sigh switch
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant