Side project · ganeshuxcraft.inAI 04 / 04

Meet Sunny: a mascot that pays attention.

A small yellow companion living in the corner of every page. Sunny reads the room, reacts to visitors, keeps time of day, answers questions about my work, and has a dog called Puppy.

Role
Character, motion and code
Built with
Figma, SVG, CSS, JavaScript, Claude
Range
20 emotions · 21 acts · 33 sounds
Lives on
Every page, bottom-right

Sunny and Puppy in Together mode. Both are drawn in Figma and run as plain SVG on the site; every face on this page is the live artwork.

01 / Why a mascot

A portfolio is read alone. Sunny makes it feel like someone is home.

Most visitors skim. A character that notices them gives the site a voice, makes the small details discoverable, and turns a quiet visit into a short conversation.

Notices you

Reacts to scrolling, idling, leaving the tab, a right-click, or being picked up.

Knows the page

Comments on the section you’re reading and points to the work behind it.

Answers questions

Click Sunny or Puppy, or press A, and the Ask panel answers questions about my work from a small knowledge file.

02 / Emotions

Twenty faces, one yellow ball.

Emotions are quick faces that last a second or two. Behind them sits a mood that lasts longer and tints how Sunny idles, which acts it picks and what it says.

Behind the faces sit 11 longer moods (neutral, happy, curious, excited, proud, shy, sleepy, relaxed, focused, dizzy, confused) that tint how Sunny idles.

03 / Acts

Twenty-one things to do while you read.

When nobody is interacting, Sunny picks an act that fits its mood. Some come with props, a sound and a line at the end, and anything you do interrupts them. Hover a tile to play it, click to make Sunny do it.

Everyday: wave, hop, peek, stretch, dance, walk, skip, sleep · Hobbies: cycle, swim, skate, fish, yoga, read, sing, selfie, joker · Off-duty: drink, beer, drunk, smoke

04 / What Sunny notices

Small signals, small reactions.

Drag and throw

Pick Sunny up and let go; it lands, wobbles and has opinions.

Idle time

Leave it alone and it gets bored, then sleepy, then naps.

Time of day

Morning, evening and night change the greetings and the energy.

Reading

Scrolling and section changes shape what it comments on.

Leaving the tab

Notices you went away, and says so when you come back.

Right-click

Puts on sunglasses. Too cool for context menus.

Keyboard

Responds to keys and shortcuts on the site.

Nap button

A small “zz” button lets visitors send Sunny to sleep.

05 / Puppy

And then there’s Puppy.

A second companion from a Figma illustration, loaded only when someone picks it. Visitors choose Sunny, Puppy or Together in the preferences panel.

Puppy’s faces

Default pose plus 13 emotions.

Things Puppy does

30 small dog acts. Hover a tile to play it, click to send it to the real pup.

Companion modes

Sunny

Alone, full size.

Puppy

Alone, 150px. Plays Sunny’s part, perch and cape included.

Together

Puppy at 60% beside Sunny.

06 / Sound and voice

33 tiny sounds, made in the browser.

Every cue is synthesised with Web Audio rather than loaded as a file, so sound costs nothing to download. Visitors pick one of 4 voices.

Voices

softbubblyretrobell

Sound cues

boopwheegrumblepickuplandpoptickbellsplashgulphictadashutterswooshdingyawnsnorebubblegasphmmtingawwsaddenheartshwoopgigglewobbleproudsighbarksniffpawchirp

07 / Design decisions

A mascot that never gets in the way.

01

Page first, Sunny second.

Sunny mounts after the page has loaded, in an idle slot, so the first paint never waits for the mascot.

02

Chatter is rationed.

Ambient lines are limited, and anything the visitor does takes priority over an act already running.

03

Motion is optional.

With reduced motion on, acts are switched off and Sunny stays calm. Visitors can also send it to nap.

08 / Takeaway

“Personality is a detail, repeated.”

No single blink or line makes Sunny feel alive. Hundreds of small, well-timed ones do, and each one has to know when to stay quiet.