Metadata-Version: 2.4
Name: napari-flicker
Version: 0.1.2
Summary: Blinking layers in napari
Author-email: Taka <amano.takahisa@gmail.com>
License-Expression: LicenseRef-Hippocratic-3.0-bds-cl
Project-URL: Bug Tracker, https://github.com/amano-takahisa/napari-flicker/issues
Project-URL: Documentation, https://github.com/amano-takahisa/napari-flicker#README.md
Project-URL: Source Code, https://github.com/amano-takahisa/napari-flicker
Project-URL: User Support, https://github.com/amano-takahisa/napari-flicker/issues
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Framework :: napari
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: test
Requires-Dist: pyqt6!=6.11.0,!=6.11.1,!=6.6.1,<7,>=6.5; extra == "test"
Requires-Dist: napari<0.7,>=0.6.2; extra == "test"
Dynamic: license-file

# napari-flicker

Blink selected layers in [napari](https://napari.org/) to compare them visually.

## Installation

Install the plugin with pip:

```bash
pip install napari-flicker
```

You can also install it from napari via **Plugins > Install/Uninstall Plugins...**
and searching for `napari-flicker`.

## Usage

Start napari with the plugin:

```bash
napari --with napari-flicker 'Flicker Widget'
```

Or open the widget from the menu: **Plugins > Flicker > Flicker Widget**.

1. Load the layers you want to compare.
2. Tick the layers you want to blink in the **Available Layers** list.
3. Click **Start Flicker**. The selected layers toggle their visibility every
   0.5 seconds, so you can spot differences between them.
4. Click **Stop Flicker** to stop.

## Notes

- Only **Image** and **Labels** layers can be flickered.
- The flicker interval is fixed at 0.5 seconds.
- All selected layers toggle together.
- The layer list updates automatically when layers are added to or removed
  from the viewer.
- Nothing happens if you start flickering without selecting a layer.
