Skip to content

Performance and Quality

Roi Horowitz edited this page Nov 23, 2026 · 7 revisions

Performance and quality

Each player chooses for themselves, so one slow computer doesn't change what anyone else sees.

Animation quality

Where: Animation quality (this device), in Configure Settings and the Look & light tab. Default: Full. It's the first thing to change on a slow computer.

Level What that player sees
Full Every layer, token motion and token filters.
Light Every layer and token motion, without blur, glow or token filters.
Balanced Skips decorative layers and token filters. Up to 3 persistent effects per token.
Low Only the main effect of each animation, one effect per token, plus token motion.
Off No Animater visuals or sounds on this client, as the setting itself says.

The player who starts an animation only sends optional layers to viewers whose level allows them, so slower computers never load footage they won't show.

What each level draws in the world

Feature Full Light Balanced Low
Map distortion, heat haze, heat shimmer Yes No No No
Camera shake, kill-cam Yes Yes No No
Tokenshade filters Yes No No No
Moving water Full Full Simpler No
Floor looks Full Fewer torches Sun, moon and two lights Still
Most world effects (idle life, smoke, wildlife, wall shadows, Tavern murmur and more) Yes Yes Yes No

The window shows a note on a row when your quality level never draws it. Full and Light also paint floors at twice the resolution, while Balanced and Low keep the smaller size to save memory.

Features marked Needs Tokenshade token filters on need Full. That covers Weather on creatures, Region looks, Creatures lit by their surroundings, and Heat and cold around creatures.

Faster animations

Faster animations (this device) is on by default. It patches Sequencer in memory (its files are untouched) so every Sequencer effect in the world costs less per frame, for every module using it:

  • The animation engine runs without per-frame allocations.
  • Attached effects only recompute when something they follow moved.
  • Positional sounds reuse their area and muffling until something changes.
  • Effects with filters or masks aren't drawn while out of view.

It also works ahead for your screen. The next creature's weapons load before its turn, copies of an effect aimed at several targets start a frame apart, and small decorative layers you couldn't see at your zoom are skipped. Skipping never drops a spell's main hit.

If an effect from any module looks wrong, turn this off first. If an effect trails behind a token that another module moves, lower Faster animations: position recheck instead.

To measure it, run this with the setting on and again with it off (console):

await game.modules.get("animater").api.sequencerSpeedups.profile(10)

Single patches can be switched too, for example game.modules.get("animater").api.sequencerSpeedups.set("sound", false).

Faster first load

New in 3.8.12. Read from the code, not tested live.

The animation catalogs no longer download and load with the module. The changelog puts their data at about 58 MB in a PF2e world. Instead:

  • A moment after the scene has drawn (or a few seconds after joining with no scene), each catalog that is turned on loads.
  • A catalog that is off never loads for players, and the other system's catalogs (SF2e in a PF2e world, or PF2e in an SF2e one) load only with Also use the … catalogs on.
  • Turning a catalog on mid-session loads it then.
  • Opening the Animater workspace loads every catalog of the world, on or off, because the workspace lists them all.

For the first second or two after joining, catalog animations don't play until their data is in.

Firefox and the first hit

New in 4.5.4. Read from the code, not tested live.

Most browsers compile Animater's shaders in the background, a few seconds after a scene loads. Firefox on Windows can't do that, so each look was compiled the first time it was needed. The first time a creature was hit in a session, the look the hit puts on it (Electrocuted, Burning, Frostbitten and the rest) could hold the whole map still: the changelog measured 1.3 seconds for an Electric Arc.

In a browser like that, Animater now builds those damage looks in the quiet moments after a scene loads, one at a time with a pause between them, so frames still come in between. Map distortion's own shader is built while the scene loads, rather than at the first blast. Both happen only on screens at Full quality, which draw these looks. Nothing changes in browsers that compile in the background.

Decorated maps and their shadows

New in 4.5.3 and 4.5.5, from the changelog; the code wasn't traced in full.

A map's painted decorations cast three layers of soft shadow, and each layer is a blur the graphics card pays for. Since 4.5.3 a layer is drawn only when it has something in it, has light on it, and is near enough the screen to be seen, so an empty layer, the sun's layer at night or underground, and a corner of the map out of view cost nothing. Shadows come back by themselves as you pan toward them. The changelog gives one busy farm map going from 26.8 to 59.8 frames a second.

Since 4.5.5 the work itself is smaller, which also helps a GM looking at the whole map at once:

  • The shadows on a floor are blurred once for that floor, not once for every stroke of undergrowth painted on it.
  • The blur is two passes at half size rather than four at full.
  • The dark at the foot of a finished stroke is drawn once into a picture and reused until something is added to that stroke or taken out of it.
  • Overlapping strokes no longer darken the ground twice where their shadows meet.

Faster map drawing. New in 4.2.0. Painted floors, decorations and raised ground redraw only when something they show changes, not on every tick of the clock.

Maps with many tiles

New in 4.8.0, from the changelog. Tiles that stand as objects throw shadows (see Sun Moon and Shadows). The changelog measured a map with every tile on screen: under a millisecond a frame for the shadows of five hundred object tiles, and about two for a thousand. Two things keep it there:

  • Only a tile whose picture has metal that shines is drawn lit, on its own. Plain tiles are drawn many at a time, and most tiles have nothing to glint.
  • Lamps' shadows, for tiles and painted decorations alike, aren't worked out again while no lamp and nothing on the map has moved.

The smart model on more graphics cards

New in 4.1.4. Read from the code, not tested live.

The smart model behind Map painting's Edges: Model and Floor regions' Smart selection runs its main part on the graphics card through WebGPU, and needs the card to handle half-precision (fp16) maths. Before loading, Animater now asks whether it does. If not, or if loading on the card fails, it loads on the computer's processor from the same download: slower to read a map, but it works. Before, some cards (the changelog names an RX 9070 XT in Chrome) failed with "does not support fp16" and fell back to Colour.

Macs

New in 3.7.6. On a Mac whose browser draws WebGL through Metal (Apple Silicon, and Intel Macs in Chrome or Safari), Animater gives each of the canvas's drawing batches its own vertex buffer, which avoids stalls and lifts the frame rate. It happens by itself, with no setting, and the browser console notes it when it's on. Thanks to camrun91 for the fix.

If it's still slow

Work down this list on the slow computer:

  1. Lower Animation quality. Balanced removes Tokenshade and map distortion.
  2. Turn off what you don't need with its My screen switch, such as Moving water on my screen or Region steps on my screen.
  3. Lower Smoke amount on my screen.
  4. As GM, consider Aura style set to Tokenshade (its own description calls it lighter on slower computers), or Auras outside combat set to hide them until combat.

Energy blasts are drawn at Balanced quality or better, and are heavy on the graphics card for the few seconds they play.

The weather on the map is drawn in one pass on the graphics card, so a blizzard costs what a drizzle does.

Settings

Setting Everyone (GM) My screen Choices or range What it does
Animation quality (this device) — Full Full / Light / Balanced / Low / Off Lower this on slower computers. Applies only to what you see; other players keep their own setting.
Faster animations (this device) — On — Makes animations cheaper for your computer to draw, with no change in how they look. Covers every module that plays animations through Sequencer, not only Animater. In combat it also loads the next creature’s animations ahead of its turn, and it skips tiny details you could not see at your current zoom. Only your screen is affected. Turn this off if an animation from any module looks wrong.
Faster animations: position recheck (frames) — 30 1 to 600 How often effects and sounds that follow a token double-check where it is, even when nothing seems to have moved. 30 frames is about half a second. Lower it if an effect trails behind a token that another module moves.
Minimize Animater during canvas playback — On — Local preview and Play at table minimize the Animater window while the animation runs, then restore it.

How far this was checked

The table above comes from setting text and code, and wasn't measured. None of the numbers on this page were measured for this wiki: the few given are the changelog's own.

See also

How Settings Work · Troubleshooting and FAQ

Technical details

For developers and the curious. Read from the 3.2.2 code, with 3.3.0's changes added, and not run or measured. No performance results are written in the code, so none are given here.

Source: scripts/core/quality.mjs, scripts/engines/playback/adaptive.mjs and adaptive-host.mjs, scripts/integrations/sequencer-turbo/, and scripts/engines/motion/scene-shaders.mjs.

Quality

A client setting, default full, mirrored to a user flag so the client starting an animation can target others. Ranks are full 3, light 3, balanced 2, low 1, off 0.

Tiers. Only visual stages are tiered, not sound, motion, tokenfx or scenefx.

  • Tier 0: the first travel or projectile plus the first impact or template. If neither exists, the first non-sprite visual stage.
  • Tier 1: the next 2 non-sprite stages.
  • Tier 2: all sprites and everything else.

Sending. usersForTier lists active users whose flag allows the tier, and the effect gets .forUsers(users). With no allowed users it's skipped.

Full Light Balanced Low Off
Tiers received 0, 1, 2 0, 1, 2 0, 1 0 None
Token motion Yes Yes Yes Yes No
Token filters Yes No No No No
Essential condition looks Yes Yes Yes Yes No
Blur and Glow on Sequencer effects Yes Removed Removed Removed None
Lasting states per token No limit No limit 3 1 0
Map distortion Yes No No No No
Camera shake, kill-cam Yes Yes No No No
Screen tint, flash screens, dispel shatter Yes Yes Yes Yes No
Shader warm-up of token filters Yes No No No No

lightenEffect removes the filters on createSequencerEffect, only for Animater's own effects.

Choice labels and code differ:

  • Light and Balanced say they skip token filters, but fxEssential condition looks still show.
  • Low's "one effect per token" is the budget for lasting states. A recipe's tier 0 can be more than one stage.
  • Off says "no Animater visuals or sounds". From reading the code, the moon and air tint passes can still draw at Low and Off with Moonlight on, because those paths have no quality test, and floor blood has no check. Not tested.
  • Balanced doesn't simplify the sky shader. Each world feature is on or off whole.

Adaptive playback

Per client, reading each incoming Animater effect.

  • Frame monitor: the 75th percentile of main-thread work over 3000 ms, with at least MIN_SAMPLES = 10. "Tight" means over 0.85 × the target, which is 1000 / maxFPS.
  • Verdicts: tier 0 and 1 effects small on screen (SMALL_PX = 48) are lightened. Tier 2 is dropped when frames were tight or it's small. Tier 0 is never dropped, and lasting and preview effects are always kept.
  • Stagger: stages with at least 4 copies start 16 ms apart, capped at 50 ms.
  • Preload: the next combatant's weapon assets, up to 6 weapons, and up to 24 recent assets per actor, 2 files at a time.

Sequencer speed-ups

In-memory patches on Sequencer for every effect in the world. A missing internal means that patch isn't applied. PATCHES are engine, effects, sound, culling, preload, stagger, lod and budget.

  • engine: captures Sequencer's private animation engine with a one-shot Function.prototype.bind hook, and replaces addAnimation, nextFrame, _animate and _animateAttribute. It's gated by an FNV-1a hash of five method sources against Sequencer 4.3.0, so any other version keeps its own engine.
  • effects: dirty-checks four per-frame transform methods with a numeric fingerprint, forcing a recompute every refreshFrames frames.
  • culling: skips render() for effects with filters or masks whose bounds, padded by SCREEN_MARGIN = 64 plus filter padding, miss the render frame.
  • sound: not rendering. It reuses one PointSoundSource per placed sound and memoises _configurePlayback.

Setting text and code differ: the hint says "with no change in how they look". The budget patch can drop tier 2 effects when frames are tight.

Measuring. profile(seconds) wraps canvas.app.ticker.update and reports frames, fps, avgMs, p95Ms and maxMs. benchmark() runs 8 phases with 60 effects and 6 sounds, 6 s each by default, and needs 2 visible tokens. It covers engine, effects, sound and culling, but not preload, stagger, lod or budget.

Shader warm-up

scene-shaders.mjs lists floor, water, wake, coast, ripple, mirror, waterfall, sky, lamp and canopy programs. They warm on the first canvasInit with parallel: 4, tick: 20. The code's claim, in a comment, not measured here: a compile on the main thread "can hold the frame for a few hundred milliseconds" on Windows.

Without KHR_parallel_shader_compile (4.5.4). In main.mjs, 3 s after each canvasReady and only where allowsTokenFx holds (Full), the Tokenshade warm-up checks parallelCompile(renderer). Without the extension it calls buildWhenIdle in engines/tokenshade/warmup.mjs on the programs of DAMAGE_LOOK_PRESETS: one renderer.shader.generateProgram per requestIdleCallback (timeout 2000 ms), 250 ms apart, stopping if the context is lost. buildSceneWarpNow builds map distortion's program at once on canvasReady when this client draws distortion. With the extension, warmShaders runs as before.

Smart model (4.1.4)

ui/smart-model.mjs. webgpuFp16() asks navigator.gpu.requestAdapter() and checks for the shader-f16 feature. With it, the model loads with the vision encoder on webgpu and the prompt decoder on wasm; a WebGPU load that throws is retried on wasm, as is any card without the feature.

Catalog data (3.8.12)

loadWorldCatalogs in main.mjs. Catalog data loads on demand: once, 1 s after the first canvasReady after ready (or 8 s on with no scene), for the systems in catalogSystemsHere (this one, plus the borrowed one when crossover is on), and only the files catalogDataWanted lists for catalogs that are on (PF2e's NPC actions while NPC abilities is on). Any Animater updateSetting loads again, so a catalog turned on mid-session loads. Opening the workspace calls it with all: true. The API has loadCatalogs() and catalogLoaded(system, name).

Metal GPUs (3.7.6)

scripts/core/apple-gpu.mjs, separateBatchBuffers(PIXI, gl). Where WebGL runs on Metal (an Apple GPU, or ANGLE's Metal renderer), each batch of PIXI's batch renderer gets its own vertex buffer, because Metal stalls when a buffer a frame is still drawing from is overwritten. It logs Animater | Metal GPU (...) to the console when applied. No setting.

Rendering not found

engines/sound/ is Web Audio only, and engines/media/ has no render pass.

Clone this wiki locally