URL: https://graphicscomputing.fr/cgp/reference/timer_event_periodic/
Description: Timer raising an event at a fixed period (spawn objects regularly).

# timer_event_periodic

Timer raising an event at a fixed period (spawn objects regularly).

Fields:

- `bool event` - True only after an update() during which event_period elapsed since the previous event, false otherwise.
- `float t_periodic` - Time in seconds accumulated since the last event, reset when it reaches event_period.
- `float event_period` - Time in seconds between two events, 1 by default.
- `float t` - Accumulated time in seconds, multiplied by scale, 0 until the second update().
- `float scale` - Multiplier applied to the elapsed real time (1 by default; larger values accelerate the animation).
