Register

Geano's Scene Rotation

An Add-on Module for Foundry Virtual Tabletop

Author: GeanoFee Project Source Foundry Versions 10+ (Verified 12) Last Updated 2 weeks ago

This package contains art, text, or software code produced using generative AI.

This module was developed using an iterative, human-led design process supported by Generative AI.

A FoundryVTT module that solves one of the most annoying issues in Foundry: rotating a scene 90 degrees after you've already set it up.

Features

Installation

  1. Place the geanos-scene-rotation folder into your Data/modules/ directory.
  2. Restart Foundry VTT.
  3. Enable the module in Manage Modules.

Alternatively:

Enter the Manifest URL https://github.com/GeanoFee/geanos-scene-rotation/releases/latest/download/module.json within Foundry's "Install Module" window.

Usage

  1. Open the Configuration window for any Scene.
  2. Click the Rotate Scene button located in the window header.
  3. Choose 90° Clockwise or 90° Counter-Clockwise.
  4. Wait for the notification confirming the rotation is complete.

How it works

When you rotate a scene, the module:

  1. Swaps the Scene Width and Height.
  2. Calculates the new coordinates for all embedded objects based on a 90-degree transformation matrix.
  3. Checks if a rotated version of the background image exists in [OriginalPath]/rotated-images/.
    • If yes: It assigns that image to the scene.
    • If no: It loads the image into an off-screen canvas, rotates it, saves it as a high-quality JPEG, uploads it, and then assigns it.

Compatibility

Verified for Foundry VTT v12. Should work on v10+.

Categories

Available Versions

  1. Version 1.0.0

    2 weeks ago
    Foundry Version 10+ (Verified 12) Manifest URL