This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from manim import * | |
import string | |
import random | |
random.seed(513) | |
def gen_text(text = string.ascii_uppercase): | |
b = VGroup() | |
lr = None | |
for x in text: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
def find_position(char): | |
for set_num in range(len(table)): | |
if char in table[set_num]: | |
return set_num | |
return False | |
def forge_offsets(key, direction, offset): | |
if type(key) is str: |