StreamLine¶
Qualified name: manim.mobject.vector\_field.StreamLine
- class StreamLine(*args, **kwargs)[source]¶
Bases:
VMobjectA single stream line as generated by
StreamLines.This subclass adds attributes used by the flow animations of
StreamLineswhich are not part of the public API.Methods
Attributes
alwaysCall a method on a mobject every frame.
animateUsed to animate the application of any method of
self.animation_overridescolordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.
The simulated time this line took to be traced.
The current virtual time position of the flowing animation.
The animation currently flashing this line, if any.
targetoriginal_id- Parameters:
args (Any)
kwargs (Any)
- _original__init__(*args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
args (Any)
kwargs (Any)
- Return type:
None
- anim: ShowPassingFlash | None¶
The animation currently flashing this line, if any.
- duration: float¶
The simulated time this line took to be traced.
- time: float¶
The current virtual time position of the flowing animation.