batgrl.gadgets.text_effects.black_hole#

A black hole effect.

Functions

_collapsing(particles, coords, center, radius)

_consuming(particles, coords, center)

_exploding(particles, center)

_forming(particles, coords)

_point_char(black_hole, center)

_rotating(black_hole, coords, center)

black_hole_effect(text)

Create a black hole effect.

Classes

_BlackHoleParticle(field, index)

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.