Skip to content

moving selector examples in docs #647

Description

@kushalkolar

I just got an idea, when we eventually make emulated events for testing we can also use it to make make selectors move in the examples gallery. Should figure out a way to do it such that the code for emulating the events doesn't show up in the example code 🤔 . Simple thing that works for linear and linear region is if we modify the pygfx gallery scraper to make a video that goes through the min and max limits of the selector over ~50 frames or something. Harder to think of for rectangle and (future) polygon selectors. Maybe a predefined motion? We could add it to the sphinx_gallery_pygfx_docs = '...'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions