manim icon indicating copy to clipboard operation
manim copied to clipboard

Add documentation about unit conversion feature

Open naveen521kk opened this issue 3 years ago • 2 comments

Enhancement proposal

This feature was implemented in https://github.com/ManimCommunity/manim/pull/742, but there isn't any documentation about this.

# 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

naveen521kk avatar Jan 29 '22 06:01 naveen521kk

Hi! I would be prepared to write some documentation and examples for this if that's okay?

tameTNT avatar Mar 07 '22 18:03 tameTNT

Go ahead!

ad-chaos avatar Mar 07 '22 18:03 ad-chaos