|
c8c96fe645
|
Tweaks to get_unit_normal
|
2022-12-28 11:16:24 -08:00 |
|
|
6204011fe4
|
Don't check point equality in triggers_refreshed_triangulation
|
2022-12-28 10:15:03 -08:00 |
|
|
083de38e4c
|
Remove "arbitrary-seeming branching"
|
2022-12-28 10:05:44 -08:00 |
|
|
7dc1fe21bd
|
Change angle threshold for determining bezier degree
|
2022-12-28 09:31:20 -08:00 |
|
|
a6e21b2ccd
|
Change Mobject.append_points
For future plans, it may be nicest for data["points"] to only ever get redefined by Mobject.resize_points
|
2022-12-28 09:22:22 -08:00 |
|
|
97be203b57
|
Add type hint
|
2022-12-28 08:45:18 -08:00 |
|
|
61155f5c72
|
Simplify Mobject.set_points
|
2022-12-28 08:45:05 -08:00 |
|
|
966e2c9790
|
Update VMobject.has_fill and has_stroke
|
2022-12-27 22:18:54 -08:00 |
|
|
e73ae78987
|
Update Mobject.has_points
|
2022-12-27 22:18:41 -08:00 |
|
|
816f6eb297
|
Use ShaderWrapper.read_in instead of combine_with
Improves speed
|
2022-12-27 21:40:34 -08:00 |
|
|
e54e04a5ce
|
Add ShaderWrapper.read_in
This will function similarly to combine_with, but without necessarily having to allocate new memory
|
2022-12-27 21:39:20 -08:00 |
|
|
49d4472e7e
|
Add StringMobject.get_specified_substrings
|
2022-12-27 19:13:09 -08:00 |
|
|
6044e475a4
|
Tiny VMobject.has_stroke update
|
2022-12-27 19:12:55 -08:00 |
|
|
8c44834554
|
Compute triangulation before replicating
|
2022-12-27 19:12:36 -08:00 |
|
|
795f6e2490
|
Remove unit_normal attribute
|
2022-12-27 19:12:00 -08:00 |
|
|
6d50be55d3
|
Small inconsequential edits to get_triangulation
|
2022-12-27 15:54:12 -08:00 |
|
|
f2859a9a8c
|
Give default curve orientation of 1
|
2022-12-27 15:53:24 -08:00 |
|
|
33a92d3ab3
|
Small cleanup in camera.py
|
2022-12-27 14:53:55 -08:00 |
|
|
934a73ddb8
|
Remove stray import
|
2022-12-27 14:29:13 -08:00 |
|
|
2b67aa0e01
|
Type hints for Window class variables
|
2022-12-26 09:40:11 -07:00 |
|
|
3bf5ce5776
|
Fix TexMobject.select_unisolated_substring for substrings with escape characters
|
2022-12-26 09:02:00 -07:00 |
|
|
db0770a4fd
|
Remove **kwargs from Mobject.__init__
|
2022-12-26 07:58:40 -07:00 |
|
|
a2bdf54025
|
Remove unused parameter
|
2022-12-26 07:58:30 -07:00 |
|
|
22c67df2ad
|
Simplify Scene.remove to not require a Mobject.get_ancestors call
|
2022-12-26 07:46:40 -07:00 |
|
|
fcff44a66b
|
Merge pull request #1943 from 3b1b/string-mobject-refactor
StringMobject refactor
|
2022-12-23 17:11:30 -08:00 |
|
|
62c9e2b58f
|
Fix data["orientation"] alignment issue a separate way
|
2022-12-23 18:09:09 -07:00 |
|
|
db52d0a73f
|
Add type hints and @staticmethod decorators to wraps functions
|
2022-12-23 17:45:35 -07:00 |
|
|
580d57a45c
|
Add type hints and @staticmethod decorators to wraps functions
|
2022-12-23 17:44:00 -07:00 |
|
|
453b863738
|
Be sure to align data in FadeTransform
|
2022-12-23 17:24:33 -07:00 |
|
|
7f203d1611
|
Remove triangulation cachine
|
2022-12-23 13:33:07 -07:00 |
|
|
dd2fb6ae74
|
Delete refresh_unit_normal
|
2022-12-23 10:23:57 -07:00 |
|
|
40bf1fd6a9
|
Stop tracking unit_normal in data
Track orientation of each curve instead
|
2022-12-23 10:08:23 -07:00 |
|
|
3878b8c077
|
Fix rotation_between_vectors
|
2022-12-23 10:04:27 -07:00 |
|
|
ef04b9eb01
|
Revert "Simplify get_unit_normal to always recompute"
This reverts commit 96d391d9fda4d692ba51cebc4ba4e802ec2d2ea0.
|
2022-12-22 18:07:46 -07:00 |
|
|
baf2690d77
|
In rotation_between_vectors, account for the case where vectors align
|
2022-12-22 17:57:47 -07:00 |
|
|
c36d178856
|
Trigger unit normal refresh for all bounding_box refreshes
|
2022-12-22 17:51:59 -07:00 |
|
|
96d391d9fd
|
Simplify get_unit_normal to always recompute
|
2022-12-22 17:51:22 -07:00 |
|
|
8c5d4db411
|
Ensure VMobject.get_area_vector works with uneven number of points
|
2022-12-22 12:09:54 -07:00 |
|
|
b7d473ff43
|
Revert "Revert back from the needs_new_unit_normal change in favor of recomputation"
This reverts commit d8deec8f813166b9bf42960acb0f6da4349712e7.
|
2022-12-22 12:03:33 -07:00 |
|
|
fca7c0609a
|
Factor out epsilon in earclip_triangulation
|
2022-12-22 11:53:14 -07:00 |
|
|
a4d47f64b0
|
Fix normalize_along_axis
|
2022-12-22 11:52:55 -07:00 |
|
|
5af4b9cc65
|
No need to refresh triangulation in flip
|
2022-12-22 11:52:30 -07:00 |
|
|
ff090c016f
|
Use only anchors to compute area vector
|
2022-12-22 11:46:51 -07:00 |
|
|
33682b7199
|
MTex is the new Tex, Tex is now OldTex
Global replace
Tex -> OldTex
TexText -> OldTexText
MTex -> Tex
MTexText -> TexText
|
2022-12-21 13:18:20 -08:00 |
|
|
805236337e
|
Remove stray import
|
2022-12-21 12:52:32 -08:00 |
|
|
958c34c705
|
Push functionality for selecting unisolated substrings up into StringMobject
|
2022-12-21 12:47:48 -08:00 |
|
|
10d53c82e1
|
Improved num_tex_symbols
Based on data gathered for tex commands
|
2022-12-21 12:47:18 -08:00 |
|
|
6277e28373
|
Have MTex.__getitem__ call MTex.select_parts
|
2022-12-20 22:37:23 -08:00 |
|
|
4b73140435
|
Have MTex.select_parts fall back on dirty_select with a warning
|
2022-12-20 22:37:01 -08:00 |
|
|
ef941b4040
|
Factor out num_tex_symbols
|
2022-12-20 22:35:41 -08:00 |
|