Skip to main content
JG is here with you ✨
Live Metrics
FPS
60
Events/sec
0
Particles
0
Memory
0MB
Stage 2β€’45-60 minutesβ€’Intermediate

Mastery β€” "The Conversation"

"Your cursor isn't just following anymore. It's responding. When you hover a button, it should know. When you click, it should react. Your cursor is learning your language."

By the end of this stage, your cursor will have state awareness, easing animations, and real-time interaction feedback.

Est. time: 45–60 minutes Β· Intermediate with state machine concepts

🎯 New to State Machines?

Don't worryβ€”we'll walk through the idle β†’ hovering β†’ active flow visually. It's simpler than it sounds!

⚑ Have React Experience?

Perfect! You'll recognize useState and useEffect patterns. Focus on the animation loop and event delegation.

The Narrative

In Stage 1, you built a companionβ€”a simple follower. But real companions don't just follow. They respond. They anticipate. They communicate.

Think about how you interact with a friend. When you lean in, they lean in. When you're excited, they match your energy. This is what we're building: a cursor that has a conversation with your interface.

State machines are the language of this conversation. Easing is the tone. By the end of this stage, your cursor will feel alive.

The State Machine

Your cursor now has three "moods"β€”states that change based on what's happening:

// State Machine Visualization
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    IDLE     β”‚ ◄────── No interaction
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚ (mouseover interactive element)
       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   HOVERING  β”‚ ◄────── "I see something clickable"
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚ (mousedown)
       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   ACTIVE    β”‚ ◄────── "I'm being clicked"
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
       β”‚ (mouseup)
       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    IDLE     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Emotional Arc

Initial
Overwhelm
"State machines? Easing? What?"
Building
Gradual Mastery
Multiple states working.
Discovery
Delight
Smooth, intentional behavior emerging.
Completion
Pride
"I built this interaction."

What's Next?

You've mastered state machines and easing! Ready for the final challenge?

The final stage awaits! In Stage 3, you'll build a Canvas-based particle system with velocity-based emission and physics. This is where your cursor becomes art.

Stage 2 of 3

Mastery Complete?

Open to AI-Focused Roles

AI Sales β€’ AI Strategy β€’ AI Success β€’ Creative Tech β€’ Toronto / Remote

Let's connect β†’
Terms of ServiceLicense AgreementPrivacy Policy
Copyright Β© 2026 JMFG. All rights reserved.