Use Fonts from Internet With Manim.
Project description
Manim Fonts
Get fonts on the fly from the internet which can be used with Manim.
Example
from manim import *
from manim_fonts import *
class Example(Scene):
def construct(self):
with RegisterFont("Poppins") as fonts:
a = Text("Hello World", font=fonts[0])
self.play(Write(a))
You can replace Poppins with any font available on Google Fonts for example RegisterFont("Berkshire Swash"), and this plugin will download that font and add to search path and returns the font names that can be passed to Text to directly to use the fonts.
The fonts downloaded are cached and are reused.
License
This project is licensed under BSD 3-Clause License.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file manim_fonts-0.5.0.tar.gz.
File metadata
- Download URL: manim_fonts-0.5.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bb216f87f629349c4d60cf9d3ff3c0c12dbd551fe18b5607b431c9f529961a1
|
|
| MD5 |
2074b480f38ae4b0ce7a7d8a3266e68e
|
|
| BLAKE2b-256 |
7a44bd7793158d64a9363bea642194c087c96fcae4aae7355d411b8217969858
|
File details
Details for the file manim_fonts-0.5.0-py3-none-any.whl.
File metadata
- Download URL: manim_fonts-0.5.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34a66a56fe4bba4b0daffdeec2829c8c447b8e5f5f410449dee61bf7c95021b2
|
|
| MD5 |
d6ff84d64f0a68c91ccd40554dda5e11
|
|
| BLAKE2b-256 |
3b7f0e497cab8c91c155dfaf32ccc28427cd2044ffdfa5b65fe2a2c863801949
|