Skip to content

Add reduced-motion support to the 3D scene #56

Description

@slavazeph-coder

brainsnn-r3f-app/src/components/BrainScene.jsx

Respect prefers-reduced-motion: reduce by damping particle speed, disabling camera auto-rotate, and reducing pulse wave amplitude.

There's already a partial CSS hook (@media (prefers-reduced-motion: reduce) in src/styles/global.css) — extend the preference into the R3F scene via window.matchMedia('(prefers-reduced-motion: reduce)').

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions