306 Commits

Author SHA1 Message Date
c8cf83eedf Add cartesian_product 2023-08-15 20:40:15 -07:00
4f42ebeb4f Small formatting tweaks 2023-06-10 09:26:20 -07:00
80fb1a98a9 Add \text to TEX_TO_SYMBOL_COUNT 2023-03-10 11:05:50 -08:00
d1e2a7a157 Make sure \text{...} is counted correctly in num_tex_symbols 2023-03-10 11:05:30 -08:00
3a05352f73 Add poly_line_length function 2023-02-16 15:02:15 -08:00
7c561d3757 Edit set_program_uniform 2023-02-03 11:05:40 -08:00
ac3db9b636 Add set_program_uniform function 2023-02-02 21:13:18 -08:00
17cef427f1 Update fill shader alpha blending, and simplify the fill canvas 2023-02-02 10:42:24 -08:00
ebf2ee5849 Update tex patterns 2023-02-01 20:12:06 -08:00
b1fb3e1d54 Add render mode and early discard for fill canvas vao 2023-02-01 11:19:22 -08:00
d9c85aac46 Add dict_eq 2023-01-31 15:37:30 -08:00
474a6c27e3 Counteract alpha scaling from fill frag 2023-01-28 15:00:15 -08:00
144e512952 Use active camera config, not default 2023-01-28 12:19:49 -08:00
60a27f52f1 Add depth sampling for fill 2023-01-28 10:36:41 -08:00
71ef39ea5b Remove "poor man's anti-aliasing" for Fill and instead render a small border width for fill 2023-01-27 16:15:20 -08:00
97e4c25453 Add comment 2023-01-27 08:29:41 -08:00
1707958e0f Clean up fill shader a bit 2023-01-27 08:26:54 -08:00
de7545e5fa Tiny tweak to array_is_constant 2023-01-26 23:43:34 -08:00
8f6c14ad5f Increase threshold for discarding fill fragments 2023-01-26 22:41:23 -08:00
5803a00598 Use smaller fill_texture, adjusting winding-fill blending hack as is necessary 2023-01-26 20:14:22 -08:00
37f0bf8c11 Fix winding fill blending
(Using somewhat of a hack)
2023-01-26 15:27:48 -08:00
3f5df432ce Consider winding_fill alphas pre-multiplied 2023-01-26 12:17:21 -08:00
a68bc1271b Have FillShaders all share the same texture used for intermediary rendering 2023-01-25 19:43:16 -08:00
c94d8fd3b0 Move Texture handling and vao creation outside of Camera 2023-01-25 12:10:39 -08:00
3299741359 Move program code to ShaderWrapper, away from Camera 2023-01-25 11:23:31 -08:00
1eae7c06ba Add conditions for resize_with_interpolation 2023-01-19 09:56:40 -08:00
22d2819ecf Improvements to make_smooth 2023-01-18 22:39:02 -08:00
3820e098c0 Tweak to type hints 2023-01-18 16:25:32 -08:00
4de0d098ea Allow cross to take an 'out' array 2023-01-17 11:35:50 -08:00
f15ac81131 Pull out helper functions from shader_wrapper.py 2023-01-16 14:18:35 -08:00
bd2d45ebc6 Handle edge case of low ring end 2023-01-16 14:00:53 -08:00
a46e580fa4 Make sure resize_preserving_order preserves data type 2023-01-16 13:37:06 -08:00
db45d9e646 Add array_is_constant 2023-01-16 13:26:44 -08:00
51efe0d18e Merge branch 'master' of github.com:3b1b/manim into video-work 2023-01-13 20:42:03 -08:00
42909a94ac No need for np.repeat in normalize_along_axis 2023-01-13 20:34:18 -08:00
31cc2671e5 Have line_intersects_path not assume closed path 2023-01-13 16:35:18 -08:00
937b894826 Clean up find_intersection 2023-01-13 16:35:01 -08:00
d2800b6c96 Make sure cross behaves as expected on 2d arrays 2023-01-13 00:05:29 -08:00
de4a56849e Add line_intersects_path 2023-01-12 21:04:46 -08:00
1708fbd672 Updated tqdm to support also notebooks 2023-01-12 12:03:14 +01:00
1a8e923ef2 Small speed ups 2023-01-12 00:40:27 -08:00
21908a48de Change behavior of get_quadratic_approximation_of_cubic to return quintuplets instead of sextuplets 2023-01-11 14:19:33 -08:00
40b9e22b6e Update some type hints in bezier 2023-01-11 14:19:17 -08:00
27db1c5987 Add arrays_match function 2023-01-10 10:25:59 -08:00
9e7cd1399d Add arr_clip (faster alternative to np.clip) 2023-01-08 21:27:56 -05:00
c30b102458 Use re.sub instead of looping over re.findall 2023-01-04 16:39:59 -08:00
7df12c68dc Tiny cleanup 2022-12-29 18:52:13 -08:00
04d3e6a47c Interpolate colors using square of rgbs 2022-12-29 16:07:28 -08:00
1feae23566 Improve num_tex_symbols 2022-12-29 10:37:46 -08:00
596aea3bf5 Update to bezier 2022-12-28 21:06:36 -08:00