261 Commits

Author SHA1 Message Date
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
34d8ab81f9 Fix for num_tex_symbols 2022-12-28 13:38:15 -08:00
f2859a9a8c Give default curve orientation of 1 2022-12-27 15:53:24 -08:00
22c67df2ad Simplify Scene.remove to not require a Mobject.get_ancestors call 2022-12-26 07:46:40 -07:00
3878b8c077 Fix rotation_between_vectors 2022-12-23 10:04:27 -07:00
baf2690d77 In rotation_between_vectors, account for the case where vectors align 2022-12-22 17:57:47 -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
805236337e Remove stray import 2022-12-21 12:52:32 -08:00
10d53c82e1 Improved num_tex_symbols
Based on data gathered for tex commands
2022-12-21 12:47:18 -08:00
ef941b4040 Factor out num_tex_symbols 2022-12-20 22:35:41 -08:00
1a485ddd19 Ensure color_to_hex always returns 6 character hex codes 2022-12-20 14:31:17 -08:00
75a98a8936 Change color_to_hex implementation 2022-12-19 18:03:53 -08:00
073a62bf03 Factor rgb_to_hex, hex_to_int and int_to_hex away from StringMobject and to utils/color 2022-12-19 17:28:22 -08:00
e0e7e24351 Move display_during_execturion call
Such that it only gets called when a new svg needs to be written
2022-12-19 17:01:06 -08:00
c2c8149627 Revert "Move display_during_exection associated with Latex rendering"
This reverts commit ab470c3ee598e335c4f2252a8802d71a8cc59e93.
2022-12-19 16:54:55 -08:00
5c0232a5e0 Have LatexError show line of error and the next line
This is where undefined control sequence errors will show up.
2022-12-19 16:20:19 -08:00
ab470c3ee5 Move display_during_exection associated with Latex rendering
Only have it display when a new SVG is being written
2022-12-19 16:19:43 -08:00
903e140719 Add from __future__ import annotations 2022-12-18 09:13:11 -08:00
f8b39f2ff1 Allow Scalable type to be any FloatArray 2022-12-18 09:11:16 -08:00
6f0020950f Make Scalable a Typevar 2022-12-17 22:28:53 -08:00
7ac78f3dbb Updating type hints for paths.py 2022-12-17 22:14:53 -08:00
f53fad1a96 Avoid implicit string concatenation 2022-12-17 22:14:43 -08:00
c96a698713 Remove unused drag_pixels 2022-12-17 22:14:30 -08:00
f6ff226cd4 Remove stray imports 2022-12-17 22:14:20 -08:00
4dec67f9fe Move unused (and slightly absurd) dict-related helper functions to 3b1b/videos/once_useful_constructs 2022-12-17 22:00:37 -08:00
0dab04080e No need to have a get_runtime helper when many other options exist 2022-12-17 21:53:15 -08:00
fd20ead11b Update output type for make_even 2022-12-17 21:51:01 -08:00
24fd6d890e Tweak type hints for bezier.py 2022-12-17 18:35:26 -08:00
b817e6f15f Tweak type hints in color.py 2022-12-17 17:29:49 -08:00
5b697b3782 Remove stray import 2022-12-17 17:29:39 -08:00
97f28b34f3 Distinguish Vect3 from Vect3Array types 2022-12-17 13:16:48 -08:00
cef6506920 Add better types + Small refactors on space_ops 2022-12-16 20:35:45 -08:00
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
ef0999cc09 Rename config_ops -> dict_ops 2022-12-16 15:23:43 -08:00
a39c65cb5c Fix type 2022-12-15 10:11:58 -08:00
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
5281a83e9d Add overshoot rate func 2022-11-18 09:12:52 -08:00
a2606c7e37 Make sure find_intersection returns a result matching the shape of inputs 2022-11-03 16:48:14 -07:00
4dfe8aff86 refactor: refactor StringMobject 2022-08-22 21:52:48 +08:00
19c757ec90 refactor: refactor StringMobject 2022-08-20 13:01:59 +08:00
bc939fdd5b Rename font to template 2022-05-28 23:18:56 +08:00
3faa21cadd Add blank template 2022-05-28 22:44:30 +08:00
bf530db2ed Add ctex_basic template 2022-05-28 22:01:36 +08:00
f0447d7739 Small refactors on StringMobject and relevant classes 2022-05-28 21:43:37 +08:00
59eba943e5 Resolve conflicts 2022-05-28 12:43:53 +08:00