// Creative code · Motion

Code Motion

Two coded studies test motion in context and hand working behaviour directly to development.

Role Web & Motion Designer
Timeline 2025
Stack
HTMLCSSJavaScriptWeb Animations API
Tags
Creative CodingCode AnimationInteraction
Case 01

Capybara Tap-to-Earn Points

Repeated taps update an off-chain balance; rewards stay readable without blocking input.

Why code

A 980ms late fade preserves stacked rewards while state updates immediately.

9:415G  100%
Capybara Tap mini app
Capy Points 2,345
Daily task 2 / 3 completed
Capybara game scene
Tap the capybara
Case 02

Live Stream Reaction

Reactions, comments, and danmaku create presence without covering the host.

Design summary

Local reactions add energy; five fixed danmaku lanes protect the host and reading rhythm.

Finance livestream host
Following Mira Markets
9:415G  100%
Mira Markets
Mira MarketsMacro & Crypto Interview
LIVE
8.4K
📈
MacroLens What changes if the Fed stays higher for longer?
₿
BlockDesk BTC breakout or just another liquidity sweep?
🏦
RatesWatch The 10Y move is the key signal today.
📊
EarningsCall Which sector has the cleanest setup into earnings?
React to the interview →
15.6K
2.3K
Ask about markets...
Motion system · parameter map

Motion Tuning Guide

Adjust the parameter that controls the intended feeling.

Timing + fade

  • Faster / slower → adjust duration
  • Fade earlier / later → move the opacity keyframe

Distance + direction

  • Move farther / shorter → adjust translateX, translateY, or distance
  • Stronger / lighter feedback → adjust scale and distance

Motion character

  • Softer / sharper movement → adjust easing
  • More / less bounce → adjust scale, overshoot, or spring damping

Danmaku density

  • More / fewer messages → adjust interval
  • More / fewer rows → adjust lanes

Danmaku flow

  • Faster / slower messages → adjust speed
  • More message spacing → adjust laneGap and releaseBuffer

Reduced motion

  • Reduce intensity → shorten distance and remove large transforms
  • Preserve clarity → keep state changes visible without relying on movement

Design principle: tune one variable at a time, then test the full loop.

Reflection

Motion earns its place when each parameter clarifies state; next, package the reward and danmaku patterns with reduced-motion defaults.