Register

DF Active Lights

An Add-on Module for Foundry Virtual Tabletop

Author: flamewave000 Project Source: Project URL Versions 10.290+ (Verified 10.290) Last Updated 1 year, 12 months ago

DragonFlagon Active Lights

Forge Installs Latest Version Foundry Hub Endorsements

This module provides a way to animate all the various configurations of a light. This animation will be synchronized with the server so that all players should see the same animation states. A simple example for this would be for creating a simple Light House where the light’s direction would animate all the way around a 180° rotation. The configuration window for Active Lights can be opened from the Light Animation tab in any Ambient Light config window.

Light House Energy Dome Laser Light Police Car

Animation Functions

The way animations work is that at time T, the position along the transition is at a deterministic position along a mathematical curve. This is some really fancy talk for basically making a dot follow a line.

Take this animation for example:

Given a Linear animation, the following are the results over time:

0s 0.25s 0.5s 0.75s 1s
0 ft 10 ft 20 ft 30 ft 40 ft

The same key frames but with an Elliptic Animation would have these results:

0s 0.25s 0.5s 0.75s 1s
0 ft 15.31 ft 28.28 ft 36.96 ft 40 ft

Here are all of the animation functions that are available, along with a graph for each.

Name Graph Name Graph Name Graph
Linear df-active-lights-graph-linear Quadratic In df-active-lights-graph-quad-in Elliptical In df-active-lights-graph-ellipse-in
Linear Loop df-active-lights-graph-linear-loop Quadratic Out df-active-lights-graph-quad-out Elliptical Out df-active-lights-graph-ellipse-out
Fixed Start df-active-lights-graph-fixed-start Quadratic Full df-active-lights-graph-quad-full Elliptical Full df-active-lights-graph-ellipse-full
Fixed End df-active-lights-graph-fixed-end Quadratic Loop df-active-lights-graph-quad-loop Elliptical Loop df-active-lights-graph-ellipse-loop

Contributors

become a patron If you want to support me or just help me buy doggy treats! Also, you can keep up to date on what I’m working on. I will be announcing any new modules or pre-releases there for anyone wanting to help me test things out!

Changelog

You can find all the latest updates in the CHANGELOG

Categories

Available Versions

  1. Version 1.3.1

    1 year, 12 months ago
    Foundry Version 10.290+ (Verified 10.290) Manifest URL Read Notes
  2. Version 1.3.0

    Foundry Version 10 - 10.288 (Verified 10.288) Manifest URL Read Notes
  3. Version 1.2.1

    Foundry Version 9 - 10.288 (Verified 9) Manifest URL Read Notes