Drawing curved lines on the Pico Display Pack 2.8"

Hello to everyone!

I need help drawing curved lines with the provided libraries from Pimoroni for the Pico Display and using MIcroPython. The goal of my project is to make a “car cluster”. Obviously I cannot make full on cluster since it will be very difficult, however it has to be something that resembles it.

The cluster I have chosen to reproduce is going to be something similar to the picture I have provided below:
example

The three things it will have for sure is the two “progress bars” (speedometer and tackometer), but also a digit represented speed.

I really want to achive the shape as in the example, however I have been bumping my head to find a way to draw it but with no luck. Tried looking for alternative graphic libraries but most seem too advanced for my knowedge and also not suitable for MicroPython projects.

Any help with the topic, either playing around with the Pimoroni library or even using alternative graphic library, will be welcomed!

…for me this looks similar to the hockey stick graph…

Play with the value slider in this example to find your appropriate values and then code this down in python.
Of course, the above curve should be then placed on top in reverse and different colors to be used…
You can find another approach and a discussion about the hokey stick formula here

If you then let the values run through the range, the levels would go up and down…
I would also run along the graph by horizontal lines rather than dots, so you can fill the graph like water in a pipe…

I guess this would look pretty nice…