ManimCommunity / ManimCommunity/manim

Add documentation about unit conversion feature

Open
#2,512 2 comments 0 reactions 1 assignee View on GitHub

@tameTNT is already working on this.

Since Jun 17, 2022.

documentation enhancement good first issue
Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

## Enhancement proposal
This feature was implemented in https://github.com/ManimCommunity/manim/pull/742, but there isn't any documentation about this.
```py
# 50px -> Munit
>>> 50 * unit.Pixels
0.37037037037037035
# 90 degrees to radians
>>> 90 * unit.Degrees
1.5707963267948966
# 10 % of X-axis
>>> unit.Percent(X_AXIS) * 10
1.4222222222222223
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.