Chiron - Part 2 Rive-ting Animations #67
nduartech
announced in
Blog Posts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
slug: chiron-rive
description: Developing animations for Chiron - a personal assistant
published: 2024-11-18
Everybody knows that one of the most important features, if not the feature, of AI assistants is the clever animations that play in sync with the audio, giving the impression that the agent is speaking to the user. This is a core part of Siri, Google's Assistant, and others. Unfortunately, as someone who mainly operates on the back-end in a professional capacity, my experience with developing such animations was non-existent. At the same time, I did not want to simply take someone else's implementation, though these could be found online, as I felt it would be better to build something that was specifically designed to integrate with my as of yet unwritten UI and back-end.
An initial search led me to LottieFiles, the site on which I created the first version of Chiron's persona (half-baked Siri-like animation). However, I didn't appreciate that exporting this animation without a watermark required payment/subscription to LottieFiles as a service. And so I began searching for an alternative.
Enter Rive, a brilliant piece of software that creates animations as finite state machines. Even better, Rive allows you to import projects from LottieFiles. From there adding them to your personal projects using the Rive runtime for free is straightforward. Bingo.
Using Rive, I developed both a dark mode and light mode version of the Chiron persona, and was able to test the very basic animations I designed out on the app's website. Finally, I exported both of these to .riv files, ready for integration into a web-based UI using the embeddable runtime.
Beta Was this translation helpful? Give feedback.
All reactions