Commit graph

69 commits

Author SHA1 Message Date
Grant Sanderson
3a111cf3af Get rid of this color nonsense 2020-06-07 12:23:35 -07:00
Grant Sanderson
a5f16f0c52 Make sure light styling is interpolated properly 2020-06-06 17:01:54 -07:00
Grant Sanderson
ba7a51931d Add shadow, and pull out lighting information to Mobject 2020-06-06 16:55:56 -07:00
Grant Sanderson
a62a4ae02b Make sure Point has points of type float 2020-06-05 11:11:46 -07:00
Grant Sanderson
94c121bcf7 Default arrange_in_grid should have it draw rows first 2020-04-07 12:36:17 -07:00
Grant Sanderson
f7ad9e71e0 Separate time_based_updaters and non_time_updaters 2020-03-19 10:46:50 -07:00
Grant Sanderson
23440d020f Add pfp as abreviation for point_from_proportion 2020-03-14 16:53:02 -07:00
Grant Sanderson
ace2b7fea4 Don't deepcopy parents 2020-03-06 06:16:52 -08:00
Grant Sanderson
ed1cbe32ff Don't copy a mobject's parents 2020-02-27 17:19:15 +00:00
Grant Sanderson
8159f701f4 Typo fix 2020-02-23 22:58:47 +00:00
Grant Sanderson
ed6085d07c Add replace_submobject 2020-02-22 13:19:51 -08:00
Grant Sanderson
68ac16e5fb Move rendering back to camera 2020-02-21 12:00:34 -08:00
Grant Sanderson
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
Grant Sanderson
8d3ec1afd0 Don't worry about aligning points of vmobjects with same number of points 2020-02-20 16:49:36 -08:00
Grant Sanderson
eb121c922b Small edits 2020-02-20 15:52:23 -08:00
Grant Sanderson
57b1523d96 Various bits of cleanup and micro speedups 2020-02-20 10:03:36 -08:00
Grant Sanderson
c794039b9d Replacing apply_along_axis 2020-02-19 23:43:33 -08:00
Grant Sanderson
0176bda584 Replace np.apply_along_axis with arr.min 2020-02-19 23:32:35 -08:00
Grant Sanderson
b373b7936a Move rendering to Mobject, and be smarter about caching data and vbo 2020-02-19 23:13:29 -08:00
Grant Sanderson
065979e2e1 A few small formatting changes 2020-02-18 22:32:43 -08:00
Grant Sanderson
47daf8e7f7 Have mobject.get_shader_info_list handle all of its submobjects 2020-02-17 12:15:53 -08:00
Grant Sanderson
d061bafaa2 Add Point mobject 2020-02-14 15:29:52 -08:00
Grant Sanderson
b0b71910a5 Couple notes on the problems with Mobject.show 2020-02-14 10:53:52 -08:00
Grant Sanderson
0912043248 get_shader_data_array -> get_blank_shader_data_array 2020-02-13 15:51:16 -08:00
Grant Sanderson
5df2d3db33 Have mobjects keep track of a consistent shader data array to avoid unneeded numpy initializing 2020-02-13 15:41:57 -08:00
Grant Sanderson
c654ca4506 Remove usage of np.append 2020-02-13 12:03:54 -08:00
Grant Sanderson
095a3ef28c Change how bounding box points are calculated, in anticipation of a time when these are more intelligently cached 2020-02-13 11:43:59 -08:00
Grant Sanderson
574b464a3c get_critical_point -> get_bounding_box_point 2020-02-13 10:54:09 -08:00
Grant Sanderson
e5d8f83dbf Implemented ImageMobject with shaders 2020-02-13 10:39:26 -08:00
Grant Sanderson
9835813679 Rename generate_points to init_points 2020-02-11 19:55:00 -08:00
Grant Sanderson
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
Grant Sanderson
94a3883880 Remove Mobject.print_family, as that is now in utils.debug 2019-12-06 17:10:26 -08:00
Grant Sanderson
6c2e7f4c2c interpolate_mobject should return self 2019-06-15 12:22:21 -07:00
Devin Neal
f81c275631 make media, tex, and video directories configurable via flags 2019-06-04 20:51:18 -07:00
Grant Sanderson
fd0030085b Added Mobject.match_updaters 2019-04-10 14:57:15 -07:00
Grant Sanderson
982d437267 Use get_family_updaters to test if a mobject should be drawn during every frame of an animation 2019-04-04 14:29:52 -07:00
Grant Sanderson
876f2c3419 Make BackgroundRectangle stroke_opacity 0 2019-03-24 11:34:07 -07:00
Grant Sanderson
36c62b4b55 Added missing import 2019-03-20 13:07:08 -07:00
Grant Sanderson
3b9c085cf1 Typo fix 2019-02-16 12:08:36 -08:00
Grant Sanderson
89824e3d52 continual_update -> update_mobjects 2019-02-15 20:05:45 -08:00
Grant Sanderson
4aa63198d7 Fixed align_to 2019-02-14 11:34:06 -08:00
Grant Sanderson
b2608d7b93 Use null_point_align 2019-02-11 22:24:02 -08:00
Grant Sanderson
86d3ade0ef Change restore implementation using become 2019-02-11 21:18:08 -08:00
Grant Sanderson
f429f46df8 Got rid of fade_no_recurse idea 2019-02-11 21:15:15 -08:00
Grant Sanderson
da134f7c0b Changed how align_submojects works, partly to be simply, partly to shift to using null mobjects instead of ocpies 2019-02-11 20:51:57 -08:00
Grant Sanderson
c1cc1a8b24 If about_edge is None, default to ORIGIN 2019-02-09 15:47:32 -08:00
Grant Sanderson
9265fc3e41 Bug fix to put_start_and_end_on 2019-02-07 21:14:30 -08:00
Grant Sanderson
0ecac2bfb4 Factored out Line.get_start and Line.get_end to be more general Mobject methods 2019-02-07 14:52:40 -08:00
Grant Sanderson
8bb1085051 position_endpoints_on -> put_start_and_end_on 2019-02-07 10:59:28 -08:00
Grant Sanderson
aa3d9e1a49 Few updates to Arc and Circle 2019-02-07 09:26:18 -08:00