batgrl.gadgets.text_effects.black_hole#

A black hole effect.

Functions

_collapsing(particles, positions, center, radius)

_consuming(particles, positions, center)

_exploding(particles, center)

_forming(particles, positions)

_point_char(black_hole, center)

_rotating(black_hole, positions, center)

black_hole_effect(text)

Create a black hole effect.

async batgrl.gadgets.text_effects.black_hole.black_hole_effect(text: Text)#

Create a black hole effect.

Parameters:
textText

The text gadget which to run the effect.

Warning

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