batgrl.gadgets.text_effects.ring#

A ring effect.

Functions

_closest_point_on_circle(p, radius, center)

_disperse(particles, field_size)

_distance_to_circle(p, radius, center)

_move_to_rings(particles, radii, center)

_random_nearby_point(p)

_rotate_around_center(p, center, theta)

_settle(particles, text)

_spin_rings(radius_to_particles, center[, ...])

ring_effect(text)

Create a ring effect.

async batgrl.gadgets.text_effects.ring.ring_effect(text: Text)#

Create a ring effect.

Parameters:
textText

The text gadget which to run the effect.

Warning

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