Skip to main content

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: svg square manim

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: svg vgroup manim

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

manim_mobject_svg-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

manim_mobject_svg-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file manim_mobject_svg-0.1.0.tar.gz.

File metadata

  • Download URL: manim_mobject_svg-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Windows/10

File hashes

Hashes for manim_mobject_svg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 07df2159c4463a483e9037664ec6d3ea8a24eebcfacd44c1f4692d547aaca319
MD5 f43b7a695b3cc134782e69cc04caf45c
BLAKE2b-256 0ce1cffdc6e313010ce74f15bddca275c39ce4c077f227aac5767c32b2d545a7

See more details on using hashes here.

File details

Details for the file manim_mobject_svg-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for manim_mobject_svg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00410f286bfa83a4c512908d0ce5ec18a896fbb6c27bdc34ff02bbf2315c82ef
MD5 97738aa91d4d819a9400e941a5ec4216
BLAKE2b-256 93225db0f9c4bd6fc9e88cb5a9952dd991e04b496bbbf1351df69bf6fd58db2e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page