{"name":"napari-animation","display_name":"napari-animation","visibility":"public","icon":"","categories":[],"schema_version":"0.2.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"napari-animation.make_animation_widget","title":"Make animation widget","python_name":"napari_animation:AnimationWidget","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"napari-animation.make_animation_widget","display_name":"wizard","autogenerate":false}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"napari-animation","version":"0.0.7","dynamic":null,"platform":null,"supported_platform":null,"summary":"A plugin for making animations in napari","description":"# napari-animation\n\n[![License](https://img.shields.io/pypi/l/napari-animation.svg?color=green)](https://github.com/napari/napari-animation/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-animation.svg?color=green)](https://pypi.org/project/napari-animation)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-animation.svg?color=green)](https://python.org)\n[![tests](https://github.com/napari/napari-animation/actions/workflows/test_and_deploy.yml/badge.svg)](https://github.com/napari/napari-animation/actions)\n[![codecov](https://codecov.io/gh/napari/napari-animation/branch/main/graph/badge.svg)](https://codecov.io/gh/napari/napari-animation)\n\n**napari-animation** is a plugin for making animations in [napari].\n\n

\n \n

\n\n----------------------------------\n\n[Merlin Lange](https://twitter.com/Merlin_Lange) used *napari-animation* to create one of [Nature's best science images for September 2022](https://www.nature.com/immersive/d41586-022-03051-6/index.html)\n\n----------------------------------\n\nThis plugin is built on [naparimovie](https://github.com/guiwitz/naparimovie) from @guiwitz. naparimovie was submitted to napari in [PR#851](https://github.com/napari/napari/pull/780) before napari plugin infrastructure existed.\n\n----------------------------------\n## Overview\n\n**napari-animation** provides a framework for the creation of animations in napari, the plugin contains:\n- an easy to use GUI for creating animations interactively\n- a Python package for the programmatic creation of animations\n\nThis plugin remains under development and contributions are very welcome, please open an issue to discuss potential improvements.\n\n## Installation\n\n### PyPI\n`napari-animation` is available through the Python package index and can be installed using `pip`.\n\n```sh\npip install napari-animation\n```\n\n### Local\nYou can clone this repository and install locally with\n\n pip install -e .\n\n### Interactive use\n**napari-animation** can be used interactively.\n\nAn animation is created by capturing [keyframes](https://en.wikipedia.org/wiki/Key_frame) containing the current viewer state.\n\n

\n \n

\n\nTo activate the GUI, select **napari-animation: wizard** from the *plugins menu*\n\n

\n \n

\n\n### Headless\n**napari-animation** can also be run headless, allowing for reproducible, scripted creation of animations.\n\n```python\nfrom napari_animation import Animation\n\nanimation = Animation(viewer)\n\nviewer.dims.ndisplay = 3\nviewer.camera.angles = (0.0, 0.0, 90.0)\nanimation.capture_keyframe()\nviewer.camera.zoom = 2.4\nanimation.capture_keyframe()\nviewer.camera.angles = (-7.0, 15.7, 62.4)\nanimation.capture_keyframe(steps=60)\nviewer.camera.angles = (2.0, -24.4, -36.7)\nanimation.capture_keyframe(steps=60)\nviewer.reset_view()\nviewer.camera.angles = (0.0, 0.0, 90.0)\nanimation.capture_keyframe()\nanimation.animate('demo.mov', canvas_only=False)\n```\n\n## Examples\nExamples can be found in our [examples](examples) folder. Simple examples for both interactive and headless \nuse of the plugin follow.\n\n## Contributing\n\nContributions are very welcome and a detailed contributing guide is coming soon. \n\nTests are run with `pytest`.\n\nWe use [`pre-commit`](https://pre-commit.com) to sort imports with\n[`isort`](https://github.com/timothycrosley/isort), format code with\n[`black`](https://github.com/psf/black), and lint with\n[`flake8`](https://github.com/PyCQA/flake8) automatically prior to each commit.\nTo minmize test errors when submitting pull requests, please install `pre-commit`\nin your environment as follows:\n\n```sh\npre-commit install\n```\n\n## License\n\nDistributed under the terms of the [BSD-3] license,\n\"napari-animation\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please [file an issue] along with a detailed description.\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n[file an issue]: https://github.com/sofroniewn/napari-animation/issues\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/napari/napari-animation","download_url":"https://github.com/napari/napari-animation","author":"Nicholas Sofroniew, Alister Burt, Guillaume Witz, Faris Abouakil, Talley Lambert","author_email":null,"maintainer":null,"maintainer_email":null,"license":"BSD 3-Clause","classifier":["Development Status :: 3 - Alpha","Intended Audience :: Science/Research","Topic :: Scientific/Engineering","Topic :: Scientific/Engineering :: Visualization","Framework :: napari","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","Operating System :: OS Independent","License :: OSI Approved :: BSD License"],"requires_dist":["imageio","imageio-ffmpeg","napari","npe2","numpy","qtpy","scipy","tqdm (>=4.56.0)","superqt","pre-commit ; extra == 'dev'","black ; extra == 'dev'","flake8 ; extra == 'dev'","isort ; extra == 'dev'","check-manifest ; extra == 'dev'","PyQt5 (!=5.15.0,>=5.12.3) ; extra == 'dev'","pytest ; extra == 'dev'","pytest-qt ; extra == 'dev'","pytest ; extra == 'testing'","pytest-qt ; extra == 'testing'"],"requires_python":">=3.8","requires_external":null,"project_url":null,"provides_extra":["dev","testing"],"provides_dist":null,"obsoletes_dist":null},"npe1_shim":false}