MACROINVERTEBRATES.ORG
  • PROJECT
  • PEOPLE
  • PRODUCTS
  • Blog
  • Resources
    • Help
    • FAQ

Adding more interactivity to the key

5/6/2019

 
by Chelsea Cui, undergraduate research assistant, CMU
​Hi, it’s Chelsea again! This spring I have been working with Jaclyn, our new designer, on a revision of the Order level key. Based on our previous usability test results, this time we decided to focus on the improvement of interactivity and element affordance. We wondered if making the key clickable and having paths highlight would make the key easier to follow. Here’s Jaclyn’s rough prototype:
​Since the new key has more interactive features, it requires more customized HTML and JavaScript components. To implement the design, I first tried to use SVG (Scalable Vector Graphics) techniques that I learned from my web development class to draw the key  within HTML manually, but the outcome did not resemble the design well since it is hard to control the exact location of the endpoints of the lines.
 
In order to find a better solution, I did some research and found that Adobe XD, the design tool used by Jaclyn, can export graphic designs to SVG images. By loading the SVG image in a browser, I was able to get the code version of the design and move it to the html file. However, since all components in the image, including lines, dots, and rectangles, are represented as separate vectors in the code and there is no meaningful order, it is necessary to label all the components with meaningful names and group them into different classes before further implementing the JavaScript part.
 
At this point, I have added all the popup windows and labeled most order pictures, but I will not be in CMU during the summer, so this project is on hold. For future developers, I would suggest to follow these steps:
 
  1. Inspect the page source.
  2. Group components related to each couplet, including the rectangle and texts, into a <g> group and give it an id that can describe the couplet well.
  3. Group the line vectors by path name and give them class = “path”.
  4. Group the paths related to each couplet and give them a class based on the entities connected.
  5. Use JavaScript to track the currently active couplets and paths, and change enable color change if a new option is clicked.

Comments are closed.

    Project Team

    An interdisciplinary team
    ​of entomologists, learning scientists, software engineers and designers collaborating to improve macroinvertebrate identification training and technologies with volunteer biomonitoring organizations.

    Categories

    All
    Broader Impacts
    By Clemson
    By CMU
    By Educators
    By Powdermill
    By Stroud
    Design Studies
    Educator Innovations
    Entomology
    Imaging
    Learning Research
    Mobile App
    NSF REU
    User Research

    Archives

    June 2023
    September 2022
    April 2022
    August 2021
    May 2021
    April 2021
    January 2021
    December 2020
    September 2020
    August 2020
    July 2020
    May 2020
    November 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    October 2018
    September 2018
    August 2018
    June 2018
    May 2018
    March 2018
    December 2017
    August 2017
    June 2017
    May 2017
    April 2017
    March 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • PROJECT
  • PEOPLE
  • PRODUCTS
  • Blog
  • Resources
    • Help
    • FAQ