a5137a05f1
Merge pull request #2134 from jkjkil4/fix-there_and_back_with_pause
...
fix: `there_and_back_with_pause`
2024-09-06 09:25:31 -07:00
e7c540f415
Move texture id tracking to ShaderWrapper
...
Rather than having a globally unique id for each texture, dynamically allocate new texure ids within each ShaderWrapper, so that there is no upper bound on how many textures can be used.
2024-09-06 11:07:38 -05:00
79ec791fc2
Move get_fill_canvas into VShaderWrapper
2024-08-21 09:02:22 -05:00
dfc5f152dd
Have border width pre-multiply by alpha, and don't use a separate texture for that border width
2024-08-20 22:03:45 -05:00
5ff80ffc6c
Fix matplotlib color map import
2024-08-20 08:54:06 -05:00
6223623b40
Ensure border width blends better within filled VMobject for opacity < 1
2024-08-19 21:39:53 -05:00
7217c9fca5
Reorganize VShaderWrapper.render_fill
2024-08-19 20:51:37 -05:00
3b5d63d2fa
Add depth shader to handle winding fill depth test.
2024-08-19 14:09:07 -05:00
4a6e6ca646
Double the size of the fill canvas, to effectively do msaa
2024-08-16 12:04:27 -05:00
c7acbe5de6
Brighten up fill
2024-08-15 10:53:46 -05:00
e130625b9b
Handle edge case of single point passed into approx_smooth_quadratic_bezier_handles
2024-08-07 12:12:29 -05:00
ab28804ae5
fix: there_and_back_with_pause
2024-05-22 16:37:07 +08:00
d3ba101ee5
Change from tracking time_based_updater and non_time_updater lists separately to just tracking one list
2024-03-07 16:39:45 -03:00
83cd5d6246
Clean up updater matters, prune unused functions
2024-03-07 16:07:39 -03:00
4d67361800
Add shuffled
2024-03-07 08:40:19 -03:00
f3571cf2cb
Add random import
2024-02-08 14:37:58 -06:00
e4c824e672
Update random_bright_color to operate based on hsl ranges
2024-02-08 14:37:46 -06:00
31b2bcd9e6
Add interpolate_color_by_hsl
2024-02-08 14:37:30 -06:00
41ece958fd
Explicitly call out global naure of ID_TO_TEXTURE map
2024-01-17 15:02:19 -06:00
60a4f0e167
Factor out Arc.create_quadratic_bezier_points to quadratic_bezier_points_for_arc
2023-09-04 19:08:13 -04:00
fa798a2018
Add \dots and \mathds to tex_to_symbol_count
2023-08-15 20:40:39 -07:00
13d4ab1eb0
Stylistic change
2023-08-15 20:40:24 -07:00
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