Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

world-interaction

/world-interaction

Projektuje interaktywny mechanizm w filmowej stronie lądowania: przeciąganie, przytrzymanie, reakcję fizyczną i reset.

Repozytorium
webskill ↗
Licencja
MIT
Ostatnia zmiana repozytorium
29.10.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść30 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Projektuje interaktywny mechanizm w filmowej stronie lądowania: przeciąganie, przytrzymanie, reakcję fizyczną i reset.

Oryginalny opis (EN)

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.

Jak działa

  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
Sekcje z nagłówków SKILL.md, w oryginale · 24 linii, 455 słów
Podgląd SKILL.md
---
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.

Wersje

W bazie nie ma innych skilli o nazwie world-interaction.

Migawka bazy z 13.11.2026 · wersja paczki f065b38a013b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95world-3d
    Buduje trójwymiarowy temat i otoczenie filmowej strony lądowania: zasoby, skalę, materiały, oświetlenie i kamerę.
  • 85cinematic-motion
    Komponuje ruch przy wyjściu z ekranu ładowania, kamerze, reakcjach obiektów, animacjach tekstu i świetle na filmowej stronie 3D, z opcjonalnym dźwiękiem.
  • 100mimicry-behavioral
    Stosuje mimikrę behawioralną: zachowanie elementu interfejsu naśladuje znane obiekty fizyczne, by intuicja z realnego świata przenosiła się na gesty, animacje, przeciąganie i przewijanie.
  • 100threejs-interaction
    Wdraża interakcje w Three.js: wybór obiektów przez Raycaster, kliknięcia, najechanie, przeciąganie i sterowanie kamerą.
  • 100kk-interface
    Projektuje interakcje w interfejsie według szkoły Bureau Gorbunov: dobór elementów, stany, nawigacja, formularze, tabele, dialogi, przeciąganie, cofanie i błędy, oceniane częstością użycia i nakładem.
  • 100pf-catalog-interaction-patterns
    Katalogizuje wzorce interakcji (kliknięcie, najechanie, klawiatura, przeciąganie) w komponentach PatternFly, by dobrać komponent do opisanego zachowania interfejsu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.