3088 Commits

Author SHA1 Message Date
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
ba89ad7450 Forget about using remove_list_redundancies 2020-02-14 15:29:35 -08:00
b73ebb9cf5 Go back to scene recomputing mobject families on each frame, and fix a bug with skipping 2020-02-14 11:55:07 -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
bf83aed43b Have ANTI_ALIAS_WIDTH scale with frame size 2020-02-14 10:53:05 -08:00
1a0b0e748c Fixed pixel_coords_to_space_coords 2020-02-14 10:52:39 -08:00
0912043248 get_shader_data_array -> get_blank_shader_data_array 2020-02-13 15:51:16 -08:00
cfbcd9faa8 Remove distinction between moving mobjects and static mobjects...computations to figure this out may now outweigh the actual render times they save 2020-02-13 15:42:53 -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
176079b678 Note that ZoomedScene is broken 2020-02-13 10:50:56 -08:00
8db7756d2e A little more window initialization 2020-02-13 10:50:38 -08:00
7789038409 Fix bug with fbo initialization 2020-02-13 10:49:43 -08:00
53abf506fc Change config defaults 2020-02-13 10:49:25 -08:00
183bae0825 Move window operations to Scene 2020-02-13 10:42:07 -08:00
c591954fc3 Small formatting change 2020-02-13 10:41:55 -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
3f0cc56665 Separate out the point_to_gl_Position function, which needs to be updated later 2020-02-12 18:05:22 -08:00
50c7dd7d48 Don't have fill shader use quick (flawed) sdf 2020-02-12 13:24:15 -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
cb31ce3049 Temporarily(?) allow stroke shader to sometimes cross triangles so as to avoid other artifacts 2020-02-12 12:51:36 -08:00
ec90bb2e8a Change step size defaults on ParametricFunction 2020-02-12 12:49:46 -08:00
5cfae1ea75 Remove unneeded import 2020-02-12 11:50:05 -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
c0a29c4c74 Have partial_bezier_points return list, not numpy array 2020-02-12 11:49:16 -08:00
9835813679 Rename generate_points to init_points 2020-02-11 19:55:00 -08:00
c7a99769ce Change order of camera.reset_pixel_shape args 2020-02-11 19:53:15 -08:00
19814ecf87 Allow mobject to prepare and cleanup from animations 2020-02-11 19:52:41 -08:00
ebd4016fb3 Small refactor of extract_scene et. al. 2020-02-11 19:52:14 -08:00
960e918e61 Basic preview window 2020-02-11 19:51:19 -08:00
2cf21fd0ad Add file opening operations to SceneFileWriter 2020-02-11 19:50:36 -08:00
15e3178721 Incorporate frame_center in translation to gl_Position 2020-02-11 19:49:54 -08:00
052aa8afe2 Changed angle methods 2020-02-11 19:48:50 -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
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
b243c522b1 Have Mobject pass their own render primative 2020-02-07 09:37:21 -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
9b3d294464 Change fill shaders to compute orientation inside 2020-02-07 09:31:57 -08:00
db0029c32b Fix error in get_quadratic_approximation_of_cubic 2020-02-07 09:31:06 -08:00