Typewriting animation

   1115   5   1
User Avatar
Member
8 posts
Joined: March 2017
Offline
Hey guys.
Could anyone help me to find a solution to procedural typewriting animation?
I need to create line of specific text which would type one character after another and start over and over when finished.
I thought this will be easy job, but it become real torture for me now ...
User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
You could activate 'text attributes' on the font node and append a primitive wrangle which removes primitives based on their textindex number versus the time frame.

int num = nuniqueval(0, 'prim', 'textindex');
int frame = int(@Frame*0.25 % num);
if(frame < i@textindex){
    removeprim(0, i@primnum, 1);
}
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
8520 posts
Joined: July 2007
Online
here is a simple example

Attachments:
ts_type_animation.hipnc (79.9 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
8 posts
Joined: March 2017
Offline
Well this is genius !!! Unfortunately I´m not as VEX skilled yet to write such code by my own. Anyway ... thank you so much Konstantin. This works perfect!
Edited by cchondzik007 - Oct. 11, 2022 16:52:36
User Avatar
Member
8 posts
Joined: March 2017
Offline
Thank you so much Tomas as well. This is also perfect! Díky moc! :-)
User Avatar
Member
1 posts
Joined: Sept. 2017
Offline
why are the attribute promote nodes not the same?

Attachments:
Screenshot (1790).png (458.1 KB)
Screenshot (1790).png (458.1 KB)

  • Quick Links