StreamLine

Qualified name: manim.mobject.vector\_field.StreamLine

class StreamLine(*args, **kwargs)[source]

Bases: VMobject

A single stream line as generated by StreamLines.

This subclass adds attributes used by the flow animations of StreamLines which are not part of the public API.

Methods

Attributes

always

Call a method on a mobject every frame.

animate

Used to animate the application of any method of self.

animation_overrides

color

depth

The depth of the mobject.

fill_color

If there are multiple colors (for gradient) this returns the first one

height

The height of the mobject.

n_points_per_curve

sheen_factor

stroke_color

width

The width of the mobject.

duration

The simulated time this line took to be traced.

time

The current virtual time position of the flowing animation.

anim

The animation currently flashing this line, if any.

target

original_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.