`reverse` gives strange resultsSee original GitHub issue
r=1 inside of a
@animation((1080, 540), timeline=50, bg=hsl(0.6)) def wave(f): return (Glyphwise("COLDTYPE", lambda g: Style(Font.ColdtypeObviously(), 200, wdth=f.adj(-g.i*3).e("seio", 1), r=1)) .align(f.a.r) .f(1))
(Same as your sample code, but with the
I tried with different fonts, but that does not change anything
.reversePens() as a method call on the
Style() however seems to work
@animation((1080, 540), timeline=50, bg=hsl(0.6)) def wave(f): return (Glyphwise("COLDTYPE", lambda g: Style(Font.ColdtypeObviously(), 200, wdth=f.adj(-g.i*3).e("seio", 1), tu=-100, )) .align(f.a.r) .reversePens() .ro() .fssw(0, 1, 1) )
- Created 2 years ago
Top GitHub Comments
You know, now that you bring it up, I have been finding it annoying lately to type so many _ characters, just from an ergonomic perspective on US keyboards, and _'s add more chars to a give line, and also yeah DrawBot is pretty strictly camelCase… maybe I’ve had a change of heart!
The good news is pretty much everything in coldtype is meant to be short, so actually lots of method names try to be a single word (if not a single character). Will keep thinking on this!
Cool! Went ahead and added that exception, will be included in the next release (0.7.6)
.rp()) all work (aliases to a single function) — early on in Coldtype I was following a camelCase style but have been moving to the snake_case style since that’s the PEP8 style, so it’s a little bit of a mess but wanted to keep some camelCase things in there for backwards-compatibility. Will come out before a 1.0 release, but should be all good for now to use the camelCase version