manim-mobject-svg
Create SVG files from VMobject and VGroup.
Install: pip install manim-mobject-svg
Here's an example of how to use this plugin:
from manim import *
from manim_mobject_svg import *
a = Square(color=BLUE)
a.to_svg("square.svg")
This should create a file square.svg in the current directory and return the path to the file. The output should look like this:
It's also possible to create a SVG file for VGroup.
from manim import *
from manim_mobject_svg import *
a = Square(color=BLUE)
b = Circle(color=RED)
c = VGroup(a, b)
c.to_svg("group.svg")
It'll create a SVG file like this:
Parameters for to_svg()
to_svg() takes the following parameters:
path: Path to the SVG file to be created. If not specified, it'll create a temporary file and return the path to the file.crop: Crop the SVG file to the bounding box of the VMobject. Default:Truepadding: Padding around the VMobject. Default:0.5
This method returns the path to the SVG file.
Metadata
Release files for manim-mobject-svg 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| manim_mobject_svg-0.5.0.tar.gz | 4.2 kB | Without provenance | Details for manim_mobject_svg-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| manim_mobject_svg-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for manim_mobject_svg-0.5.0-py3-none-any.whl |
Total release size: 9.5 kB
Release files / manim_mobject_svg-0.5.0.tar.gz
| Download URL | manim_mobject_svg-0.5.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8a8c21917e30ad1798c6a48290c0c2787dcb976b7b59ceb3e4a75f7a2e97fd5
|
|
BLAKE2b-256 checksum How to use checksums |
bb0106838a75caf675b8c098152270437d173d4448b4ce4cde61e8c738535c36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.8.18 Linux/6.2.0-1018-azure
|
Release files / manim_mobject_svg-0.5.0-py3-none-any.whl
| Download URL | manim_mobject_svg-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f6403d0cb528a98f2c0678b3733edf7f24585b5f4a821baf9186162c1196d69
|
|
BLAKE2b-256 checksum How to use checksums |
ee17c4a230900c5c130244bda851ed2711d5fc5507bdd36a775e73e8c40a9afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.8.18 Linux/6.2.0-1018-azure
|
Security for manim-mobject-svg 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.