Commit graph

36 commits

Author SHA1 Message Date
Grant Sanderson
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
Varniex
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
Grant Sanderson
bd2947be28 Use preferred group type for FadeTransform 2024-08-22 15:31:03 -05:00
Grant Sanderson
28eba26bee Remove stray new line 2024-08-19 14:09:23 -05:00
Grant Sanderson
772a328302 Have FadeTransform target match all uniforms of source 2024-04-12 21:52:08 -04:00
Grant Sanderson
ec42326618 Fix remover=True case for FadeTransform 2024-03-21 14:35:33 -03:00
Grant Sanderson
c4d698a169 Have Transform only copy target_mobject if it must 2023-02-02 15:36:58 -08:00
Grant Sanderson
0e2d21bed3 Don't necessarily use VGroup with FadeTransform 2023-01-24 21:46:34 -08:00
Grant Sanderson
96bc95ef38 Allow FadeTransform to group parts as VGroup if applicable 2022-12-30 13:53:32 -08:00
Grant Sanderson
cec43dfe51 Use Vect3 type in fading.py 2022-12-30 13:53:12 -08:00
Grant Sanderson
4e8b80fe86 Ensure shift continues to be second arg of FadeOut 2022-12-14 16:27:25 -08:00
Grant Sanderson
f6858778c4 Kill config in fading 2022-12-14 11:27:00 -08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
TonyCrane
4fbe948b63
style: insert an empty line after import 2022-02-16 21:08:25 +08:00
TonyCrane
41c4023986
chore: add type hints to manimlib.animation 2022-02-15 18:39:45 +08:00
Grant Sanderson
0d238417cb Allow locking data to speed up some animations 2021-01-12 11:09:53 -10:00
Grant Sanderson
38f9686d68 Ammend FadeInFromPoint and add FadeOutToPoint 2021-01-05 18:01:23 -08:00
Grant Sanderson
bc95013ab4 Only need to align submobjects 2021-01-04 23:08:25 -08:00
Grant Sanderson
494f1899fd Make it so that FadeTransform returns moving mobject to its original state 2021-01-03 17:57:43 -08:00
Grant Sanderson
b8b44f062c Added FadeTransform and FadeTransformPieces 2021-01-03 16:53:49 -08:00
Grant Sanderson
a4b8a8d88c Get rid of old fading classes 2021-01-03 14:39:45 -08:00
Grant Sanderson
c65dfb85d2 Change arguments for Fading so that you can pass in shift and/or scale to FadeIn and FadeOut, aimed at increased readibility and flexibility 2020-12-04 08:14:15 -08:00
Grant Sanderson
35a2ade954 Added final_alpha_value parameter to Animation for things like FadeOut 2020-08-30 16:00:42 -07:00
Grant Sanderson
2d19d76675 Replace all FadeInFrom with simple FadeIn, and likewise for FadeOutFrom -> FadeOut 2020-06-07 12:35:20 -07:00
Grant Sanderson
58df38f74e Let FadeIn and FadeOut take in directions 2020-06-07 12:23:08 -07:00
Grant Sanderson
677f67cb9d VFadeInThenOut 2019-03-22 11:50:16 -07:00
Grant Sanderson
b29597d39b Added FadeInFromPoint 2019-03-19 22:28:13 -07:00
Grant Sanderson
dc18845a44 Change lag_ratio defaults 2019-03-16 22:13:09 -07:00
Grant Sanderson
1a598a002d Changed FadeInFrom default lag ratio 2019-02-12 09:44:26 -08:00
Grant Sanderson
e278c55cbe Change default FadeIn and FadeOut lag_ratio 2019-02-11 22:30:51 -08:00
Grant Sanderson
69cf682f07 Use super 2019-02-09 11:54:15 -08:00
Grant Sanderson
67a33d2e88 Use super() in __init__ functions 2019-02-09 10:56:51 -08:00
Grant Sanderson
9f3cb6f612 Minor clean up to imports 2019-02-09 10:17:37 -08:00
Grant Sanderson
395bb6434b Reimplemented fading animations based on new Animation structure 2019-02-09 10:09:45 -08:00
Grant Sanderson
10850c5af6 FadeInAndShiftFromDirection -> FadeInFrom 2019-02-09 09:36:37 -08:00
Grant Sanderson
88b35c45b8 Created fading.py and growing.py to help break up animation.creation.py 2019-02-09 09:08:57 -08:00