Tutorial request: how to animate a variable font
-
-
@Anna hi
do you get error messages?
if so you should post them.
and maybe post some code.
what is going wrong and what would you like it to do?
-
@Mattipa Hi there! I like the very simple result of this tutorial, I was wondering if I could make a centered alignment of the word in the middle of the page. Thank you!
-
to center the text on the page you should set the align parameter to center and set the x coordinate of the text to half of the page width:
text(txt, (width()/2, 70), align ='center')
-
This post is deleted!
-
This post is deleted!
-
@jo Thank you! Solved : D
-
Anyone knows how can I animate individual characters in a word?
-
@ticoflavio have a look at this example
-
@gferreira Thanks!
-
@gferreira does the example code make 2 gifs, one width and one weight separately? When I run it, it prints only the weight axis. Thank you in advance!
-
hello @yoshigoshi,
the axis is selected by index in line 11:
axis = list(variations.keys())[0] # 0 = first
the width axis is the second one in this case, so you can get it with
[1]
.cheers!
-
@gferreira Thank you!!
-
@jo hello jo,
im curious about this solution because my animation seems a bit shaky and its not about the number of frames. It looks like it always snaps the points to an invisible grid which has a lot bigger units than pixels. Thanks in advance!
-
@hzinn hi,
maybe some calculation is going wrong. maybe the variable font has some issues? but it is really hard to say what is happening without some code or image.
does it work if you use the Skia font?
-
@jo Here is a gif with the Skia. But it is doing the same if you looking at the corners. I'd like to use it for a projection in large scale, so'd be more visible at that size
-
Also I'd like to control the speed and i want to use it as a video. Maybe if i convert it to video and stabilize it then it's possible to fix this issue.
-
not sure how best to improve this
more frames and higher resolution might be a start
and maybe adding a background.