260 Commits

Author SHA1 Message Date
ed6085d07c Add replace_submobject 2020-02-22 13:19:51 -08:00
11a4d7696e Change implementation of pointwise_become_partial not to change the number of points 2020-02-22 13:19:26 -08:00
2ca0726cd7 Add self.shader_data_is_locked condition to get_shader_info_list 2020-02-21 12:01:17 -08:00
68ac16e5fb Move rendering back to camera 2020-02-21 12:00:34 -08:00
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
bafc8c88d5 subdivide_sharp_curves -> should_subdivide_sharp_curves 2020-02-20 16:49:56 -08:00
8d3ec1afd0 Don't worry about aligning points of vmobjects with same number of points 2020-02-20 16:49:36 -08:00
306344e9c1 Add possibility for add_line to add more points...makes for better svg alignment 2020-02-20 15:52:57 -08:00
eb121c922b Small edits 2020-02-20 15:52:23 -08:00
16ea2a0104 Fix bug with pi creature 2020-02-20 15:51:04 -08:00
c88bcc1a3c Get rid of get_point_mobject 2020-02-20 10:03:47 -08:00
57b1523d96 Various bits of cleanup and micro speedups 2020-02-20 10:03:36 -08:00
c794039b9d Replacing apply_along_axis 2020-02-19 23:43:33 -08:00
0176bda584 Replace np.apply_along_axis with arr.min 2020-02-19 23:32:35 -08:00
b373b7936a Move rendering to Mobject, and be smarter about caching data and vbo 2020-02-19 23:13:29 -08:00
b504899714 Replace np.clip with clip 2020-02-18 22:32:57 -08:00
065979e2e1 A few small formatting changes 2020-02-18 22:32:43 -08:00
8f8119509d Replace np.clip with clip 2020-02-18 22:32:15 -08:00
6b69ed2174 Add a small todo 2020-02-18 22:32:02 -08:00
01cda8a130 Fix a few problems with PlayingCard 2020-02-18 22:31:49 -08:00
8ad1c58f9e Fix bug with recursive paths 2020-02-18 22:31:29 -08:00
e9504b7010 A few small cleanups 2020-02-18 22:31:18 -08:00
6e932a24d2 Change defaults on when triangulation is locked...again 2020-02-17 14:01:46 -08:00
47daf8e7f7 Have mobject.get_shader_info_list handle all of its submobjects 2020-02-17 12:15:53 -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
6fe68dbc7a Record locked traingulation even on vmobs without points 2020-02-14 17:00:17 -08:00
3982303fcc Default to locked triangulation for texmobjects, not all svgs 2020-02-14 16:59:12 -08:00
aa06a3c111 Make it so that changing stroke, when there is background stroke, won't default it back to foreground 2020-02-14 16:27:23 -08:00
9186fa5551 Have vectorized point inherit from point 2020-02-14 15:30:04 -08:00
d061bafaa2 Add Point mobject 2020-02-14 15:29:52 -08:00
49d84fccde Fixed edge case in inserting n curves for null curves 2020-02-14 10:54:46 -08:00
b0b71910a5 Couple notes on the problems with Mobject.show 2020-02-14 10:53:52 -08:00
0912043248 get_shader_data_array -> get_blank_shader_data_array 2020-02-13 15:51:16 -08:00
5df2d3db33 Have mobjects keep track of a consistent shader data array to avoid unneeded numpy initializing 2020-02-13 15:41:57 -08:00
c654ca4506 Remove usage of np.append 2020-02-13 12:03:54 -08:00
c780a7471b Default SVG paths and dots to have locked triangulation 2020-02-13 11:56:39 -08:00
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
574b464a3c get_critical_point -> get_bounding_box_point 2020-02-13 10:54:09 -08:00
65828e0e36 Have mobjects pass texture data to camera, and change pixel_shape to come from the fbo viewport 2020-02-13 10:40:21 -08:00
e5d8f83dbf Implemented ImageMobject with shaders 2020-02-13 10:39:26 -08:00
ec90bb2e8a Change step size defaults on ParametricFunction 2020-02-12 12:49:46 -08:00
4b827adfee Rewrite insert_n_curves_to_point_list to be faster and more even. And honestly much less confusing 2020-02-12 11:49:51 -08:00
9835813679 Rename generate_points to init_points 2020-02-11 19:55:00 -08:00
699b886d68 Have svg paths subdivide sharper curves 2020-02-10 14:48:53 -08:00
3634cb712d Fix triangulation 2020-02-10 14:48:28 -08:00
1018cca4eb Remove unneeded import 2020-02-07 09:36:56 -08:00
1e0c701733 Change behavior of Z in svg commands 2020-02-07 09:35:57 -08:00
247f3ac2c4 Change behavior of Z command in svgs 2020-02-07 09:35:28 -08:00
050ed718e5 Small todo stubs as a reminder to relpace 3d VMobject material 2020-02-07 09:32:38 -08:00
ccef2485b2 Refactor svg reading 2020-02-06 10:02:42 -08:00