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 coldtype import * | |
rs1 = random_series() | |
@renderable((1080, 540)) | |
def contours1(r): | |
return (StSt("ASDF", "Madtown", 300) | |
.align(r) | |
.mapv(lambda i, p: p | |
.removeOverlap() |
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 coldtype import * | |
from coldtype.fx.skia import phototype, luma, precompose, fill | |
from coldtype.warping import warp | |
fnt = Font.Find("PlakatoPlay.*I") | |
rs = random_series(0, 1000) | |
txt = "VERY\nVARI-\nABLE" | |
@animation((1080, 1080), tl=Timeline(60, 24), bg=0, render_bg=1, composites=1) | |
def plak2(f): |
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 coldtype import * | |
# Generic Style-to-blackrenderer.render.renderText mapping function | |
import tempfile | |
from coldtype.img.skiaimage import SkiaImage | |
from blackrenderer.render import renderText | |
def blackrender(text, style:Style): | |
with tempfile.NamedTemporaryFile("wb", suffix=".png", delete=False) as tf: |
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 coldtype import * | |
from coldtype.fx.skia import precompose | |
# inspired by https://mauricemeilleur.net/truchet_tiles | |
rs = random_series(0, 3) | |
rs2 = random_series() | |
tr = Rect(100) | |
tn = 8 |
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 coldtype import * | |
# make sure to select hobeaux borders otf | |
# in the ST2 font picker in Blender | |
# (or else this script won’t work) | |
styles = [ # the number in the text box in ST2 | |
"Aa ", "B ", "Cc3", "Dd4", "Ee5", | |
"Ff6", "Gg ", "Hh8", "Ii9", "Jj0", | |
"Kk!", "Ll@", "Mm#", "Nn$", "Oo%", |
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 coldtype import * | |
from coldtype.fx.skia import phototype | |
rs = random_series(-(r:=30), r, seed=0) | |
@animation((1080, 1080), bg=0, tl=120) | |
def slicer(f): | |
s = Scaffold(f.a.r.inset(-500, 0)) | |
s.grid(41, 1) | |
OlderNewer