60 Commits

Author SHA1 Message Date
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
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -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
c88bcc1a3c Get rid of get_point_mobject 2020-02-20 10:03:47 -08:00
c794039b9d Replacing apply_along_axis 2020-02-19 23:43:33 -08:00
e9504b7010 A few small cleanups 2020-02-18 22:31:18 -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
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
49d84fccde Fixed edge case in inserting n curves for null curves 2020-02-14 10:54:46 -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
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
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
3634cb712d Fix triangulation 2020-02-10 14:48:28 -08:00
8c07fcca24 Various add_smooth_curve_to functions 2020-02-06 10:02:13 -08:00
f8d293493f Change VMobject to operate with quadratic bezier curves 2020-02-05 14:46:04 -08:00
63e5f343a3 Begin setting up Camera to work with shaders, not yet done 2020-02-04 15:27:21 -08:00
81dde53f5a Get rid of various PMobject types 2020-02-04 15:26:39 -08:00
557bbff36c Added PGroup 2019-09-24 14:40:21 -07:00
42e0cd07ac Added support for changing and interpolating stroke_width on PMobjects 2019-09-19 13:38:46 -07:00
542ddb9afd Make sure set_opacity changes background stroke as well 2019-06-13 09:26:34 -07:00
f4c2c4642a Fix bug with applying function to VectorizedPoint 2019-03-21 17:50:04 -07:00
84a950425c DashedVMobject should handle case when num_dashes=0 2019-03-21 09:42:06 -07:00
453ae95cee Add stroke opacity to VMobject.get_style 2019-03-20 21:28:19 -07:00
ac9c04d3b8 Bugfix for aligning null VMobjects 2019-03-19 22:29:18 -07:00
45fa02b6b9 Have VMobject.set_style return self 2019-03-19 17:29:55 -07:00
fb99ebaeaf Change how family is handled for VMobject.fade 2019-03-16 22:11:48 -07:00
992d364913 fix get_anchors for VMobjects 2019-03-10 11:56:04 -07:00
4fbe67f262 Added general get_arc_length to VMobject 2019-02-15 15:15:07 -08:00
c47329660f Refactored make_smooth and make_jagged 2019-02-15 14:22:01 -08:00
d943f10123 Fixed make_jagged 2019-02-15 11:51:18 -08:00
2375f3675b Import the function "rotate_vector" 2019-02-13 16:32:37 +08:00
ff53c57d9d Tiny line swap 2019-02-11 22:25:02 -08:00
f429f46df8 Got rid of fade_no_recurse idea 2019-02-11 21:15:15 -08:00
9f76063271 Fix some bugs with VMobject.align_points 2019-02-11 20:52:54 -08:00
72a8bd8cc1 Fixed bug with VMobject.align_points 2019-02-09 10:39:34 -08:00
266f44f10e Added VMobject.set_opacity method 2019-02-07 17:47:16 -08:00
3de8c2f04c Added VMobject.get_subcurve, and cleaned up implementation of DashedVMobject 2019-02-07 15:41:15 -08:00
0ecac2bfb4 Factored out Line.get_start and Line.get_end to be more general Mobject methods 2019-02-07 14:52:40 -08:00
5c7f1b15c0 Bug fix for VMobject.pointwise_become_partial 2019-02-07 10:59:56 -08:00
d88c301622 Updating coordinate system mobjects 2019-02-06 21:16:26 -08:00
24d6113bba Get rid of propagate_style_to_family, since it is basically always true 2019-02-06 16:25:03 -08:00