Animate highlighted blocks of code in Manim
Project description
Manim-Code-Blocks
Manim-Code-Blocks
is a library for Manim that allows animating blocks of code in Manim videos and scenes.
Example Usage
from manim import *
from manim_code_blocks import *
class Main(Scene):
def construct(self):
java = CodeBlock(
"""
public class Main {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
""",
language = Java
)
self.play(*java.create())
Outputs:
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
Close
Hashes for manim_code_blocks-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6cd3426c4ed71175a8c8469c9f3c3607d9e855ed58e87974613b6261251f07 |
|
MD5 | 9e6ec4c0c22325ff7840a492527182c1 |
|
BLAKE2b-256 | 1363087a304fed20fc5d3e1778f8bbc9965371d732ecd874dc2eec46f1a78d8f |