batgrl.gadgets.text_effects.spotlights#

A spotlight effect.

Functions

_draw_spotlights(in_fg, in_bg, out_fg, ...)

_grow_spotlights(in_fg, in_bg, out_fg, ...)

_move_spotlights(in_fg, in_bg, out_fg, ...)

_random_point(size)

spotlights_effect(text)

Create a spotlight effect.

Classes

_SpotLight(pos, color[, radius, falloff])

async batgrl.gadgets.text_effects.spotlights.spotlights_effect(text: Text)#

Create a spotlight effect.

Parameters:
textText

The text gadget which to run the effect.

Warning

Modifying text size while effect is running will break the effect.