71 Commits

Author SHA1 Message Date
725a7e3121 Enable 3d rotations 2020-06-01 16:21:18 -07:00
cfe72922ca Have rotate_vector return same type as input 2020-03-06 06:15:28 -08:00
f4776626e4 Shorten name to index_labels 2020-02-27 17:16:10 +00:00
34ae76ab7f Have restructure_list_to_exclude_certain_family_members work with the full family of to_remove 2020-02-22 13:20:59 -08:00
f4a33c5bfb Small fix 2020-02-22 13:20:37 -08:00
0b0dbcb5d8 Replace np.tan with math.tan...because why not 2020-02-21 12:01:39 -08:00
fa7f340cd3 Replace np.<trig> with math.<trig> 2020-02-21 10:57:10 -08:00
b825b36b60 Slight fix to triangulation 2020-02-20 16:50:34 -08:00
6be41fec6d Add simple function to measure runtime 2020-02-20 16:50:13 -08:00
ec017bd1ae Insignificant style edit 2020-02-20 15:51:26 -08:00
c794039b9d Replacing apply_along_axis 2020-02-19 23:43:33 -08:00
26a872be94 Replace rotation_matrix with rotation_matrix_transpose 2020-02-18 22:29:56 -08:00
54067db386 Replace np.clip with clip 2020-02-18 22:27:28 -08:00
34a1896ea8 Add custom clip function, since np.clip is evidently super slow 2020-02-18 22:27:13 -08:00
67d9762773 Use quaternions to find rotation matrix 2020-02-18 22:25:54 -08:00
9d4b16d03f Moved around where batching mobjects by shader type occurs, while also pulling out some of the shader_id helper functions 2020-02-17 12:14:40 -08:00
ba89ad7450 Forget about using remove_list_redundancies 2020-02-14 15:29:35 -08:00
c654ca4506 Remove usage of np.append 2020-02-13 12:03:54 -08:00
eb89d45937 Have get_quadratic_approximation_of_cubic default to midpoint when there is no inflection 2020-02-12 12:53:21 -08:00
5cfae1ea75 Remove unneeded import 2020-02-12 11:50:05 -08:00
c0a29c4c74 Have partial_bezier_points return list, not numpy array 2020-02-12 11:49:16 -08:00
052aa8afe2 Changed angle methods 2020-02-11 19:48:50 -08:00
f98513dfc2 Remove unneeded import 2020-02-10 14:48:07 -08:00
7ce75bdb52 Added wrapper around mapbox triangulation to make it work for polygons with holes 2020-02-10 14:47:36 -08:00
db0029c32b Fix error in get_quadratic_approximation_of_cubic 2020-02-07 09:31:06 -08:00
1a13d32452 Get rid of join_structured_arrays 2020-02-07 09:30:47 -08:00
cf2d8d47e6 Fixed get_quadratic_approximation_of_cubic to account for cubics with an inflection point between 0 and 1 2020-02-06 10:01:19 -08:00
7685fd03c6 Whoops, let an accidental deletion slip through 2020-02-06 10:00:55 -08:00
025f6d9524 Tiny stylistic change to rgb_to_hex 2020-02-05 14:44:35 -08:00
c34bb7912c Added stretch_array_to_length_with_interpolation 2020-02-05 14:44:16 -08:00
ed376e475d Added get_quadratic_approximation_of_cubic 2020-02-04 15:25:08 -08:00
24d3ba8680 Added join_structured_arrays 2020-02-04 15:24:40 -08:00
13b69a14d8 Added find_intersection 2020-02-04 15:24:16 -08:00
edd447527d Added small todo stub 2020-02-03 09:11:51 -08:00
1609be6d49 Created and moved extract_mobject_family_members and restructure_list_to_exclude_certain_family_members functions 2020-01-15 18:30:58 -08:00
a95318f1ab Fix print_family 2019-12-17 09:37:59 -08:00
84e7bdb2b1 Added a couple helpful debugging functions 2019-12-06 17:10:00 -08:00
e72390bfc4 Update tex_file_writing.py 2019-06-17 15:40:03 -04:00
2cbe19af7c Bug fix for the case when the media_dir has spaces 2019-06-13 16:15:43 -07:00
f81c275631 make media, tex, and video directories configurable via flags 2019-06-04 20:51:18 -07:00
caa4577cd1 reorganize media file tree 2019-06-03 23:41:05 -07:00
29424eb6b3 Added simple midpoint function 2019-05-27 19:48:33 -07:00
9b2c2c4784 Merge pull request #397 from fwcd/master
Made sure to always encode written TeX files as UTF-8
2019-02-12 09:40:20 -08:00
f4ddbef136 Get rid of instantiate function 2019-02-08 10:33:08 -08:00
da0f4ef918 Added adjacent_n_tuples function 2019-02-07 21:57:20 -08:00
bf0e3ab1b0 Changed angle_between_vectors implementation to work for 3d vectors 2019-02-07 21:38:03 -08:00
e3ee258d91 Replaced merge_config with merge_dicts_recursively 2019-02-06 21:32:42 -08:00
d88c301622 Updating coordinate system mobjects 2019-02-06 21:16:26 -08:00
55081c75ef Fixed bugs in partial_bezier_points and integer_interpolate 2019-02-05 15:25:44 -08:00
eaf25ff34b Changing the way VMobject handles its internal bezier curves so as to eliminate the need for sup_paths 2019-02-05 11:02:15 -08:00