258 Commits

Author SHA1 Message Date
f158d3e751 Give unit_normal refreshing the same behavior as triangulation
That is, don't actually compute it until it needs to be. This is necessary so that VMobject.append_points can refresh both of those, without effecting SVG initialization.
2022-12-19 14:41:06 -08:00
07feb33cbb Merge pull request #1932 from 3b1b/kill-config
Kill config
2022-12-18 10:27:15 -08:00
26ff1a9716 Fix bug associated with GlowDot having None points list 2022-12-17 19:49:04 -08:00
3e8738de2a Fix output type of VMobject.get_subpaths_from_points 2022-12-17 18:04:55 -08:00
0e558db122 Add a few type hints to specify VMobject family always consists of VMobjects 2022-12-17 17:03:34 -08:00
534770180d Remove stray import 2022-12-17 13:16:55 -08:00
97f28b34f3 Distinguish Vect3 from Vect3Array types 2022-12-17 13:16:48 -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
2bab16133d Fix textured path bug 2022-12-16 15:04:15 -08:00
123f7e5a30 Better default color behavior 2022-12-16 14:48:13 -08:00
c6fc8dcf45 Remove stray import 2022-12-16 11:41:49 -08:00
880aaf913f Change default fill from WHITE to GREY_C 2022-12-16 09:56:29 -08:00
72aaed57d5 Push depth_test into __init__ args 2022-12-16 09:56:17 -08:00
37786edc99 Small type fix 2022-12-15 18:18:44 -08:00
00403fe5b4 Change default stroke color 2022-12-15 16:46:51 -08:00
da90c5e297 Allow for multivalued style arguments 2022-12-15 15:40:36 -08:00
588c3fce02 Allow style configuration to be None 2022-12-15 12:48:43 -08:00
d4b6bf40e5 Small type fixes 2022-12-15 10:17:57 -08:00
002129e7a2 Remove stray import 2022-12-15 10:17:43 -08:00
1aaa3b4ad5 Remove unnecessary import 2022-12-15 10:12:10 -08:00
6c4e028eab Kill CONFIG in surface.py 2022-12-15 10:11:50 -08:00
3a65eb4d2c Kill CONFIG in ImageMobject 2022-12-15 09:56:01 -08:00
b373e33a22 Kill CONFIG in dot_cloud.py 2022-12-15 09:37:32 -08:00
a715a5bc3f Kill CONFIG in vectorized_mobject.py 2022-12-15 09:19:05 -08:00
c8442c404e Refresh triangulation after reversing points 2022-12-14 14:39:49 -08:00
44a7cfa12e Update output types for VMobject.get_family and VMobject.replicate 2022-12-14 11:02:16 -08:00
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
155cde26da Fix typo in vectorized_mobject.py (#1913)
lenth -> length
2022-12-13 14:57:23 +08:00
88f2ae6d0d Merge branch 'master' of github.com:3b1b/manim into video-work 2022-09-13 14:08:15 -07:00
cc81cc5cf5 Move unit normal refreshing to VMobject 2022-07-19 12:37:34 -07:00
07a8274cb1 Merge pull request #1821 from 3b1b/video-work
Video work
2022-05-24 15:20:07 -07:00
49723f54cb Add necessary imports (#1804)
* Add necessary imports

* Add necessary imports

* Add necessary imports

* Add `from __future__ import annotations`
2022-05-19 22:07:06 +08:00
0060a4860c Bug fix to VMobject.match_style 2022-05-11 12:46:15 -07:00
ed5a435852 Default to more highlight layers 2022-04-28 12:14:49 -06:00
c311204993 Tweaks to VHighlight 2022-04-27 09:55:29 -07:00
2ba9243067 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-23 09:03:53 -07:00
9d5e2b32fa Add VHighlight 2022-04-21 14:32:39 -07:00
d24b8ff48f Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
b09e6916dc Remove VMobject.get_highlight 2022-04-20 21:47:12 -07:00
5a91c73b23 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-14 14:40:14 -07:00
5e49f20294 Add VMobject.get_highlight 2022-04-14 14:37:50 -07:00
55684af27d fix: fix ImageMobject by overriding set_color method 2022-04-12 20:20:03 +08:00
9ef9961d0e Sort imports 2022-04-12 19:19:59 +08:00
2a7a7ac518 Add getter and setter for joint_type 2022-03-29 20:28:48 -07:00
a9349057ad Merge branch 'master' of github.com:3b1b/manim into video-work 2022-03-22 11:30:25 -07:00
e19f35585d Add GlowDots, analogous to GlowDot 2022-03-17 12:00:49 -07:00
4fbe948b63 style: insert an empty line after import 2022-02-16 21:08:25 +08:00
9bdcc8b635 style: remove quotes of annotations according to PEP 563 2022-02-14 21:41:45 +08:00
66caf0c1ad chore: only import some classes when type checking 2022-02-14 21:34:56 +08:00