Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jeertmans/manim-slides
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.3.0
Choose a base ref
...
head repository: jeertmans/manim-slides
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Oct 31, 2022

  1. feat: add option for background color (#60)

    * feat: add option for background color
    
    This allows to define the background color used for border when resize mode is set to "keep".
    
    Closes #52
    
    * [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>
    jeertmans and pre-commit-ci[bot] authored Oct 31, 2022
    Copy the full SHA
    cb6a5bb View commit details
  2. chore(cli): change metavar for some options (#61)

    This changes some metavars such that `--help` output is closer to the Sphinx documentation.
    jeertmans authored Oct 31, 2022
    Copy the full SHA
    4d5f664 View commit details
  3. Copy the full SHA
    916e2aa View commit details
  4. Create FUNDING.yml

    jeertmans authored Oct 31, 2022
    Copy the full SHA
    8f519ed View commit details
  5. refactor(lib): change PyQT5 to PySide6 (#62)

    * refactor(lib): change PyQT5 to PySide6
    
    This, hopefully, should now add support for M1 chips
    
    * chore: update README and change imports
    jeertmans authored Oct 31, 2022
    Copy the full SHA
    3eb9fa0 View commit details
  6. Copy the full SHA
    422e355 View commit details
  7. Copy the full SHA
    b1a8768 View commit details
  8. Copy the full SHA
    534bc21 View commit details
  9. Copy the full SHA
    8b56f42 View commit details
  10. Copy the full SHA
    144e7da View commit details
  11. Copy the full SHA
    48cc334 View commit details
  12. fix(ci): another try

    jeertmans committed Oct 31, 2022
    Copy the full SHA
    929caec View commit details
  13. fix(ci): try fix

    jeertmans committed Oct 31, 2022
    Copy the full SHA
    668de2c View commit details
  14. feat(cli): read environ variable for verbosity (#63)

    * feat(cli): read environ variable for verbosity
    
    * [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>
    jeertmans and pre-commit-ci[bot] authored Oct 31, 2022
    Copy the full SHA
    e3e7961 View commit details

Commits on Nov 2, 2022

  1. feat(cli): add app icon (#64)

    * feat: add icon
    
    * feat: add app icon
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix(lint): ignore resources file with mypy
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    jeertmans and pre-commit-ci[bot] authored Nov 2, 2022
    Copy the full SHA
    a373bdb View commit details

Commits on Nov 9, 2022

  1. feat(cli): add convert option to generate html presentations (#66)

    * wip(cli): convert slides to html using RevealJS
    
    * wip: convert - almost fully working
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix: remove unused file
    
    * fix: add last slides in now performed during rendering
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * chore(ci): testing ConvertExample too
    
    * fix: ManimGL does not consider wait as an animation
    
    * [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>
    jeertmans and pre-commit-ci[bot] authored Nov 9, 2022
    Copy the full SHA
    9aa715a View commit details
  2. Copy the full SHA
    06890ce View commit details
  3. Copy the full SHA
    f26541e View commit details

Commits on Nov 15, 2022

  1. [pre-commit.ci] pre-commit autoupdate (#67)

    updates:
    - [github.com/pre-commit/mirrors-mypy: v0.982 → v0.990](pre-commit/mirrors-mypy@v0.982...v0.990)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Nov 15, 2022
    Copy the full SHA
    7367cc2 View commit details

Commits on Nov 16, 2022

  1. Copy the full SHA
    82eebae View commit details
  2. Remove redundant black hook & specify minimal supported python versio…

    …n for hooks (#70)
    
    * fix(ci): remove duplicated hook
    
    * feat(ci): specify minimal supported python version - hooks
    tdadela authored Nov 16, 2022
    Copy the full SHA
    80f4f4e View commit details

Commits on Nov 18, 2022

  1. docs: correct virtual environment information (#72)

    * docs: correct virtual environment information
    
    * fix: format
    
    Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>
    tdadela and jeertmans authored Nov 18, 2022
    Copy the full SHA
    726b0ab View commit details

Commits on Nov 23, 2022

  1. [pre-commit.ci] pre-commit autoupdate (#73)

    updates:
    - [github.com/pre-commit/mirrors-mypy: v0.990 → v0.991](pre-commit/mirrors-mypy@v0.990...v0.991)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Nov 23, 2022
    Copy the full SHA
    82cccc3 View commit details

Commits on Nov 28, 2022

  1. Copy the full SHA
    1ae8db7 View commit details
  2. Fix flake8 check errors: unused imports, tab warning (#68)

    * fix: unused imports, hide tab warning for the str
    
    * refactor(defaults.py): move revealjs_template to separate file
    
    * fix(lib): move data files and use pkg_resources
    
    * fix(lib): remove unused and unexisting import
    
    * fix(ci): only test conversion with Manim
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix(ci): test ManimGL on Python 3.10, not 3.11
    
    * fix(lib): include package data in setup.py
    
    * fix(ci): no fail-fast
    
    * fix(ci): typo
    
    Co-authored-by: Jérome Eertmans <jeertmans@icloud.com>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people authored Nov 28, 2022
    Copy the full SHA
    85ea9f3 View commit details
  3. chore(lib): add missing type hints and mypy is happy! (#75)

    * chore(lib): add missing type hints and mypy is happy!
    
    Closes #34
    
    * fix(ci): add missing dep for mypy
    jeertmans authored Nov 28, 2022
    Copy the full SHA
    2f0453c View commit details

Commits on Nov 29, 2022

  1. [pre-commit.ci] pre-commit autoupdate (#77)

    updates:
    - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
    - [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Nov 29, 2022
    Copy the full SHA
    0c682e4 View commit details
  2. chore(setup): move setup config to pyproject.toml (#78)

    * chore(setup): move setup config to pyproject.toml
    
    * fix(ci): modify build steps
    
    * fix(ci): remove / exclude useless stuff
    
    * fix(ci): exclude does not work
    jeertmans authored Nov 29, 2022
    Copy the full SHA
    d6bb822 View commit details

Commits on Dec 2, 2022

  1. refactor(lib): rename main to __main__ (#82)

    * refactor(lib): rename `main` to `__main__`
    
    This allows to call the module using `python -m manim-slides`, useful for profiling, etc.
    
    * fix(setup): update name
    jeertmans authored Dec 2, 2022
    Copy the full SHA
    1bca268 View commit details
  2. chore(speed): avoid unnecessary color conversion (#83)

    * chore(speed): avoid unnecessary color conversion
    
    This speeds up a bit the presentation by avoiding color conversion from BGR (OpenCV) to RGB.
    
    * [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>
    jeertmans and pre-commit-ci[bot] authored Dec 2, 2022
    Copy the full SHA
    97e7bf8 View commit details

Commits on Dec 3, 2022

  1. feat(cli): check for newer Manim Slides version (#85)

    * chore(deps): drop support for Python 3.7
    
    In link with the recent release of [Manim v0.17.0](https://github.com/ManimCommunity/manim/releases/tag/v0.17.0), Manim Slides drops support for Python 3.7.
    
    * feat(cli): check for newer Manim Slides version
    
    Uses same logic as manim to check for a new version
    
    * fix(lib): reset correct version
    
    * fix(ci): add type stubs for requests
    jeertmans authored Dec 3, 2022
    Copy the full SHA
    bf64962 View commit details
  2. chore(deps): drop support for Python 3.7 (#84)

    * chore(deps): drop support for Python 3.7
    
    In link with the recent release of [Manim v0.17.0](https://github.com/ManimCommunity/manim/releases/tag/v0.17.0), Manim Slides drops support for Python 3.7.
    
    * feat(cli): check for newer Manim Slides version
    
    Uses same logic as manim to check for a new version
    
    * fix(lib): reset correct version
    
    * chore(setup): remove 3.7 classifier
    jeertmans authored Dec 3, 2022
    Copy the full SHA
    0310786 View commit details
  3. Copy the full SHA
    8dfe600 View commit details

Commits on Dec 5, 2022

  1. chore(version): fixing all CI tests (#76)

    * fix(ci): add Ubuntu dep and change pip install
    
    * fix(ci): typo
    
    * fix(ci): add missing deps for Ubuntu
    
    * fix(ci): typo in pkg name
    
    * fix(ci): trying to install manimpango
    
    * fix(ci): append bin to path on MacOS
    
    * fix(ci): install Python setup tool
    
    * try(ci): trying some stuff
    
    * fix(ci): remove useless pkgs
    
    * fix(ci): check manimpango and remove pyopengl
    
    * try(ci): try fix
    
    * try(ci): cleaner workflow
    
    * fix(ci): missing dollar
    
    * try(ci): minimal platform
    
    * try(ci): test
    
    * fix(ci): reset offscreen option
    
    * fix(ci): add opengl dep
    
    * fix(ci): xvfb for pyglet
    
    * fix(ci): correctly set env var
    
    * try(ci): set DISPLAY env var at the beginning
    
    * test(ci): switch minimal to offscreen
    
    * test(ci): remove QT debug env var
    
    * try(ci): fixing manimgl issue
    
    * Revert "try(ci): fixing manimgl issue"
    
    This reverts commit f76c058.
    
    * try(ci): manimgl to manim-render
    
    * try(ci): verbose
    
    * fix(ci): update linux deps
    
    * fix(ci): typo
    
    * fix(ci): typo in deps
    
    * fix(ci): typo
    
    * fix(ci): test other deps
    
    * test(ci): install manimpango
    
    * try(ci): test
    
    * test(ci): print help
    
    * test(ci): reset verbose mode
    
    * fix(ci): typo
    
    * chore(setup): use poetry
    
    * chore(setup): cache installs
    
    * fix(ci): swap order
    
    * fix(ci): poetry install
    
    * chore(setup): add manim/manimgl to dev-deps
    
    * try(ci): some test
    
    * try(ci): import two maybe conflicting packages
    
    * fix(ci): typo in cmd
    
    * fix(ci): only check if manimgl
    
    * fix(ci): remove useless check
    jeertmans authored Dec 5, 2022
    Copy the full SHA
    0565a99 View commit details
  2. Copy the full SHA
    519dd47 View commit details

Commits on Dec 6, 2022

  1. feat(cli): speedup scaling with painter scaling (#88)

    As suggested by PySide6's documentation, we avoid using pixmap.scaled() on every frame, but use scaled content to resize the image. This seems to ignore ratio, explaining why we need a new option flag.
    jeertmans authored Dec 6, 2022
    Copy the full SHA
    a68a4e1 View commit details
  2. chore(deps): add dependency groups (#89)

    This uses poetry's dependency groups to be more rigorous about modules version.
    jeertmans authored Dec 6, 2022
    Copy the full SHA
    a82ca81 View commit details

Commits on Dec 7, 2022

  1. feat(cli): feally featured RevealJS template (#80)

    * feat(cli): feally featured RevealJS template
    
    This adds an option for every possible RevealJS option. Error messages are also improved.
    
    RevealJS version is bumped to latest (4.4.0).
    
    * feat(cli): add primitive support for arbitrary JS functions
    
    * fix(cli): some typos / issues in template
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix(lib): pickling issue
    
    * fix(lib): ignore typing error due to __reduce_ex__
    
    * feat(cli): add template selection, fixes first slide bug, and rm stuff
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    jeertmans and pre-commit-ci[bot] authored Dec 7, 2022
    Copy the full SHA
    c0c73ad View commit details
  2. Copy the full SHA
    3dc543e View commit details
  3. Copy the full SHA
    9810425 View commit details

Commits on Dec 8, 2022

  1. Copy the full SHA
    54f2c60 View commit details
  2. chore(ci): move isort config to pyproject.toml (#92)

    * chore(ci): move isort config to pyproject.toml
    
    * fix(ci): typo in config
    jeertmans authored Dec 8, 2022
    Copy the full SHA
    2fe6139 View commit details
  3. Copy the full SHA
    9f22793 View commit details
  4. chore(ci): move black config to pyproject.toml (#93)

    * chore(ci): move black config to pyproject.toml
    
    * chore(deps): update target version
    jeertmans authored Dec 8, 2022
    Copy the full SHA
    1fed193 View commit details
  5. Copy the full SHA
    9cb1c35 View commit details

Commits on Dec 9, 2022

  1. Copy the full SHA
    777ff44 View commit details

Commits on Dec 14, 2022

  1. [pre-commit.ci] pre-commit autoupdate (#97)

    updates:
    - [github.com/pycqa/isort: 5.10.1 → 5.11.0](PyCQA/isort@5.10.1...5.11.0)
    - [github.com/psf/black: 22.10.0 → 22.12.0](psf/black@22.10.0...22.12.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Dec 14, 2022
    Copy the full SHA
    4c97bdd View commit details

Commits on Dec 20, 2022

  1. [pre-commit.ci] pre-commit autoupdate (#99)

    updates:
    - [github.com/pycqa/isort: 5.11.0 → v5.11.3](PyCQA/isort@5.11.0...v5.11.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Dec 20, 2022
    Copy the full SHA
    13f1964 View commit details

Commits on Dec 27, 2022

  1. [pre-commit.ci] pre-commit autoupdate (#100)

    updates:
    - [github.com/pycqa/isort: v5.11.3 → 5.11.4](PyCQA/isort@v5.11.3...5.11.4)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Dec 27, 2022
    Copy the full SHA
    1e150bb View commit details

Commits on Jan 1, 2023

  1. fix(convert): correctly quote paths when using ffmpeg on Windows

    With the current version of ffmpeg on Windows, the list file must enclosed by single quotes.
    yang-fighter authored Jan 1, 2023
    Copy the full SHA
    1ff2330 View commit details
Showing with 16,655 additions and 2,792 deletions.
  1. +0 −4 .flake8
  2. +3 −0 .github/FUNDING.yml
  3. +171 −34 .github/ISSUE_TEMPLATE/bug.yml
  4. +57 −53 .github/ISSUE_TEMPLATE/documentation.yml
  5. +43 −23 .github/ISSUE_TEMPLATE/feature_request.yml
  6. +0 −14 .github/ISSUE_TEMPLATE/support.yml
  7. +13 −0 .github/dependabot.yml
  8. +6 −4 .github/pull_request_template.md
  9. +27 −0 .github/scripts/check_github_issues.py
  10. +34 −0 .github/workflows/clearcache.yml
  11. +9 −9 .github/workflows/codeql-analysis.yml
  12. +33 −0 .github/workflows/draft-pdf.yml
  13. +5 −5 .github/workflows/languagetool.yml
  14. +13 −0 .github/workflows/latest_tag.yml
  15. +0 −50 .github/workflows/pages.yml
  16. +72 −0 .github/workflows/publish.yml
  17. +0 −55 .github/workflows/python-publish.yml
  18. +0 −103 .github/workflows/test_examples.yml
  19. +119 −0 .github/workflows/tests.yml
  20. +36 −7 .gitignore
  21. +8 −0 .mdlc.json
  22. +46 −61 .pre-commit-config.yaml
  23. +1 −0 .python-version
  24. +18 −0 .readthedocs.yaml
  25. +552 −0 CHANGELOG.md
  26. +45 −0 CITATION.cff
  27. +21 −674 LICENSE.md
  28. +161 −108 README.md
  29. +2 −0 custom_config.yml
  30. +55 −0 docker/Dockerfile
  31. +15 −0 docker/README.md
  32. +10 −0 docker/texlive-profile.txt
  33. +1 −0 docs/source/_static/favicon.png
  34. BIN docs/source/_static/logo.png
  35. BIN docs/source/_static/logo.png
  36. +1 −0 docs/source/_static/logo_dark_docs.png
  37. +1 −0 docs/source/_static/logo_dark_github.png
  38. +1 −0 docs/source/_static/logo_dark_transparent.png
  39. +1 −0 docs/source/_static/logo_light_transparent.png
  40. +101 −0 docs/source/_static/template.diff
  41. +397 −0 docs/source/_static/template.html
  42. +1 −0 docs/source/_static/wizard_dark.png
  43. +1 −0 docs/source/_static/wizard_light.png
  44. +6 −0 docs/source/changelog.md
  45. +71 −2 docs/source/conf.py
  46. +46 −0 docs/source/contributing/index.md
  47. +11 −0 docs/source/contributing/internals.md
  48. +100 −0 docs/source/contributing/workflow.md
  49. +2 −0 docs/source/docutils.conf
  50. +124 −0 docs/source/faq.md
  51. +31 −0 docs/source/features_table.md
  52. +132 −0 docs/source/gallery.md
  53. +57 −0 docs/source/index.md
  54. +0 −20 docs/source/index.rst
  55. +173 −0 docs/source/installation.md
  56. +5 −0 docs/source/license.md
  57. +70 −0 docs/source/manim_or_manimgl.md
  58. +35 −0 docs/source/quickstart.md
  59. +42 −0 docs/source/reference/api.md
  60. +37 −0 docs/source/reference/cli.md
  61. +71 −0 docs/source/reference/customize_html.md
  62. +172 −0 docs/source/reference/examples.md
  63. +72 −0 docs/source/reference/gui.md
  64. +40 −0 docs/source/reference/html.md
  65. +38 −0 docs/source/reference/index.md
  66. +6 −0 docs/source/reference/ipython_magic.md
  67. +100 −0 docs/source/reference/magic_example.ipynb
  68. +201 −0 docs/source/reference/sharing.md
  69. +6 −0 docs/source/reference/sphinx_extension.md
  70. +229 −47 example.py
  71. +6 −0 manim-slides.qrc
  72. +60 −2 manim_slides/__init__.py
  73. +75 −0 manim_slides/__main__.py
  74. +1 −1 manim_slides/__version__.py
  75. +37 −0 manim_slides/checkhealth.py
  76. +51 −17 manim_slides/commons.py
  77. +276 −91 manim_slides/config.py
  78. +1,041 −0 manim_slides/convert.py
  79. +4 −2 manim_slides/defaults.py
  80. 0 manim_slides/docs/__init__.py
  81. +548 −0 manim_slides/docs/manim_slides_directive.py
  82. +278 −0 manim_slides/ipython/ipython_magic.py
  83. +52 −0 manim_slides/logger.py
  84. +0 −27 manim_slides/main.py
  85. +0 −81 manim_slides/manim.py
  86. +0 −838 manim_slides/present.py
  87. +365 −0 manim_slides/present/__init__.py
  88. +599 −0 manim_slides/present/player.py
  89. +14 −0 manim_slides/qt_utils.py
  90. +54 −0 manim_slides/render.py
  91. +171 −0 manim_slides/resources.py
  92. +0 −212 manim_slides/slide.py
  93. +63 −0 manim_slides/slide/__init__.py
  94. +162 −0 manim_slides/slide/animation.py
  95. +755 −0 manim_slides/slide/base.py
  96. +227 −0 manim_slides/slide/manim.py
  97. +73 −0 manim_slides/slide/manimlib.py
  98. 0 manim_slides/templates/__init__.py
  99. +334 −0 manim_slides/templates/revealjs.html
  100. +197 −0 manim_slides/utils.py
  101. +0 −189 manim_slides/wizard.py
  102. +85 −0 manim_slides/wizard/__init__.py
  103. +121 −0 manim_slides/wizard/wizard.py
  104. BIN paper/docs.png
  105. +53 −0 paper/paper.bib
  106. +174 −0 paper/paper.md
  107. +236 −2 pyproject.toml
  108. +0 −55 setup.py
  109. BIN static/docs.png
  110. BIN static/example.gif
  111. BIN static/favicon.png
  112. BIN static/icon.png
  113. BIN static/logo.png
  114. +39 −2 static/logo.py
  115. BIN static/logo_dark_docs.png
  116. BIN static/logo_dark_github.png
  117. BIN static/logo_dark_transparent.png
  118. BIN static/logo_light_transparent.png
  119. +5 −0 static/make_favicon.sh
  120. +21 −0 static/make_logo.sh
  121. BIN static/windows_quality_fix.png
  122. BIN static/wizard_dark.png
  123. BIN static/wizard_light.png
  124. +90 −0 tests/conftest.py
  125. +49 −0 tests/data/slides.py
  126. +29 −0 tests/data/slides/BasicSlide.json
  127. BIN ...data/slides/files/BasicSlide/28bf32c4df2711b07b765a647667059683133b3c45291f34692be0c845f75511.mp4
  128. BIN ...es/files/BasicSlide/28bf32c4df2711b07b765a647667059683133b3c45291f34692be0c845f75511_reversed.mp4
  129. BIN ...data/slides/files/BasicSlide/5060f74bee3cb2e40a399a023e0120b3f91d348a9867c7f401db54ea337de97c.mp4
  130. BIN ...es/files/BasicSlide/5060f74bee3cb2e40a399a023e0120b3f91d348a9867c7f401db54ea337de97c_reversed.mp4
  131. BIN ...data/slides/files/BasicSlide/7a5de547a0b5de2230ff3451dd680425cf0a7ea065b31e8f92b5e93527694077.mp4
  132. BIN ...es/files/BasicSlide/7a5de547a0b5de2230ff3451dd680425cf0a7ea065b31e8f92b5e93527694077_reversed.mp4
  133. BIN ...data/slides/files/BasicSlide/c7d0d9ccbf764d32bf316451f2d00607b8f12893e64afe215041a8aedceeb368.mp4
  134. BIN ...es/files/BasicSlide/c7d0d9ccbf764d32bf316451f2d00607b8f12893e64afe215041a8aedceeb368_reversed.mp4
  135. BIN tests/data/video.mp4
  136. +1 −0 tests/data/video_data_uri.txt
  137. +114 −0 tests/test_base_slide.py
  138. +73 −0 tests/test_checkhealth.py
  139. +142 −0 tests/test_commons.py
  140. +32 −0 tests/test_config.py
  141. +330 −0 tests/test_convert.py
  142. +11 −0 tests/test_defaults.py
  143. +147 −0 tests/test_main.py
  144. +115 −0 tests/test_manim.py
  145. +1 −0 tests/test_player.py
  146. +141 −0 tests/test_present.py
  147. +14 −0 tests/test_qt_utils.py
  148. +705 −0 tests/test_slide.py
  149. +22 −0 tests/test_utils.py
  150. +182 −0 tests/test_wizard.py
  151. +4,323 −0 uv.lock
4 changes: 0 additions & 4 deletions .flake8

This file was deleted.

3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: [jeertmans]
205 changes: 171 additions & 34 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,177 @@
name: Bug
description: Report an issue to help improve the project.
labels: "bug"
title: '[BUG] <description>'
title: '[BUG] <short-description-here>'
labels: [bug]

body:
- type: textarea
id: description
attributes:
label: Description
description: A brief description of the question or issue, also include what you tried and what didn't work
validations:
- type: markdown
id: preamble
attributes:
value: |
**Thank you for reporting a problem about Manim Slides!**
If you know how to solve your problem, feel free to submit a PR too!
> [!WARNING]
> Before reporting your bug, please make sure to:
>
> 1. create and activate virtual environment (venv);
> 2. install `manim-slides` and the necessary dependencies;
> 3. and reduce your Python to a minimal working example (MWE).
>
> You can skip the last step if your issue occurs during installation.
- type: checkboxes
id: terms
attributes:
label: Terms
description: 'By submitting this issue, I have:'
options:
- label: Checked the [existing issues](https://github.com/jeertmans/manim-slides/issues?q=is%3Aissue+label%3Abug+) and [discussions](https://github.com/jeertmans/manim-slides/discussions) to see if my issue had not already been reported;
required: true
- type: textarea
id: version
attributes:
label: Version
description: Which version of Manim Slides are you using? You can use `manim-slides --version` to get that information.
validations:
- label: Checked the [frequently asked questions](https://manim-slides.eertmans.be/latest/faq.html);
required: true
- type: textarea
id: platform
attributes:
label: Platform
description: What is your platform. Linux, macOS, or Windows?
validations:
- label: Read the [installation instructions](https://manim-slides.eertmans.be/latest/installation.html);
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please add screenshots if applicable
validations:
required: false
- type: textarea
id: extrainfo
attributes:
label: Additional information
description: Is there anything else we should know about this bug?
validations:
required: false
- label: Created a virtual environment in which I can reproduce my bug;

- type: textarea
id: description
attributes:
label: Describe the issue
description: A description of the issue, also include what you tried and what didn't work.
validations:
required: true

- type: input
id: command
attributes:
label: Command
description: |
Enter the command that failed.
This will be automatically formatted into code, so no need for backticks.
placeholder: manim-slides render mwe.py MWE
validations:
required: true

- type: dropdown
id: issue-type
attributes:
label: Issue Type
description: >
Please select the option in the drop-down.
options:
- Installation issue
- Visual bug when presenting (`manim-slides present`)
- Bug when presenting with HTML/PowerPoint/... format (`manim-slides convert`)
- Other
validations:
required: true

- type: input
id: py-version
attributes:
label: Python version
description: |
Please copy and paste the output of `python --version`.
Make sure to activate your virtual environment first (if any).
placeholder: Python 3.11.8
validations:
required: true

- type: textarea
id: venv
attributes:
label: Python environment
description: |
Please copy and paste the output of `manim-slides checkhealth`.
Make sure to activate your virtual environment first (if any).
This will be automatically formatted into code, so no need for backticks.
If Manim Slides installation failed, enter 'N/A' instead.
render: shell
validations:
required: true

- type: dropdown
id: platform
attributes:
label: What is your platform?
multiple: true
options:
- Linux
- macOS
- Windows
- Other (please precise below)
validations:
required: true

- type: input
id: platform-other
attributes:
label: Other platform
description: Please answer if you have replied *Other* above.
validations:
required: false

- type: textarea
id: code
attributes:
label: Manim Slides Python code
description: |
Please copy and paste a minimal working example (MWE) of your Python code that can reproduce your bug.
This will be automatically formatted into code, so no need for backticks.
placeholder: |
from manim import *
from manim_slides import Slide
class MWE(Slide):
def construct(self):
circle = Circle(radius=2, color=RED)
dot = Dot()
self.play(GrowFromCenter(circle))
self.next_slide(loop=True)
self.play(MoveAlongPath(dot, circle), run_time=0.5)
self.next_slide()
self.play(dot.animate.move_to(ORIGIN))
render: python
validations:
required: false

- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output.
This will be automatically formatted into code, so no need for backticks.
render: shell
validations:
required: false

- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please add screenshots if applicable.
validations:
required: false

- type: textarea
id: extra-info
attributes:
label: Additional information
description: Is there anything else we should know about this bug?
validations:
required: false

- type: textarea
id: suggested-fix
attributes:
label: Recommended fix or suggestions
description: A clear and concise description of how you want to update it.
validations:
required: false
110 changes: 57 additions & 53 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,63 @@
name: Documentation
description: Ask / Report an issue related to the documentation.
title: "DOC: <description>"
labels: ['bug', 'docs']
title: '[DOC] <short-description-here>'
labels: [documentation]

body:
- type: markdown
attributes:
value: >
**Thank you for wanting to report a problem with manim-slides docs!**
If the problem seems straightforward, feel free to submit a PR instead!
Verify first that your issue is not already reported on GitHub [Issues].
[Issues]:
https://github.com/jeertmans/manim-slides/issues
- type: textarea
attributes:
label: Describe the Issue
description: A clear and concise description of the issue you encountered.
validations:
required: true

- type: input
attributes:
label: Affected Page
description: Add a link to page with the problem.
validations:
required: true

- type: dropdown
attributes:
label: Issue Type
description: >
Please select the option in the drop-down.
<details>
<summary>
<em>Issue?</em>
</summary>
</details>
options:
- Documentation Enhancement
- Documentation Report
validations:
- type: markdown
id: preamble
attributes:
value: |
**Thank you for reporting a problem about Manim Slides' documentation!**
If you know how to solve your problem, feel free to submit a PR too!
- type: checkboxes
id: terms
attributes:
label: Terms
description: 'By submitting this issue, I have:'
options:
- label: Checked the [existing issues](https://github.com/jeertmans/manim-slides/issues?q=is%3Aissue+label%3Adocumentation+) and [discussions](https://github.com/jeertmans/manim-slides/discussions) to see if my issue had not already been reported;
required: true

- type: textarea
attributes:
label: Recommended fix or suggestions
description: A clear and concise description of how you want to update it.
validations:
required: false
- type: textarea
id: description
attributes:
label: Describe the issue
description: A clear and concise description of the issue you encountered.
validations:
required: true

- type: textarea
id: pages
attributes:
label: Affected page(s)
description: Link to page(s) with the problem.
placeholder: |
+ https://manim-slides.eertmans.be/latest/installation.html
+ https://manim-slides.eertmans.be/latest/features_table.html
validations:
required: true

- type: dropdown
id: issue-type
attributes:
label: Issue type
description: >
Please select the option in the drop-down.
options:
- Typo, spelling mistake, broken link, etc.
- Something is missing
- Documentation enhancement
- Other
validations:
required: true

- type: textarea
id: suggested-fix
attributes:
label: Recommended fix or suggestions
description: A clear and concise description of how you want to update it.
validations:
required: false
Loading