Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(contributing): add manim.typing guide #3669

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

JasonGrace2282
Copy link
Contributor

@JasonGrace2282 JasonGrace2282 commented Apr 1, 2024

Motivation

It's important to document the intention behind each TypeAlias present in the manim.typing module, as well as explain when to use each. For example, InternalPoint3D vs Vector3D have very different connotations, but the same signature.

From the guide:

In order to provide the best user experience, it's important that typehints are chosen correctly. With the large variety of types provided by Manim, choosing which one to use can be difficult. This guide aims to aid you in the process of choosing the right type for the scenario.

Link to Changed Documentation

https://manimce--3669.org.readthedocs.build/en/3669/contributing/docs/types.html

Progress

  • Coordinates
  • Colors
  • Béziers
  • Functions
  • Images

CC @Viicos

@JasonGrace2282 JasonGrace2282 added the documentation Improvements or additions to documentation label Apr 1, 2024
@JasonGrace2282 JasonGrace2282 added this to the v0.18.1 milestone Apr 1, 2024
@JasonGrace2282 JasonGrace2282 added the typehints For adding/discussing typehints label Apr 18, 2024
@behackl behackl modified the milestones: v0.18.1, v0.19.0 Apr 24, 2024
@JasonGrace2282
Copy link
Contributor Author

If anyone wants to write a quick description on the different representations of Béziers in Manim, feel free to push a commit adding it.

@JasonGrace2282 JasonGrace2282 marked this pull request as ready for review May 21, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation typehints For adding/discussing typehints
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

None yet

2 participants