3126 Commits

Author SHA1 Message Date
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
b7f9257b3c New small beta scene 2020-02-19 23:27:11 -08:00
ad1caca45e Remove get_moving_mobjects 2020-02-19 23:26:54 -08:00
51167e19fe Rename and move around lock_static_mobject_data 2020-02-19 23:21:41 -08:00
b373b7936a Move rendering to Mobject, and be smarter about caching data and vbo 2020-02-19 23:13:29 -08:00
07cda695bb Finally, some work on the beta video 2020-02-18 22:43:23 -08:00
671042cd20 Replace np.clip with clip, and other small changes 2020-02-18 22:43:06 -08:00
d24a757609 Have LaggedStartMap remember group 2020-02-18 22:41:55 -08:00
0be5abceb9 Small bug fix 2020-02-18 22:40:12 -08:00
f1475463fc Just moving things around 2020-02-18 22:34:22 -08:00
0ed5acd6c6 Adding directory for mobject_points 2020-02-18 22:33:58 -08:00
dd7f8aac8d Default unlock triangulation for pi creature 2020-02-18 22:33:35 -08:00
ba0d677c15 Small fixes 2020-02-18 22:33:22 -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
9f3551f43b Change how play/wait timing works with the window 2020-02-18 22:30:43 -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
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
673b85f129 Prep quadratic bezier shaders to work in 3d 2020-02-16 10:53:16 -08:00
da7864b28c Remove ANTI_ALIAS_WIDTH 2020-02-14 17:00:36 -08:00
6fe68dbc7a Record locked traingulation even on vmobs without points 2020-02-14 17:00:17 -08:00
d03b32d249 Bug fix 2020-02-14 16:59:24 -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
dc8eb317dd Improving embed 2020-02-14 16:26:49 -08:00
8402b9ea53 Add mouse points, embed, and move mobject updating to update_frame 2020-02-14 15:30:44 -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
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