Create SVG files from VMobject and VGroup
Project description
manim-mobject-svg
Create SVG files from VMobject.
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:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file manim_mobject_svg-0.2.0.tar.gz
.
File metadata
- Download URL: manim_mobject_svg-0.2.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1f0e024bea4bfd0226975311ae7c939afea954e2b7ea789748227b0b6c0f1ed |
|
MD5 | dc8099067a8e37ae9952e7bbdefa3ec4 |
|
BLAKE2b-256 | 81f942932641be8224820d22770c111d392253e4dd53a2153d836abbd29ca445 |
File details
Details for the file manim_mobject_svg-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: manim_mobject_svg-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8209305941fb9691c0064e689f466a34c17c093ca273b31764881dc053be4254 |
|
MD5 | ad9e34cef563f44a2e1e649f3fd7312d |
|
BLAKE2b-256 | ff85869f5946668119b0435c80dffa9d6932269ad8183dd38836f11a0a8cbc74 |