NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
29 stars 6 forks source link

Render polynomial-valued resources #1120

Open bradNASA opened 8 months ago

bradNASA commented 8 months ago

Checked for duplicates

Yes - I've already checked

Alternatives considered

Yes - and alternatives don't suffice

Related problems

I'm frustrated when I have to wrap many polynomial resources in linear approximations so that they show up in the UI properly. This slows down simulation performance and increases the size of sim results unnecessarily.

Describe the feature request

I need or want the UI to plot polynomial resources. This can actually be difficult for polynomials of degree 5 or higher because you need to know where all of the local minima and maxima occur. But, degree 3 and maybe 4 should be doable. I think we should still try to support higher degrees if the code isn't significantly more difficult, even if computationally hard because otherwise the simulation has to do that computation. There would probably need to be some kind of progress or hour glass indicator while it is trying to generate the plot. Partial rendering during generation would be nice.