Grant Sanderson
68e2909af1
Mild cleanup to Scene interactivity
2022-04-20 21:50:37 -07:00
Grant Sanderson
777b6d3778
Allow for saving and loading mobjects from file at the Scene level
2022-04-20 21:49:57 -07:00
Grant Sanderson
97400a5cf2
Update Scene.save_state and Scene.restore
2022-04-20 21:49:38 -07:00
Grant Sanderson
cb768c26a0
Add functionality for recovering mobjects from their ids (to enable copying and pasting)
2022-04-20 21:48:58 -07:00
Grant Sanderson
fdeab8ca95
Make sure AnimationGroup plays nicely with setting mobject animation status
2022-04-20 21:47:47 -07:00
Grant Sanderson
b09e6916dc
Remove VMobject.get_highlight
2022-04-20 21:47:12 -07:00
Grant Sanderson
a0c46ef3bf
Have set_animating_status recurse over family
2022-04-20 21:46:43 -07:00
Grant Sanderson
4839037503
Update Mobject.make_movable to recurse over family
2022-04-20 21:44:42 -07:00
Grant Sanderson
f636199d9a
Add Mobject.get_all_corners
2022-04-20 21:43:16 -07:00
Grant Sanderson
50f5d20cc3
Allow for saving and loading mobjects from file
2022-04-20 21:42:59 -07:00
Grant Sanderson
2dd2fb500e
Remove Mobject.get_highlight
2022-04-20 21:42:22 -07:00
Grant Sanderson
c1716895c0
Add Mobject.is_touching
2022-04-20 21:42:07 -07:00
Grant Sanderson
135f68de35
Update Mobject.is_point_touching
2022-04-20 21:41:47 -07:00
Grant Sanderson
50565fcd7a
Change the way changing-vs-static mobjects are tracked
...
Previously, Camera would keep track of which mobjects are supposed to be "static", so that it could generated their render groups once and not repeat unnecessarily. This had an awkward dependence where Scene would then need to keep track of which mobjects should and should not be considered static.
This update pushes that logic to the Mobject level, where it keeps track internally of whether it's being animated, has an updater, or can be moved around by the mouse.
2022-04-14 16:27:58 -07:00
Grant Sanderson
5a91c73b23
Merge branch 'master' of github.com:3b1b/manim into video-work
2022-04-14 14:40:14 -07:00
Grant Sanderson
5e49f20294
Add VMobject.get_highlight
2022-04-14 14:37:50 -07:00
Grant Sanderson
29816fa74c
Add get_highlight
2022-04-14 14:37:38 -07:00
Grant Sanderson
95f56f5e80
Be sure has_updater_status is properly updated after clear
2022-04-14 14:37:12 -07:00
Grant Sanderson
6a01e36b36
Minor cleanup
2022-04-14 14:36:17 -07:00
TonyCrane
bda7f98d2e
release: ready to release v1.6.1
2022-04-13 10:36:38 +08:00
TonyCrane
9d74e8bce3
docs: update changelog for #1783 #1785 #1788 #1791
2022-04-13 10:34:59 +08:00
Grant Sanderson
845ee83f71
Merge pull request #1791 from 3b1b/fix_image_mobject
...
Fix `ImageMobject` by overriding `set_color` method
2022-04-12 08:13:01 -07:00
TonyCrane
55684af27d
fix: fix ImageMobject by overriding set_color method
2022-04-12 20:20:03 +08:00
Grant Sanderson
859680d5ab
Merge pull request #1788 from 3b1b/interpolate-fix
...
Interpolate fix
2022-04-11 10:51:05 -07:00
Grant Sanderson
dc4b9bc93c
Use outer_interpolate for NumberLine.number_to_point
2022-04-11 10:47:26 -07:00
Grant Sanderson
705f1a528b
Separate functionality of ordinary linear interpolation from that using np.outer on arrays
2022-04-11 10:47:11 -07:00
Grant Sanderson
e8ac25903e
Add case for zero vectors on angle_between_vectors
2022-04-11 09:59:24 -07:00
Grant Sanderson
773520bcd9
Merge pull request #1785 from YishiMichael/master
...
Fix bug when handling multi-line tex
2022-04-11 09:52:51 -07:00
Grant Sanderson
d26b8a826c
Merge pull request #1783 from EbbDrop/more-special-string
...
Added a \overset as a special string
2022-04-11 09:50:33 -07:00
YishiMichael
12bfe88f40
Some refactors
2022-04-11 23:44:33 +08:00
YishiMichael
36d62ae1a3
Add regex parameter
2022-04-10 09:23:53 +08:00
YishiMichael
e23f667c3d
Fix bug when handling multi-line tex
2022-04-10 08:36:13 +08:00
EbbDrop
2277679111
Added a \overset as a special string
2022-04-08 23:06:08 +02:00
TonyCrane
9d7db7aacd
release: ready to release v1.6.0
2022-04-07 11:00:43 +08:00
TonyCrane
e8430b38b2
docs: update changelog for #1781
2022-04-07 10:57:21 +08:00
鹤翔万里
1f32a9e674
Some fix ( #1781 )
...
* fix: reduce warning from numpy
* fix: fix ControlsExample
2022-04-07 10:50:18 +08:00
TonyCrane
d31f3df5af
docs: update changelog for #1779 #1780
2022-04-07 10:05:04 +08:00
鹤翔万里
e9bf13882e
Merge pull request #1780 from YishiMichael/master
...
Add support for `substring` and `case_sensitive` parameters
2022-04-07 09:58:39 +08:00
YishiMichael
3550108ff7
Handle out-of-bound spans
2022-04-07 09:48:44 +08:00
Grant Sanderson
d7bdcab161
Tiny formatting change
2022-04-06 13:04:44 -07:00
Grant Sanderson
3b847da9ea
Update parent updater status when adding updaters
2022-04-06 13:04:05 -07:00
Grant Sanderson
217c1d7bb0
Add start angle option to Circle
2022-04-06 13:03:36 -07:00
YishiMichael
557707ea75
Support substring and case_sensitive parameters
2022-04-07 00:46:41 +08:00
Grant Sanderson
13c731e166
Merge pull request #1779 from YishiMichael/master
...
Refactor `LabelledString` and relevant classes
2022-04-06 08:53:23 -07:00
YishiMichael
d349c9283d
Merge branch 'master' of https://github.com/YishiMichael/manim
2022-04-06 23:17:19 +08:00
YishiMichael
18963fb9fe
Some refactors on LabelledString
2022-04-06 23:16:59 +08:00
YishiMichael
a69c9887f9
Merge branch '3b1b:master' into master
2022-04-06 22:39:26 +08:00
YishiMichael
93f8d3f1ca
Some refactors on LabelledString
2022-04-06 22:38:33 +08:00
TonyCrane
e4ccbdfba9
docs: update changelog since v1.5.0
2022-04-06 11:14:45 +08:00
YishiMichael
fc97bfb647
Merge branch '3b1b:master' into master
2022-04-05 22:28:39 +08:00