Skip to content

Generate image of campaign map #45

@rythos42

Description

@rythos42

I was just working on my campaigns map and thought how cool would it be if Flagship could do this for me?

It would not be all that hard with the existing data and a little HTML canvas magic. Just need 5 images (map, Rebel/Imperial bases, Rebel/Imperial presence) and some pixel coordinates of where the tokens need to go. Maybe augment the existing campaignLocationFactory.ts with an (x, y) pair and you'd be ready to roll.

(I have most of this in hand, and may end up working on it soon)

https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Using_images

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions