Created
February 17, 2022 19:27
-
-
Save stenson/86b693dc8fa2af75cb5316808a92f05d to your computer and use it in GitHub Desktop.
contours
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() | |
.explode() | |
.mapv(lambda j, c: c.f(hsl(i*0.23+j*0.13))))) | |
@renderable((1080, 540)) | |
def contours2(r): | |
return (StSt("ASDF", Font.MutatorSans(), 300) | |
.align(r) | |
.mapv(lambda i, p: p | |
.explode() | |
.mapv(lambda j, c: c.f(hsl(j*0.63))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment