KekLib.OurManim#

OurManim.py

Copyright (c) 2019-2024, SAXS Team, KEK-PF

class Animation(start, stop, on_stop=None)#

Bases: object

animate(i)#
append(anim_object)#
close()#
get_artists()#
set_visible(torf)#
class Arrow(ax, pos, dpos, **kwargs)#

Bases: object

this class is incomplete, because the head shape won’t be consistent with the move direction.

animate(i)#
divide(count)#
get_artists()#
set_target_position(pos, dpos)#
class Circles(ax, pos, **kwargs)#

Bases: object

animate(i)#
divide(count)#
get_artists()#
set_target_positions(pos)#
class Collection(num_frames, ret_artists=[], on_reset=None)#

Bases: object

anim_dict#
indeces = {

0 : [a0, a1], 1 : [a0, a1], 2 : [a0, a2, …], 3 : [ a2, …], …

}

animate(i)#
append(anim_object)#
make_animation(fig)#
reset()#
class Parallelogram(ax, vertices, motion='linear', **kwargs)#

Bases: object

animate(i)#
divide(count)#
get_artists()#
make_reversed(ax, **kwargs)#
set_target_vertices(vertices)#
class TextGroup(ax, texts, positions, **kwargs)#

Bases: object

animate(i)#
divide(count)#
get_artists()#
reset_positions()#
set_target_positions(positions)#
set_visible(torf)#
angle(v0, v1)#

Angles between two n-dimensional vectors in Python https://stackoverflow.com/questions/2827393/angles-between-two-n-dimensional-vectors-in-python

latex_init()#
manim_init()#
rotate(theta, vertices)#
rotation(theta)#
use_default_style()#