Creating a Dynamic Text Animation in Rive

This is a dynamic text animation I recently worked on. It was a fun project and I learned a lot from it.


main export.mp4


Main Export 1-1.m4v

Here are some of the cool features I implemented:

  • Dynamic control of the number of items, radius, and animation speed in real-time through the data model.

  • The text content itself is also dynamic and updates when the data model changes.

  • Dynamically arranging the text in a perfect circle using sin and cos formulas connected to the data model.

  • Learning how to convert angles from degrees to radians for precise calculations.

  • Using the State Machine to control the animation with mouse inputs.


Main Export 2-1.m4vMain Export 3-1.m4v


Main Export 4-1.m4vMain Export 5-1.m4v


Along the way, I thought it would be great if Rive supported Global Variables that could be controlled from other artboards. What are your thoughts?