43 Commits

Author SHA1 Message Date
c7ef8404b7 Video work (#2356)
* 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

* Add scale_factor parameter to BulletedList.fade_all_but

* Minor import tweaks

* Add play_sound

* Small if -> elif update

* Always use Group for FadeTransform

* Use time_spanned_alpha in ChangingDecimal

* Change priority of number_config vs. self.decimal_number_config in NumberLine init

* Fix clock animation

* Allow sample_coords to be passed into VectorField
2025-06-10 08:02:32 -07: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
902a4f264e Add white space after assert statements 2024-08-16 12:15:55 -05:00
4feb831a11 Pass group parameter in LaggedStartMap -> AnimationGroup 2024-06-24 15:21:09 -07:00
6b3834739c Undo redundant previous tweak to LaggedStartMap input type 2024-03-21 10:00:11 -03:00
7db69e32aa Update input type to LaggedStartMap 2024-03-16 11:10:52 -03:00
2380ffd616 Allow LaggedStart to accept an iterable as an argument 2024-03-07 09:41:47 -03:00
45d9049405 Minor clean up 2024-02-03 18:47:39 -06:00
dcb58c1f4f Remove arg_creator arg from LaggedStartMap
Anything that enables is better done just with LaggedStart
2023-02-15 20:55:26 -08:00
4e90a77fcd Change type hint on LaggedStart to accept any functions outputting animations 2023-02-04 16:50:12 -08:00
bf2a609246 Have animation group collect parts as a VGroup if it can 2023-01-26 20:39:05 -08:00
3b4a233bb1 Fix LaggedStartMap 2022-12-29 18:53:26 -08:00
ef09d6fce2 Allow for AnimationGroup to specify that parts belong to a VGroup 2022-12-29 12:02:48 -08:00
b1f363d5a9 Expand input type for AnimationGroup 2022-12-18 19:52:48 -08:00
10c0f4b694 Don't pass kwargs to Animation from LaggedStart 2022-12-15 11:33:41 -08:00
a7bf10c570 Kill composition CONFIGs 2022-12-13 16:52:32 -08:00
d24b8ff48f Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
fdeab8ca95 Make sure AnimationGroup plays nicely with setting mobject animation status 2022-04-20 21:47:47 -07: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
41c4023986 chore: add type hints to manimlib.animation 2022-02-15 18:39:45 +08:00
d24ba30fde Add .animate syntax 2021-02-10 07:43:46 -06:00
d24a757609 Have LaggedStartMap remember group 2020-02-18 22:41:55 -08:00
c94aef8845 Have AnimationGroup initialize its runtime before begin is called. This way it can be composed 2019-09-30 12:06:17 -07:00
e8fe67650a Fixed problem with LaggedStartMap 2019-03-29 15:12:31 -07:00
7ae67fad09 Quick fix for LaggedStart kwargs confusion, but this needs a better long-term solution 2019-03-28 16:18:35 -07:00
993f7edee9 OldLaggedStart -> LaggedStartMap 2019-02-14 12:06:21 -08:00
643955ab1c Added warning to usage of OldLaggedStart 2019-02-14 11:34:42 -08:00
d3a68aff1e Added new LaggedStart default lag_ratio 2019-02-11 22:37:52 -08:00
9180a687f9 Bug fix to Succession; it wasn't initializing runtimes 2019-02-09 11:54:00 -08:00
88e700b5b0 Small fixes to AnimationGroup and Succession 2019-02-08 20:18:54 -08:00
eb7f1e21a3 Fixed Succession to work when animations share a mobject 2019-02-08 16:50:48 -08:00
3d6092c06c Get rid of ApplyToCenters 2019-02-08 15:08:40 -08:00
6b195f4653 Make sure AnimationGroup works well with updating mobjects 2019-02-08 15:06:49 -08:00
13b701ba1b LaggedStart -> OldLaggedStart 2019-02-08 14:49:38 -08:00
22f4a83ba8 Completely reimplemented AnimationGroup to be way simpler and more robust 2019-02-08 14:48:17 -08:00
1c4ff6a556 update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation 2019-02-08 11:57:27 -08:00
bf3d9c9b5a clean_up -> clean_up_from_scene 2019-02-08 11:00:04 -08:00
f4ddbef136 Get rid of instantiate function 2019-02-08 10:33:08 -08:00
b7cf5e82e3 rate_func can no longer be None, must be a function. Use 'linear' instead of None 2019-02-05 15:39:58 -08:00
358b1e6313 Make LaggedStart adopt default rate_func and run_time of the animation it takes in 2019-01-29 23:51:24 -08:00
afdf907abc fix imports, remove __init__.py files, some pep8 linting 2018-12-27 09:41:41 -08:00
3543a750ba move library code into manimlib, replace relative imports with absolute imports 2018-12-26 20:57:01 -08:00