-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented decorator :func:.manimation
for building a scene from a construct method
#1901
Open
behackl
wants to merge
280
commits into
ManimCommunity:main
Choose a base branch
from
behackl:manim-scene-decorator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
280 commits
Select commit
Hold shift + click to select a range
b048695
Fix tests to run on Cairo 1.18.0 (#3416)
naveen521kk 76b4061
Fix: Fixed a bug in regards to empty inputs in AddTextLetterByLetter …
Immanuel-Alvaro-Bhirawa 5193e1c
Introduce new workflow creating a downloadable version of the documen…
behackl b7eefca
Fix incorrect submobject count of multi-part Tex/MathTex mobjects by …
behackl b7a8a2d
CI: fix caching of cairo (#3419)
naveen521kk 5d73525
Fix CSV reader adding empty lists in rendering summary (#3430)
JasonGrace2282 190ae5d
Fix None check order in _tree_layout (#3421)
Nikhil-42 1b88099
Bump teatimeguest/setup-texlive-action from 2 to 3 (#3431)
dependabot[bot] 25bb381
bump dependencies -- see #3241 (#3433)
haraldschilly d77a47a
Fix Typing (#3086)
MrDiver 652f1b3
fix: issue with ImageMobject bounding box (#3340)
vaclavblazej 8fe1665
chore(deps): add Python 3.12 support (#3395)
jeertmans 3962a12
Added ability to remove non-svg LaTeX files (#3322)
JasonGrace2282 20028ce
feat: DecimalNumber() - added spacing between values and unit (#3366)
uwezi adfef5e
Add option to run examples directly with binder (#3427)
naveen521kk e66c580
Prepare v0.18.0 (#3439)
behackl 4315549
Fixed wrong path in action building downloadable docs (#3450)
behackl 94711f7
Allow accessing ghost vectors in :class:`.LinearTransformationScene` …
JasonGrace2282 212bca0
Add type hints to `_config` (#3440)
Viicos 28bf4dd
Fix Idicate docs typo (#3461)
Lawqup 7cead84
Update indication.py (#3477)
jcep 6949c66
Optimized `get_unit_normal()` and replaced `np.cross()` with custom `…
chopan050 61a2d05
Update dependency constraints, fix deprecation warnings (#3376)
Viicos 7590086
fix 360° to 180° in quickstart tutorial (#3498)
40766cb
Update Docker base image to python3.12-slim (#3458) (#3459)
melodysium 27d5360
fix line_join to joint_type in example_scenes/basic.py (#3510)
0cba710
fix typo in docstring for DtUpdater example: line -> square (#3509)
yuan-xy 370d883
Implement caching of fonts list to improve runtime performance (#3316)
MrDiver 3f118e4
Removed deprecated new command (#3512)
chopan050 03f9d4b
Added `cap_style` feature to `VMobject` (#3516)
MathItYT 018e4a3
feat(cli): optionally hide version splash (#3329)
jeertmans 64a0e9d
Reformatting the `--save_sections` output to have the format `<Scene>…
doaamuham 9a35756
Explain ``.Transform`` vs ``.ReplacementTransform`` in quickstart exa…
JasonGrace2282 18a7294
Fix formatting building blocks (#3515)
MrDiver 912ae76
Bump jupyter-server from 2.9.1 to 2.11.2 (#3497)
dependabot[bot] 0a24cad
Account for dtype in the pixel array so the maximum value stays corre…
jeertmans 9938bf5
Added `grid_lines` attribute to `Rectangle` to add individual styling…
RobinPH d390978
Fix rectangle grid properties (#3082) (#3513)
pauluhlenbruck 1704374
Fix animations with zero runtime length to give a useful error instea…
MrDiver 98a7f42
fixed the stroke width issue with single color in streamlines (#3436)
yashm277 fc42710
Add Documentation to `.to_edge` and `to_corner` (#3408)
TheMathematicFanatic b69e1d7
Adding the ability to pass lists and generators to .play() (#3365)
MrDiver cac608b
follow-up to #3491, made errors more consistent. fixes #3527
behackl 196fa1f
chore(docs): add some words about Cairo 1.18 (#3530)
jeertmans 8ea8f25
Fix formatting of ``MoveAlongPath`` docs (#3541)
JasonGrace2282 dd327a3
Fixed Animate Type-hint (#3543)
JasonGrace2282 3037f0e
Remove wag method from Mobject (#3539)
JasonGrace2282 34e7d68
Fix typo of `get_y_axis_label` docstring (#3547)
yuan-xy 9b18a86
Finish TODO's in ``contributing/typings.rst`` (#3545)
JasonGrace2282 472eaae
Fix use of `Mobject`'s deprecated `get_*()` and `set_*()` methods in …
JasonGrace2282 4a963c4
add note in docstring of ManimColor about class constructors (#3554)
JasonGrace2282 02391d7
Added support for Manim type aliases in Sphinx docs + Added new TypeA…
chopan050 286f366
Improve documentation section about contributing to docs (#3555)
chopan050 3b496ea
Add helpful hints to `VGroup.add()` error message (#3561)
vvolhejn 4e3cfd2
exception add if new_rings is none (#3574)
hydromelvictor 9a84ec6
Fix typing of `Animation` (#3568)
dandavison a57fb69
Add 'to be used in the future' TODOs to ManimFrame (#3553)
chopan050 68bd790
Refactor `TexTemplate` (#3520)
Viicos 775482b
Bump github/codeql-action from 2 to 3 (#3567)
dependabot[bot] 9d880c2
Bump actions/upload-artifact from 3 to 4 (#3566)
dependabot[bot] 9289a5c
Bump actions/setup-python from 4 to 5 (#3565)
dependabot[bot] 8264595
updated several packages (pillow, jupyterlab, notebook, jupyterlab-ls…
behackl 7006d6b
Removed -s / --save_last_frame flag from CLI arguments (#3528)
Gixtox 175cb89
fix write_subcaption_file error when using opengl renderer (#3546)
yuan-xy f8b5066
Update docker.rst to use bash from the PATH (#3582)
NotWearingPants d0fe0c3
fix typo in value_tracker.py (#3594)
yuan-xy e2cec98
fix `get_arc_center()` returning reference of point (#3599)
sparshg f70980a
Add ref_class (#3598)
JasonGrace2282 65d352d
Fix typehint (#3592)
JasonGrace2282 1520481
Update ci.yml (#3611)
behackl ed1b203
fix type hint of indication.py (#3613)
yuan-xy 011c36a
Revert vector type aliases to NumPy ndarrays (#3595)
chopan050 fcd81b2
Improve handling of specified font name (#3429)
staghado 206f874
Remove support for dynamic plugin imports (#3524)
Viicos c7e7ca2
Run poetry lock --no-update (#3621)
JasonGrace2282 77d42d2
Update jupyter.rst (#3630)
abul4fia 9f3d486
Fix Vector3 -> Vector3D in contributing docs (#3639)
JasonGrace2282 f65ebf2
Bump black from 23.12.1 to 24.3.0 (#3649)
dependabot[bot] d1cf1c5
Bump cryptography from 42.0.0 to 42.0.4 (#3629)
dependabot[bot] 7a794e3
Code Cleanup: removing unused imports and global variables (#3620)
JasonGrace2282 909ffde
Fixing the behavior of `.become` to not modify target mobject via sid…
MrDiver afe1d18
Added some examples for `Mobject`/`VMobject` methods (#3641)
JasonGrace2282 ef675b6
Fix typehint of `Vector` direction parameter (#3640)
JasonGrace2282 c025be6
Fix bug in :class:`.VMobjectFromSVGPath` (#3677)
abul4fia 1aad0c7
Flake8 rule C901 is about McCabe code complexity (#3673)
cclauss 7936c7d
Fix broken link to Poetry's installation guide in the first time cont…
biinnnggggg d62a04f
Fix minor grammatical errors found in the index page of the documenta…
biinnnggggg a6da37b
fix(LICENSE): update year (#3689)
JasonGrace2282 294313d
Remove deprecated parameters and animations (#3688)
JasonGrace2282 93cf85c
Attempted fix for windows cp1252 encoding failure (#3687)
JasonGrace2282 b750152
Fix typo (#3696)
biinnnggggg aef8184
Docs: fix out-dated CLI option in Manim's Output Settings (#3674)
HairlessVillager 902c3f4
only do actions if try succeeded (#3694)
JasonGrace2282 2a4c2da
Mention pixi in installation guide (#3678)
pavelzw 2776612
Fix successive calls of :meth:`.LinearTransformationScene.apply_matri…
SirJamesClarkMaxwell a45c0d4
Bump actions/cache from 3 to 4 (#3607)
dependabot[bot] dc0db41
Bump FedericoCarboni/setup-ffmpeg from 2 to 3 (#3608)
dependabot[bot] 04bfa22
Bump ssciwr/setup-mesa-dist-win from 1 to 2 (#3609)
dependabot[bot] 5139765
docs: update typing guidelines (#3704)
JasonGrace2282 f9dc9c7
Update documentation and typings for `ParametricFunction` (#3703)
danielzsh 679b89a
fix(copyright): automate copyright updating for docs (#3708)
JasonGrace2282 f8e3408
Fix some typehints in mobject.py (#3668)
JasonGrace2282 83957b9
Bump idna from 3.6 to 3.7 (#3693)
dependabot[bot] dff83be
Bump pillow from 10.2.0 to 10.3.0 (#3672)
dependabot[bot] 563810a
Fix typo (#3721)
TheCrowned 0fd16b8
Fixed `Mobject.put_start_and_end_on` with same start and end point (#…
MontroyJosh 1aee37b
[pre-commit.ci] pre-commit autoupdate (#3332)
pre-commit-ci[bot] a4e5233
fix(autoaliasattr): search for type aliases under if TYPE_CHECKING (#…
JasonGrace2282 c32f0fd
build(deps): read-the-docs sphinx (#3720)
JasonGrace2282 aa3e2cf
Fix issue where SpiralIn doesn't show elements. (#3589)
Gixtox a3adcaa
Clean Graph layouts and increase flexibility (#3434)
Nikhil-42 0f268e6
Follow-up to graph layout cleanup: improvements for tests and typing …
behackl 791a892
Update coordinate_systems.py (#3730)
amrear a3d584b
build(ci): change from macos-latest to macos-13 (#3729)
JasonGrace2282 98641a2
Add ``--preview_command`` cli flag (#3615)
JasonGrace2282 1ce3edd
AnimationGroup: optimized interpolate() and fixed alpha bug on finish…
chopan050 c4e7502
Fixed ```get_anchors()``` Return Type Inconsistency (#3214)
JinchuLi2002 6cb89a0
fixed [""] being set as loaded plugins (#3734)
behackl 33e5604
Prepare new release: v0.18.1 (#3719)
behackl 4a0c705
feat: Add three animations that together simulate a typing animation …
VinhPhmCng a56c0c9
Fix release documentation building (#3737)
JasonGrace2282 31f1895
[pre-commit.ci] pre-commit autoupdate (#3739)
pre-commit-ci[bot] 93c601f
Fixes #3744 (#3745)
anagorko e4ee9a0
Bump tqdm from 4.66.1 to 4.66.3 (#3746)
dependabot[bot] 94cd27c
Bump jinja2 from 3.1.3 to 3.1.4 (#3750)
dependabot[bot] 4bd2f86
Add typehints to `manim.utils.iterables` (#3751)
JasonGrace2282 1f249e4
Let `SceneFileWriter` access `ffmpeg` via `av` instead of via externa…
behackl 203a536
Use --py39-plus in pre-commit (#3761)
JasonGrace2282 b415604
Optimized `manim.utils.bezier.is_closed()` (#3768)
chopan050 7b841c2
Created and optimized Bézier splitting functions such as `partial_bez…
chopan050 7399585
Bump requests to 2.32.0 (#3776)
dependabot[bot] 0d67dcd
Fix assertions and improve error messages when adding submobjects (#3…
chopan050 21eb0b7
Add pyproject for ruff formatting (#3777)
JasonGrace2282 24025b6
pre-commit change to ruff (#3779)
JasonGrace2282 c9776be
Ignore Ruff format in git blame (#3781)
Viicos 0a2fbbe
Fixed `there_and_back_with_pause()` rate function behaviour with diff…
jkjkil4 938b8fc
Optimize VMobject methods which append to points (#3765)
chopan050 90ae6ad
Add `@` shorthand for `CoordinateSystem` methods `coords_to_point` (`…
JasonGrace2282 31df6d0
[pre-commit.ci] pre-commit autoupdate (#3784)
pre-commit-ci[bot] aec3d86
[pre-commit.ci] pre-commit autoupdate (#3794)
pre-commit-ci[bot] 252aac3
Add Ruff Lint (#3780)
JasonGrace2282 e74f37e
Replace Pyupgrade with Ruff rule (#3795)
JasonGrace2282 e30ed6e
Bump tornado from 6.4 to 6.4.1 (#3796)
dependabot[bot] c2fa4f9
Update opengl_vectorized_mobject.py (#3790)
yang-tsao ece1235
[pre-commit.ci] pre-commit autoupdate (#3801)
pre-commit-ci[bot] 4641c0a
Add typings to `OpenGLMobject` (#3803)
chopan050 3ed86a8
fix: importing manim should not trigger pygments.styles.get_all_style…
goldenphoenix713 7802e73
[pre-commit.ci] pre-commit autoupdate (#3809)
pre-commit-ci[bot] 56354af
Bump urllib3 from 2.2.1 to 2.2.2 (#3810)
dependabot[bot] 82ff488
Update macos packages (#3812)
JasonGrace2282 89d5ed4
Fixed infinite loop in OpenGL `BackgroundRectangle.get_color()` (#3732)
camburd2 fdb4e37
docs(contributing): add manim.typing guide (#3669)
JasonGrace2282 d5cdd79
Fix `DiGraph` edges not fading correctly on `FadeIn` and `FadeOut` (#…
Nikhil-42 a70aeee
[pre-commit.ci] pre-commit autoupdate (#3823)
pre-commit-ci[bot] 93a20cd
feat(autoaliasattr): Implement documentation of TypeVar's (#3818)
JasonGrace2282 0d21a7e
Fixed `Arrow3D.put_start_and_end_on()` to use the actual end of the a…
SirJamesClarkMaxwell 64ab9ad
Optimized `manim.utils.bezier.get_smooth_cubic_bezier_handle_points()…
chopan050 8d70b0e
Fix docker profile (#3827)
JasonGrace2282 d117c9f
Doc: add docstrings to Brace (#3715)
biinnnggggg 1260346
[pre-commit.ci] pre-commit autoupdate (#3834)
pre-commit-ci[bot] 73200d6
Bump docker/build-push-action from 5 to 6 (#3835)
dependabot[bot] 8614b98
[pre-commit.ci] pre-commit autoupdate (#3844)
pre-commit-ci[bot] bb98eca
Bump certifi from 2024.2.2 to 2024.7.4 (#3841)
dependabot[bot] 246e44b
Fix incorrect version number in plugin section in docs (#3849)
JasonGrace2282 bf2feee
Bump zipp from 3.18.2 to 3.19.1 (#3847)
dependabot[bot] 67f95db
Rename typing.Image type aliases to PixelArray to avoid conflict with…
chopan050 7562596
Change from tempconfig to a config fixture in tests (#3853)
JasonGrace2282 628a545
Fix :attr:`.ManimConfig.format` not updating movie file extension (#3…
JasonGrace2282 1df1709
Rewrite `manim.utils.bezier.get_quadratic_approximation_of_cubic()` t…
chopan050 3a71411
Log execution time of scene rendering in the Manim Checkhealth comman…
chopan050 374eeeb
Optimize `VMobject.pointwise_become_partial()` (#3760)
chopan050 b064af9
Update macos.rst (#3857)
Elastino 205f746
Update docker to use ENV x=y instead of ENV x y (#3858)
JasonGrace2282 f1ce512
Fixed behavior of `config.background_opacity < 1` and duplicated log …
abul4fia a03e73c
[pre-commit.ci] pre-commit autoupdate (#3865)
pre-commit-ci[bot] fa65b48
Fix pre-commit linting (#3877)
JasonGrace2282 c8fe4d9
Use ruff for pytest style (#3872)
JasonGrace2282 0843632
feat: set_default for Animation class (#3876)
christopher-hampson f463423
Use ruff instead of flake8-simplify (#3873)
JasonGrace2282 3aad355
[pre-commit.ci] pre-commit autoupdate (#3880)
pre-commit-ci[bot] d6dac76
Change flake8-comprehensions and flake8-bugbear to ruff (#3882)
JasonGrace2282 3a4ab4c
Rename parameters and variables conflicting with builtin functions (#…
JasonGrace2282 20d0194
Added `colorscale` to `axes.plot()` (#3148)
alembcke 2075f82
Fix :meth:`.OpenGLMobject.invert` not reassembling family (#3885)
JasonGrace2282 c47b2d5
Experimenting with an HSV class (#3518)
MrDiver 5bda107
Fix typo from HSV PR (#3887)
JasonGrace2282 85d9ac8
[pre-commit.ci] pre-commit autoupdate (#3889)
pre-commit-ci[bot] 17e5a77
Replace the TypeError message code in the _typecheck_input method in …
irvanalhaq9 11ea416
Significantly reduce rendering time with a separate thread for writin…
smu160 0ac0386
[pre-commit.ci] pre-commit autoupdate (#3896)
pre-commit-ci[bot] c0b0487
Run poetry lock (#3895)
JasonGrace2282 aa660c7
Fix typehint of :meth:`.Scene.restructure_mobjects`. (#3902)
fogsong233 99ce78f
[pre-commit.ci] pre-commit autoupdate - Ruff (#3904)
pre-commit-ci[bot] d029beb
bugfix: convert non-`.wav`/`.raw` files to `.wav` before passing to p…
behackl 2462d0d
[pre-commit.ci] pre-commit autoupdate (#3911)
pre-commit-ci[bot] 32cc7ab
fix type hint, change int to float (#3916)
irvanalhaq9 95966a7
[pre-commit.ci] pre-commit autoupdate (#3918)
pre-commit-ci[bot] 76e6a57
Remove inner radius for :class:`.Sector` (#3922)
irvanalhaq9 8deac51
Changing the 'side_length' attribute to a property (#3901)
irvanalhaq9 1097ed9
Standardize docstrings with ruff pydocstyle rules (#3881)
JasonGrace2282 2536b7f
feat: preserve original TeX colors (#3903)
christopher-hampson 74f79a4
Use Ruff pygrep rules (#3923)
JasonGrace2282 1dcb812
Bump cryptography from 43.0.0 to 43.0.1 (#3931)
dependabot[bot] d6f066c
Fix np.float_ to np.float64 while using numpy >= 2.0 (#3940)
geoochi 0a96aac
os.system -> subprocess (#3955)
achille-fouilleul 5788f81
Set AAC codec for audio in mp4 files, add transcoding utility (#3956)
achille-fouilleul 75a7525
Optimized `interpolate` and `bezier` in `manim.utils.bezier` (#3960)
chopan050 0cdfd4b
Fix: `.to_edge()`'s example demonstration in docs (#3958)
DuskyElf 225efca
Use Github Markdown on README (#3925)
JasonGrace2282 fc58a46
Fixed typehint in types.rst and replaced outdated reference to manim.…
JasonGrace2282 ce1fff6
Improve line rendering performance by decreasing redundant subdivisio…
nitzanbueno 96e58ae
Fix typehints of `ParametricFunction` (#3926)
JasonGrace2282 39382e6
[pre-commit.ci] pre-commit autoupdate (#3929)
pre-commit-ci[bot] d5b8b41
Implemented `VGroup` parsing iterables (#3966)
NikhilaGurusinghe 327db11
Added example to documentation for moving_camera_scene module (#3972)
Jackyuanx a395ffd
Allow videos to be embedded in Google Colab without explicitly settin…
skusel 8773252
Type annotation work in manim/mobject/geometry/ (#3961)
henrikmidtiby 20f44b4
Added `PointND` and `PointND_Array` typing aliases (#3980)
chopan050 f65b7f8
Refactored `run_time` validation for `Animation` and `Scene.wait()` (…
chopan050 2570a25
Add `scale_stroke` boolean parameter to `VMobject.scale()` to allow s…
Boris-Filin 9f1f239
Allow :class:`.SurroundingRectangle` to accept multiple Mobjects (#3964)
Boris-Filin c6edb33
Feat: dvipsnames and svgnames color palettes (#3913)
christopher-hampson ee0501c
Add type hints to `manim.cli` module (#3988)
chopan050 97efef4
Add a time property to Scene (#3997)
JasonGrace2282 a21a5e5
Stop ignoring manim.plugins errors in mypy.ini (#4006)
chopan050 ab577dc
Add typings to `manim/__main__.py` (#4007)
chopan050 c516932
Fix scene skipping for `config.upto_animation_number` (`-n` flag in C…
behackl 8f6eaf3
Bump tornado from 6.4.1 to 6.4.2 (#4023)
dependabot[bot] faecdd3
[pre-commit.ci] pre-commit autoupdate (#3987)
pre-commit-ci[bot] 7f23849
Update manim/scene/scene.py
MrDiver d973506
add a simple Scene.__call__ for convenient rendering
behackl d3f05d7
add decorator for constructing scene class
behackl 81bbfa1
black
behackl e7914a6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b114bbe
polished implementation, added decorator docstring
behackl e449b30
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b051c79
Proposal for adhoc addition of `@manimation` to work with cli
MrDiver 486b1b6
Test if cyclic import
MrDiver 0aa5c1c
comment cyclic import until solved
MrDiver d6a3f2c
comment cyclic import until solved
MrDiver a92f6aa
Update module_ops.py
MrDiver 75b3104
Update module_ops.py
MrDiver 1735ff0
reordered imports to be used inside function
MrDiver 8d3ff53
Update manim/scene/scene.py
MrDiver e4aac44
Fixing conflicts with main
MrDiver 6b183c7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 03f397d
Fixing conflicts with main
MrDiver 98aca69
Adding error for different name than self as first parameter to const…
MrDiver 4449c99
Fixing merge conflicts in docstrings
MrDiver 62fe01a
Merge branch 'manim-scene-decorator' of github.com:behackl/manim into…
MrDiver File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check failure
Code scanning / CodeQL
Module-level cyclic import Error