* feat: added section class
* fix: fixed imports in scene.py
* feat: added section class
* fix: fixed imports in scene.py
* feat: scene file writer update; needs testing
* broken test
* fixed wrong partial movie files
* feat: added animation concatenation for sections
* fix: sections can contains None as partial movie file
* fix: correct section output file names
* fix: removed media folder
* feat: section output able to extract type
* feat: added guarantee_existence tests
* fix: touch file on windows
* fix: touch file on windows
* feat: automatically create control data with --set_test flag
* feat: added tests for sections output folder
* feat: added flag to enable sections
* feat: testing section metadata file
* feat: finished metadata tests; changed enums to be extendable
* fix: removed testing files
* fix: fixed section types
* fix: fixed outdated control data
* fix: fixed simple_scenes.py
* fix: fixed section type documentation example
* feat: added section video metadata to API
* fix: isort should stop destroying the import order for commands.py
* fix: fixed types of section metadata output
* fix: better comments
* ?
* feat: added elaborate test; switched name and type in next_section call
* feat: changed testing terminology: "config" got renamed to "movie metadata"
* fix: removed unicode lambda :<
* fix: fixed control data
* fix: removed test setter
* feat: added tutorial in the documentation
* fix: updated test control data
* fix: fixed double '.' in video tests
* fix: fixed some documentation
* fix: fixed missign JSON file in docs
* fix: implemented proposed changes
* fix: better --save_sections help
* fix: better docstrings
* fix: fixed last docstring...hopefully :>
* feat: custom section output supported
* fix: removed resolved todos
* fix: added debug for movie concatenation back
* fix: removed implemented TODO
* fix: removed doubled log
* fix: changed debug to info log
* fix: fixed log test data
* fix: fixed documentation --save_sections
* feat: added section class
* fix: fixed imports in scene.py
* feat: added section class
* fix: fixed imports in scene.py
* feat: scene file writer update; needs testing
* broken test
* fixed wrong partial movie files
* feat: added animation concatenation for sections
* fix: sections can contains None as partial movie file
* fix: correct section output file names
* fix: removed media folder
* feat: section output able to extract type
* feat: added guarantee_existence tests
* fix: touch file on windows
* fix: touch file on windows
* feat: automatically create control data with --set_test flag
* feat: added tests for sections output folder
* feat: added flag to enable sections
* feat: testing section metadata file
* feat: finished metadata tests; changed enums to be extendable
* fix: removed testing files
* fix: fixed section types
* fix: fixed outdated control data
* fix: fixed simple_scenes.py
* fix: fixed section type documentation example
* feat: added section video metadata to API
* fix: isort should stop destroying the import order for commands.py
* fix: fixed types of section metadata output
* fix: better comments
* ?
* feat: added elaborate test; switched name and type in next_section call
* feat: changed testing terminology: "config" got renamed to "movie metadata"
* fix: removed unicode lambda :<
* fix: fixed control data
* fix: removed test setter
* feat: added tutorial in the documentation
* fix: updated test control data
* fix: fixed double '.' in video tests
* fix: fixed some documentation
* fix: fixed missign JSON file in docs
* fix: implemented proposed changes
* fix: better --save_sections help
* fix: better docstrings
* fix: fixed last docstring...hopefully :>
* feat: custom section output supported
* fix: removed resolved todos
* fix: added debug for movie concatenation back
* fix: removed implemented TODO
* fix: removed doubled log
* fix: changed debug to info log
* fix: fixed log test data
* Create crowdin.yml
* try fix yml
* Move files
* Revert "Move files"
This reverts commit 8d53826ae0.
* Update crowdin.yml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Changed to locale with underscore
* Changing folder for .pot files. And removing the useless sphinx-intl part.
* Updated .gitignore and crowdin configuration to follow the directory change.
* Renaming po to pot EFFECTIVELY
* Changed the file with the new (simpler) generation. Also added better display for `make i18n`
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change to two letters code
* Correct extension
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mysaa <samy.avrillon@ens-lyon.fr>
Co-authored-by: Mysaa <mysaa@myssian.home>
* Added troubleshooting snippets from the Discord
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed linting errors
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed formatting issues
* Update docs/source/installation/troubleshooting.rst
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* Added requested changes
* added reference to the stack exchange post
* fixed link displaying incorrectly
* Mentioned which aliases caused the issue
* Update docs/source/installation/troubleshooting.rst
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update docs/source/installation/troubleshooting.rst
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Moved atributation for PATH, broke up some lines
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Removed the copied answer for PATH
* Update docs/source/installation/troubleshooting.rst
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* Update docs/source/installation/troubleshooting.rst
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* bump version number
* update version in citation.cff
* generated v0.11.0 changelog, first pass
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* actually added v0.11.0 changelog to list of changelogs
* generated changelog, second pass
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* generate v0.11.0 changelog, third pass
* generated v0.11.0 changelog, fourth pass
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* pass config options for an documentation example in a tempconfig
* Revert "Revert colour of background in docs to BLACK in `Mobject` page. (#2117)"
This reverts commit c55828f087.
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
* Rename old get_area
* Add the new get_area method
* Test file
* Revert "Test file"
This reverts commit 7588d7aba6.
* Fix the gradient coloring
* Add the bounded parameter
* Add an example and reformat the docstring
* Update get_area_with_riemann_rectangles example in the docstring
* Modify the example in the Example Gallery to use the new get_area
* Modify the test for get_area_with_riemann_rectangles and add a test for get_area
* Add the npz for the tests
* Rename bounded parameter in bounded_graph
* Make the function handle different range for graph and bounded_graph
* Use point instead of get_points()
* Make more specific tests
* Change Sequence type to Tuple
Co-authored-by: Hugues Devimeux <36239975+huguesdevimeux@users.noreply.github.com>
* Update an example to enhance the difference between both `get_area` methods
* Fix a bug not taking into acount x_range
* Change the opacity of the area in the example to better see the area
* Fix a bug for non-overlapping ranges
* Add the exception to the docstring
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove `get_area_with_riemann_rectangles` and fix f-strings
* Remove references to `get_riemann_rectangles`
Co-authored-by: Léo Géré <leo.gere@inrae.fr>
Co-authored-by: Léo Géré <gere@etud.insa-toulouse.fr>
Co-authored-by: Hugues Devimeux <36239975+huguesdevimeux@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* moved inheritance graphs to reference.rst to resolve wrong link targets
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add png output support for opengl
* Handle when interactive embed should launch
* Handle when window should be created
* Remove unused import
* Remove confusing field
* Avoid creating window when any format is set
* Revert removing manim import
* Remove second log for interactive_embed
* Add force_window flag
* temp skip tests due to opengl context issue
* Fix context issue
* Try manually closing window in opengl tests
* Test disabling parallel runs
* Test disabling parallel runs
* Try clearing frame buffer on finish
* revert clear
* Skip tests that pass locally but fail windows CI
* Reenable opengl tests
* Remove stdin closed check
* Skip flakey test
* Stop window creation when save_last_frame is set
* Update config path
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
* Initial Progress
* pretty much done :)
* moved to class
* cleanup
* fix example, import and black
* Add skia-pathops dependency
* some docs
* Add Xor
* fix typo and remove stray print
* more docs
* remove stray example
* fix typo
* fix docs
* fix poetry
* fix typos
* Don't use SegmentIterator instead use RawPathIterator
* add tests
* black isort
* Minor cosmetics
* possibly fix tests
* small formatting changes
* small docs fix
* spacing
* Support more than 1 vmobject on Intersection
* Fix intersection of 3 or more Mobjects
* Add a test case for 3 mobject intersection
* black
* fix condition of undefined variable
* fix some typos
* Apply suggestions from code review
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* Perparing for internationalization
* On my way to i18n
* Making initial .pot
* Apply translations in fr
review completed for the source file '/docs/i18n/gettext/examples/camera_settings.pot'
on the 'fr' language.
* Apply translations in fr
review completed for the source file '/docs/i18n/gettext/examples/camera_settings.pot'
on the 'fr' language.
* Added some languages and changing files
* Removing translations, keeping only en
* Updating the commit history so docs are redownloaded
* Adding a bit of texts to add contributing.rst
* Apply translations in fr
at least 5% reviewed for the source file '/docs/i18n/en/LC_MESSAGES/reference/manim.mobject.geometry.CubicBezier.po'
on the 'fr' language.
Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
* Apply translations in fr
at least 5% reviewed for the source file '/docs/i18n/en/LC_MESSAGES/reference/manim.mobject.types.vectorized_mobject.po'
on the 'fr' language.
Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
* Translate /docs/i18n/en/LC_MESSAGES/index.po in fr
at least 15% reviewed for the source file '/docs/i18n/en/LC_MESSAGES/index.po'
on the 'fr' language.
Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
* Apply translations in fr
at least 15% reviewed for the source file '/docs/i18n/en/LC_MESSAGES/reference/manim.mobject.geometry.CubicBezier.po'
on the 'fr' language.
Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
* Apply translations in fr
at least 15% reviewed for the source file '/docs/i18n/en/LC_MESSAGES/reference/manim.mobject.types.vectorized_mobject.po'
on the 'fr' language.
Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
* Modified the Makefile a bit
* Added a first script to strip untranslatable content out
* Added some stripping code that needs to be re-worked.
* Finished the awk script. Commented it (a little gift to my future self).
Still need to test the generated files
Also removed the gettext folder from .gitignore
* Added folders in the .gitignore and comments to the awk script
* Pof, added the readyForTranslation file
* Removed french translations, hoping transifex will reset them
* Modified the files to trigger transifex changes
* Made the comment made by stripUntranslatable compatible with .po files syntax
* Tried another fix
* Another one bites the dust
* Why the reason is not necessary to involve ?
* Fixed .... i think
* Translate /docs/i18n/en/LC_MESSAGES/index.po in fr
at least 1% reviewed for the source file '/docs/i18n/en/LC_MESSAGES/index.po'
on the 'fr' language.
Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
* Added a paragraph in the docs explaining how to translate
* Changed the contributing a bit, thanks jpitz
* Tweaked the docs part a bit more
* Fixed a link and updated i18n
* REREREupdated the link
* How did i get my driving licence ?
* Little test about i18n build
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* New internationalized files.
* Corrected some grammar errors. Whoops.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed typo in awk file comments.
* Fix the precommit issues.
* Apply suggestions from code review - Rewrote parts of the contributing text.
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* Add link to discord server in translation.rst
* Suppression des en-tête inutiles des fichiers PO.
* Changed i18nService role to TranslationAdmin
* Translate /docs/i18n/en/LC_MESSAGES/index.po in fr
reviewed for the source file '/docs/i18n/en/LC_MESSAGES/index.po'
on the 'fr' language.
* Renamed the internationalization doc file. + Now every translatable string is sent to translation.
* Minor copyedit suggested by @Darylgolden
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Mysaa <mysaa@bernard.com.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: GameDungeon <60719255+GameDungeon@users.noreply.github.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Tested config in `~/.config/manim/manim.cfg` and `~/config/manim/manim.cfg` on Debian.
The config in `config` doesn't work, while the one in `.config` does.
* bump version number + first pass of changelog
* generate changelog, second pass
* toctree needs manual sorting
* changelog, third pass
* generated changelog, final pass
* fix a warning due to non-unique ref target
* replace old with new
* dropped redundant files
* replace examples in example_Scenes
* replace opengl_ in test
* ammend __init__
* opengl_compatibilty for Surface
* make resolution a tuple for opengl compat
* resolution changes in opengl.py
* rework sphere and enable dual renderer for 3d shapes
* adjust res for Torus
* actually drop file
* flip cairo_sphere resolution
* changes
* render each submobject individually
* make BraceLabel appear
* remove if config.renderer==opengl from mobject.py
* rewrite tests
* properly deprecate ParametricSurface
* revert rendering each submobject individually
* initialize OpenGLRenderer in Scene if config.renderer is opengl
* fix bases when config.renderer is changed
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* actually push test
* remove unused bounding_box + data from mobject.py
* overwrite tests
* use #1899 to switch renderer at runtime to make tests work
* attempt at fixing tests
* add renderer=cairo at the end of the test??
* rewrite failing test
* remove self.attr = self.attr for bracelabel
* remove accidental line in test
* remove unecessary bloat and make set_fill_by_value dual compatible
* update to remove deprecation warning
* add ParametricSurface to __all__
* deprecate ParametricSurface
* change some examples
* adjust docs
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* move plugins
* plugins in main sidebar
* restructure installation guide
* fix some removed references
* more sphinx fixes
* restructured developer installation, more cleanup
* rename some files
* rewrote MacOS installation instructions
* rewrote the windows installation guide
* cleaned up linux installation instructions
* added a lot of colons
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* improve first paragraph of installation.rst
* move docker and jupyter to separate files
* Copyediting
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* change wording regarding colab env
* copyediting, second pass
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* first mention recommended ffmpeg installation for windows
* move admonition above table of contents
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* refactor numbers.py, numbers.py now uses font_size, adjust constants in tex_mobject.py and text_mobject, remove uses of number_scale_value in favour of font_size
* adjust PolarPlane to use font_size instead of scaling
* some of the docs have been changed to use font_size, adjust constant and add font_size to markup text
* accurate scale factors
* code mobject compatibility with font_size
* number_line now takes font_size
* make tests work
* cleanup
* deprecated test raised error, fixed
* typing for NumberLine
* fix misbehaving test
* actually fix set_value
* use native font_size scaling for text_mobject.py
* add constant and adjust BraceLabel
* fix change_label
* drop scale_factor for Title
* add some supers
* maybe fixes import issues
* numberplanetest
* the merge conflict is over and the tests run
* add test for tex_size
* some changes to the docs
* properly deprecate instead of removing
* move deprecations to __init__
* drop the config
* deprecate number_Scale_value
* update version number for deprecation
* adjust test precision
* if TYPE_CHECKING check
* adjust Using Text
* add font_size parameters for numberline and fix bug with decimal_number_config
* make set_value work with opengl
* make kwarg
* fix typo
* another typo
* change dates
* add font_size property for tex_mobjects
* _font_size instead of font_size (prep for prop)
* accidental bugfix, handle separately)
* generalize text2svg
* add font_size property for text_mobject.py
* add check for greater than 0
* Attribute error in dd_labels
* str for attr in hasattr
* rewrite and fix tests
* remove debugging print
* fix error when self.height ==0
* Apply suggestions from code review
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* revert accidental @deprecated change
* fix error in line_spacing
* slight fixes
* use private attribute when checking for font_size in add_labels()
* raise a Value error when font_size < 0 + improve docs
* Apply suggestions from code review
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* deprecate azimuth_label_scale and use more descriptive deprecation message
* wrong number of dots for an import
* add font_size property for decimalmobject
* return to using public attribute
* remove redundant constant
* add comment
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Upgrade to modern Python syntax
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* bump version number to v0.9.0
* changelog for v0.9.0, first pass
* v0.9.0 changelog, second pass
* try to take care of codespell
* v0.9.0 changelog, third pass
* v0.9.0 changelog, fourth pass
* fix some docbuild warnings
* v0.9.0 changelog, final pass
* Add custom animation section to docs building blocks page
* Add CountingScene Example for Custom Animation Docs
* Fix "upto" typo
* Scale DecimalNumber
* Small tweaks to Custom Animation example
* Add updater to decimal number to remain always in center in CountingScene
* Rename mob to number in CountingScene
* Add reference classes, methods and functions to Custom Animation Example
* Make the quality medium for Custom Animation Example
* Add the explaination for Custom Animation Example
* Remove rate functions reference
* Minor tweaks to Custom Animation Example
* Incorporate review changes
* Add more explaination to the logic behind calculating value
* Incorporate review changes
* Fix references
* Remove quality medium
* Add docstring to interpolate_mobject method of Animation class
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestions from code review
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* move modules in reference manual around to have nicer sidebar structure
* use short names in page titles and sidebar
* fix broken reference
* remove some autogenerated files that shouldn't be tracked
* include module list in reference.html
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* add broadcast, with docs and generalized to any mobjects
* use opacity, not colour
* update docs to reflect opacity switch
* add example and add attrs
* switch some params around
* copyediting
* Apply suggestions from code review - lag_raito --> lag_ratio
Co-authored-by: Raghav Goel <kilacoda@gmail.com>
* add to docs
* Apply suggestions from code review
Co-authored-by: Abhijith Muthyala <73361366+abhi3019@users.noreply.github.com>
* fix typo in docs and use stroke opacity not overall opacity
* adjust docs and make remover work
* docs acting weird, drop quotes?
* add check for fill_opacity
* attempt at fixing the docs
* remove type hints in __new__ to make them work elsewhere?
* add comment
Co-authored-by: Raghav Goel <kilacoda@gmail.com>
Co-authored-by: Abhijith Muthyala <73361366+abhi3019@users.noreply.github.com>
* Fixed spelling mistake
Fixed spelling mistake for changing the font of latex text. It used to be "tricker" but has been fixed to "trickier"
* Update docs/source/tutorials/using_text.rst
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
* Add in missing context about repo cloning
* added a link to existing git instructions
* Apply suggestions from code review
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* generating v0.8.0 changelog, first pass
* bump version number
* generate v0.8.0 changelog, 2nd pass
* regenerate v0.8.0 changelog after copyediting, third pass
* regeneration of changelog for v0.8.0, final pass
* change category of one PR