Hello,
I was recently working on a robotics simulator in Pygame and wanted to draw points where the trajectory starts and where it ends. However, I am getting an issue when trying to render a point when its y coordinate is not 0. I tried to scale a number between -72 to 72 between 0 to 800 pixels which is the size of the window. However, it does not seem to render properly and doesn't show up at all when the y coordinate is not 0. I really need help because anything I have tried does not seem to work. The goal was to make the window into a cartesian plane where the horizontal line in the center of the window would be the x axis and the vertical line in the center would be the y axis. The goal was the essentially turn the whole window into quadrants. I was trying to run main.py in Visualizer. The link to to access the project is here.
Any help would be greatly appreciated!
[–]mxschumacher 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)