Basic 2D geometry drawing on render2D

Hello folks,
I am new on the forum. I am considering to start using Panda3d for one of my personal project.
However, I would like to know if it is possible to draw basic geometries (line, rectangles, etc…) to render on render2d.
Action of my game would be in 3D, but I need statistic panels with different graphs and histograms between each level.
I had a look through the doc but I did not find any info about that. Is that simply possible and easy?
Many thanks for your help :slight_smile:

Hi, welcome to the forums!

You can use the CardMaker class to generate a quad, and you can use the LineSegs class (or LineNodePath) to generate lines. Check out the API reference pages of those classes!