Recreating the Mac Mini Effect Step-by-Step in Rive


I recently recreated the Mac Mini animation using Rive, a no-code animation tool that’s becoming increasingly popular among web and product designers (and developers).

To make this easier to follow, grab my remix link and follow along. Here’s the animation we’ll be recreating:

Rive User Interface

Welcome to the Rive interface. Here’s a quick rundown:

  1. Toolbar
  2. Hierarchy (or Layers) List
  3. Artboards
  4. Toggle to switch between Design or Animate Mode*
  5. Animations shelf — only shown when you’re in Animate Mode*

*When designing or laying things out, stay in Design mode. When you’re ready to animate, switch to Animate mode (shortcut: tab key).

Nested Artboards

The two “i’s” reference the same artboard. All the others on the right will also be used.

Since this is a complex animation, I’ll be using nested artboards. It’s similar to components in Figma — you work within a separate artboard and then bring it into the main timeline.

Two big advantages of doing this:

  1. Keeps your main timeline clean (believe me, it will get messy).
  2. Lets you reuse animations, which we’ll see soon.

Create Animation Timelines → Configure the “i”

The letter “i” has four stages. For each stage, I’ve tweaked the properties on the first frame — we’ll see them animated once we wire them up in the State Machine.

The only exception is Stage 3, where the dot on the “i” bounces a bit.

Using State Machines & Inputs → Animate the “i”

Now, here’s a secret: the state machine is what makes Rive so powerful.

A state machine binds multiple animations and defines the logic for transitioning between them. In my example:

  • An Any State block connects to the other animations, allowing me to jump between stages at any point, not just in sequence.
  • An Input takes in a stage variable (from 0-3).
  • Conditions map the stage variable to its corresponding animation.

Once the variable stage is created, we can hook up a condition to these connector arrows. In the screenshot above, for example, if stage == 0, the animation “Stage 0” will run.

Before returning to the main artboard, ensure the stage variable is “exposed to the parent artboard,” allowing you to modify stage in the main timeline.

On the main artboard’s timeline, I’ve updated stage for the initial letter “i”

Faux 3D → Coins, Hearts, and Star

One great feature of Rive is the ability to create faux 3D effects. This is fairly simple: add a thick stroke and ensure “Apply transform” is turned off.

Then, tweak the X scale from 100% to 0% (then to -100%), and it’ll appear to spin in 3D!

We apply this same concept to the coin and the star — when added to the main timeline, it creates a magical effect ✨

Putting It All Together

With all the smaller animations ready, we can add them to the Main artboard.

Think strategically about how you want to group layers (elements that animate together should be grouped).

Additionally, solo mode allows you to easily show one layer and hide the others:

I know this is a deep dive, especially if this is your first time using Rive. The best way to learn is to grab the remix file, break it apart, and explore it yourself!

Bonus: for the pirate flag, it’s similar to what’s described in this tutorial (starting at the 8:30 mark).



Source link

case studies

See More Case Studies

Contact us

Partner with Us for Comprehensive IT

We’re happy to answer any questions you may have and help you determine which of our services best fit your needs.

Your benefits:
What happens next?
1

We Schedule a call at your convenience 

2

We do a discovery and consulting meting 

3

We prepare a proposal 

Schedule a Free Consultation