Watch
1
0
Fork
You've already forked smooth-camera
0
No description
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-09 00:32:31 +02:00
lang Initial release 0.1.0 2026-10-02 16:38:11 +02:00
scripts Rename macro global to smoothCamera 2026-10-06 14:41:27 +02:00
.gitignore Initial release 0.1.0 2026-10-02 16:38:11 +02:00
LICENSE.txt Initial release 0.1.0 2026-10-02 16:38:11 +02:00
module.json Rename macro global to smoothCamera 2026-10-06 14:41:27 +02:00
README.md Rewrite README to lead with what the module does 2026-10-09 00:32:31 +02:00

Smooth Camera

Panning and zooming that glide instead of jump. Right-drag the map, scroll the wheel, and the view eases in and settles softly.

A fork of Aeris Smooth Camera by Robin Chand, rewritten in plain JavaScript.

Features

  • Right-drag panning glides and drifts briefly after you let go.
  • Mouse-wheel zoom glides and keeps the point under the cursor in place (core zooms around the screen center).
  • Any other camera move (ping, pan to token, keyboard, scene change) cancels the glide instead of fighting it.
  • Works together with Cinematic View.
  • Macro: smoothCamera.stop() stops a running glide.

Settings

All settings are per client.

Setting Description Default
Enable Smooth Camera Turn the module on or off (reloads) On
Camera Pan Speed How quickly panning catches up (0.1–20) 5
Camera Zoom Speed How quickly zooming catches up (0.1–10) 4

Requirements

  • Foundry VTT v13+ (verified on v14)

Installation

In Foundry's Add-on Modules tab, choose Install Module and paste this manifest URL:

https://someto.de/flaig/smooth-camera/releases/download/latest/module.json

This is a personal project and stays at 0.x: expect breaking changes between versions.

AI disclosure

The changes in this fork were made by AI with the help of human ideas.

License

MIT