Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize the appeance of the device in the Accelerometer panel. #173

Merged
merged 1 commit into from
Oct 18, 2016

Conversation

TimBarham
Copy link

The device representation in the Accelerometer panel is old and clunky looking, and isn't representative of modern devices. This change updates it to a more modern look.

Because the mesh is significantly more complex, and requires some maths to generate, I changed it to be generated at design time, creating a JSON file with the resulting mesh. For simplicity, I update the 3D library to accept a mesh array as an alternative to a string (it clones it, however, since it makes changes to its copy).

For comparison, here's a couple of shots of the old device:

image image

And equivalent shots of the new device:

image image

@TimBarham TimBarham merged commit 706fbbe into master Oct 18, 2016
@TimBarham TimBarham deleted the tbarham/nicer-device branch October 18, 2016 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants