Skip to content

Instantly share code, notes, and snippets.

@stenson
Created January 12, 2022 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stenson/da67939e303bd31605faf3edff003fdc to your computer and use it in GitHub Desktop.
Save stenson/da67939e303bd31605faf3edff003fdc to your computer and use it in GitHub Desktop.
from coldtype import *
chars = "ABCDEFG"
count = len(chars)
fnt = Font.Cacheable("~/Type/fonts/fonts/plakato/PlakatoDraw.ttf")
@animation(timeline=Timeline(35*count, 30), bg=0, render_bg=1)
def animall(f):
e, lidx = f.e("qeo", count, loop_info=1)
return (StSt(chars[lidx//2]
, fnt
, fontSize=750
, ANIM=e)
.align(f.a.r, th=0)
.f(1))
@stenson
Copy link
Author

stenson commented Jan 12, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment