Skip to content

Deck-of-cards viewer: flip through / randomize PDF pages #205

Description

@hunter-read

What problem does this solve?

Some PDFs in a library are effectively a deck of cards — each page (or a region of a page) is a single card. Right now the only way to use one is to page through the PDF linearly in the reader, which is awkward when you want to draw a random card, shuffle, or flip through cards during a session.

What would you like to see?

A "deck" viewing mode for PDFs marked as card decks:

  • Flip through pages one at a time (next / previous, keyboard-friendly).
  • Randomize / draw — jump to a random page, optionally without repeats until the deck is exhausted (draw-without-replacement, then reshuffle).
  • Optionally treat a page range as the deck so cover/rules pages can be excluded.

Anything else?

This feels like it belongs to a small family of "game aids" that could ship together or as a companion extension:

  • Dice roller
  • Built-in / random tables (roll on a table, or pull a random entry)

It may make sense to design the deck viewer, dice roller, and tables under a shared "tools/extensions" surface rather than one-off. Worth considering the extension architecture here — see the related URL-embed enhancement for prior art on pluggable tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions