Skip to content

Consider using HTML instead of SVG for the spatial room #19

Description

@colinbdclark

This is a longer term issue, and worth discussing in greater detail at some point, but I wanted to file an issue so that I don't forget.

At the moment, we're using D3 to render out an SVG-based visual layout for the spatial audio room, where audio description nodes are coloured circles with text labels beneath them, and listener's position in the virtual space is represented as a outlined circle.

I think it might be possible to render this display using styled HTML elements, and get a few benefits as a result:

  1. Automatic support for platform-level display accessibility features such as text resizing and boldness that, at least in my testing on iOS, seem to work out of the box for HTML, but are not applied to SVG elements
  2. A smaller download size due to fewer dependencies
  3. Faster rendering times (I see what feels like notably slower SVG rendering speeds on iOS than on Android)

Something to consider for a future version of Audimance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions