Log inGet started
Package

styles.module

README.md

styles (module)

The table of every ambientDrift style: its particle count for each quality tier (high, medium, low), its default area box, default wind and whether it follows the camera by default, plus the calm / normal / windy moods.

  • list(), names(), get(name): the styles.
  • count(name, quality): particles at full density for a tier (auto resolves first).
  • autoTier(): low on Android and touch browsers, medium in a desktop browser, high in the native app (medium with a touch screen), read from engine.platform and the input snapshot's touch_capable.
  • moods: wind and sway multipliers.

Read by the api module and the Drift component.