Skip to content
Skills Library
Design & UX · Building & coding

world-interaction

/world-interaction

Build a meaningful interactive mechanism inside a cinematic landing page, including pointer, touch, keyboard, feedback, threshold, physical response, and reset. Use for drag, hold, aim, reveal, physics, or object manipulation.

Repository
webskill ↗
Licence
MIT
Last repository change
29.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Build a meaningful interactive mechanism inside a cinematic landing page, including pointer, touch, keyboard, feedback, threshold, physical response, and reset. Use for drag, hold, aim, reveal, physics, or object manipulation.

Original author description

Build a meaningful interactive mechanism inside a cinematic landing page, including pointer, touch, keyboard, feedback, threshold, physical response, and reset. Use for drag, hold, aim, reveal, physics, or object manipulation.

How it works

  1. Write the interaction contract before code
  2. Feed one state into multiple visible consequences
  3. Keep the page usable
  4. Verify the physical response
Original SKILL.md headings · 24 lines, 455 words
SKILL.md preview
---
name: world-interaction
description: Build a meaningful interactive mechanism inside a cinematic landing page, including pointer, touch, keyboard, feedback, threshold, physical response, and reset. Use for drag, hold, aim, reveal, physics, or object manipulation.
---

# An interaction must change the world

Choose one signature action tied to the page's subject. Examples in the source: aim a lantern to find a relic, wipe condensation from glass, drag daylight over a house, power a mech by holding, rev a motorcycle, crack a geode, scratch a record, guide a boat, or inspect a shoe through a lens. The action matters because it reveals information, changes material, advances a task, or leaves a lasting state. Pointer-follow glitter is insufficient.

## Write the interaction contract before code

For the chosen action, write six facts: **hint, input, active feedback, completion threshold, release/cancel result, replay/reset**. State the equivalent keyboard and touch route. State whether scroll is allowed during input. The hint must appear near the control, remain legible on touch devices, and not live only in a custom cursor. If an object is hit-tested by raycast, also provide an accessible DOM control that triggers the same state transition.

Use a small state machine. Example for hold-to-power: `idle → charging → powered`; `charging → idle` on release before threshold; `powered → reset` via explicit action. Time comes from frame delta rather than frame count. Hold begins only on the intended target, captures the pointer when necessary, and ends on `pointerup`, `pointercancel`, window blur, or component teardown. Keyboard Space/Enter on a focused button runs the same transition. Never hijack Space while the visitor is focused in a form. For drag, distinguish a tap from travel; use a threshold so touch scrolling does not accidentally manipulate a scene.

## Feed one state into multiple visible consequences

A control should have mechanical coherence. In Monolith, time changes sun direction, shadow length, sky, exposure, and text theme. In Racer, RPM changes engine sound, headlight, vibration, tachometer, and exhaust. In Terrarium, wipe modifies glass roughness/transparency, exposes the world, and slowly reforms. In Gambit, moving a chess piece updates the board and notation. Bind these effects to one source value, not independent animations with similar timing.

## Keep the page usable

Use `pointer-events` deliberately so the 3D scene does not intercept nav or CTA. Give pressed/toggled states to DOM controls. Announce a completed action in concise accessible text where needed. Provide mute for sound; create/resume WebAudio only after a user gesture. On mobile, enlarge hit areas and reduce high-cost effects while keeping the core action. A WebGL failure should replace the interaction with a useful image, video, or simplified DOM control and keep the visitor's path to the CTA.

## Verify the physical response

Capture before, during, completed, and reset frames. Test mouse, touch, keyboard, early release, pointer leaving the target, repeated use, and scroll while active. Reject controls whose feedback is confined to a progress ring while the actual subject stays unchanged.

Versions

The database has no other skills named world-interaction.

Database snapshot: 13.11.2026 · package version f065b38a013b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95world-3d
    Build the three-dimensional subject and environment of a cinematic landing page, including asset choice, scene scale, materials, lighting, camera, rendering, and fallback. Use for real WebGL scenes; not for a CSS illustration.
  • 85cinematic-motion
    Choreograph loader exit, camera movement, object response, text reveals, particles, light, and optional sound for a cinematic landing page. Use when motion must express one physical narrative rather than decorate sections.
  • 100mimicry-behavioral
    Apply behavioral mimicry — making an interface element behave like a familiar physical object so the user''s physical-world intuitions transfer to the digital interaction. Use when designing gestures, animations, transitions, drag-and-drop, scroll behaviors, or any interaction…
  • 100threejs-interaction
    Implement and debug Three.js interaction with Raycaster, pointer and touch coordinate conversion, hover/selection state, camera controls, dragging, keyboard input, and world-to-screen projection. Use when picking objects, adding OrbitControls or PointerLockControls, handling…
  • 100kk-interface
    Everything the hand does in an interface — the Bureau Gorbunov's interface school with the research on habit, memory and action, each interaction weighed by frequency and reach, effort, impact, confidence and mission value. Choosing an element by its function, states and…
  • 100pf-catalog-interaction-patterns
    Catalog interaction patterns (click, hover, keyboard, drag) across PatternFly components. Use when selecting a component for a specific interaction need, describing UI behavior without naming a component, or building prototypes that require interaction-based component lookup.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.