26 Commits

Author SHA1 Message Date
db421e3981 Video work (#2318)
* Only use -no-pdf for xelatex rendering

* Instead of tracking du and dv points on surface, track points off the surface in the normal direction

This means that surface shading will not necessarily work well for arbitrary transformations of the surface. But the existing solution was flimsy anyway, and caused annoying issues with singularity points.

* Have density of anchor points on arcs depend on arc length

* Allow for specifying true normals and orientation of Sphere

* Change miter threshold on stroke shader

* Add get_start_and_end to DashedLine

* Add min_total_width option to DecimalNumber

* Have BackgroundRectangle.set_style absorb (and ignore) added configuration

Note, this feels suboptimal

* Add LineBrace

* Update font_size adjustment in Tex
2025-02-26 07:52:59 -08:00
d5c36de3c5 DEFAULT_MOBJECT_TO_MOBJECT_BUFFER -> DEFAULT_MOBJECT_TO_MOBJECT_BUFF
And likewise DEFAULT_MOBJECT_TO_MOBJECT_BUFFER -> DEFAULT_MOBJECT_TO_MOBJECT_BUFF
2024-12-10 19:23:15 -06:00
5d3f730824 Cleaning up some imports + Minor Bug fixed in VectorField (#2253)
* cleaning up imports

* sample_points -> sample_coords
2024-12-05 14:42:46 -08:00
712fa30174 Ensure Brace.get_tex uses buff key word arg 2024-02-21 12:25:43 -08:00
dd2fb6ae74 Delete refresh_unit_normal 2022-12-23 10:23:57 -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
6d5b980d4a Replace Tex and MTex throughout library 2022-12-20 15:22:34 -08:00
96d9e41a35 Refresh unit normal on init of brace 2022-12-19 14:43:27 -08:00
dec11a4b17 Rename np_vector type to Vect3 or Vect4 to make context clearer 2022-12-16 20:35:26 -08:00
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
afab37c2d2 Remove stray digest_config references 2022-12-16 11:00:59 -08:00
c2766c9837 Remove stray import 2022-12-15 12:47:53 -08:00
2a89e84538 Kill CONFIG in brace.py 2022-12-15 11:33:27 -08:00
9ef9961d0e Sort imports 2022-04-12 19:19:59 +08:00
4fbe948b63 style: insert an empty line after import 2022-02-16 21:08:25 +08:00
773e013af9 chore: add type hints to manimlib.mobject.svg 2022-02-14 22:55:41 +08:00
24e3caa072 fix no "import copy" bug
added import copy
2022-01-03 16:49:00 +08:00
9efd02c500 Remove spelling mistake
I misspelled "label"
2022-01-03 16:37:26 +08:00
0a318486c5 Adding "lable_buff" config parameter for Brace 2022-01-03 14:57:16 +08:00
ca9f4357fa Allow configuration in Brace.get_text 2021-03-31 23:23:34 -07:00
933b7fd3da Use Text not TexText for Brace 2021-03-18 17:35:23 -07:00
53cfbacab4 Improve how brace sets its width 2021-01-30 22:11:48 -08:00
f91c81dd6a Rename TexMobject -> Tex and TextMobject -> TexText 2021-01-18 08:20:14 -10:00
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
88b35c45b8 Created fading.py and growing.py to help break up animation.creation.py 2019-02-09 09:08:57 -08:00
3543a750ba move library code into manimlib, replace relative imports with absolute imports 2018-12-26 20:57:01 -08:00