CurriculumExpansion icon indicating copy to clipboard operation
CurriculumExpansion copied to clipboard

Learn Encapsulation by Drawing a Projectile Trajectory

Open ilenia-magoni opened this issue 1 year ago • 2 comments

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

ilenia-magoni avatar Feb 09 '24 16:02 ilenia-magoni

I went through the project and it looks good. I have some suggestions, they are not compulsory to implement though.

  1. 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.
  1. 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?

zairahira avatar Feb 17 '24 15:02 zairahira

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

ilenia-magoni avatar Feb 17 '24 17:02 ilenia-magoni