工具函数 utils¶
声明
这一部分全为鹤翔万里原创编写
文件夹 manimlib/utils
中包含了很多常用的工具函数。有些在manim内部被使用,
有些方便了用户操作。
- Bezier
- Color
- CONFIG_ops
- FILE_ops
- Images
- Iterables
- Paths
- Rate_functions
- Simple_functions
- Sounds
- Space_ops
get_norm()
quaternion_mult()
quaternion_from_angle_axis()
angle_axis_from_quaternion()
quaternion_conjugate()
rotate_vector()
thick_diagonal()
rotation_matrix_transpose_from_quaternion()
rotation_matrix_from_quaternion()
rotation_matrix_transpose()
rotation_matrix()
rotation_about_z()
z_to_vector()
angle_of_vector()
angle_between_vectors()
project_along_vector()
normalize()
normalize_along_axis()
cross()
get_unit_normal()
compass_directions()
complex_to_R3()
R3_to_complex()
complex_func_to_R3_func()
center_of_mass()
midpoint()
line_intersection()
find_intersection()
get_closest_point_on_line()
get_winding_number()
cross2d()
tri_area()
is_inside_triangle()
norm_squared()
earclip_triangulation()
- Tex_file_writing