manim.mobject.svg.svg_path

Mobjects generated from an SVG pathstring.

Classes

SVGPathMobject

VMobjectFromSVGPathstring

Pure alias of SVGPathMobject, retained for backwards compatibility

Functions

string_to_numbers(num_string)[source]

Parse the SVG string representing a sequence of numbers into an array of floats.

Parameters

num_string (str) – String representing a sequence of numbers, separated by commas, spaces, etc.

Returns

List of float values parsed out of the string.

Return type

list(float)