CurriculumExpansion
CurriculumExpansion copied to clipboard
Learn Encapsulation by Drawing a Projectile Trajectory
I am creating a PR so I can share the prototype
how to test: execute the py file in the terminal, it will have an interactive menu
I went through the project and it looks good. I have some suggestions, they are not compulsory to implement though.
- The error handling can be improved. For example:
- The angle
-45
freezes the output. - Entering any number other that 1-4 also freezes the output.
- In the graph, points close in value seem to appear in a single line, making the trajectory look flat. Is there a way to improve this?
2. In the graph, points close in value seem to appear in a single line, making the trajectory look flat. Is there a way to improve this?
no, it is using the max precision possible to create the points, as it's rounding to the nearest character. It would need an actual graphic interface where it's possible to use pixels