Skip to content

Digital Reading Rulers were developed as part of a publication presented at SIGCHI 2023

License

Notifications You must be signed in to change notification settings

adobe/digital-reading-rulers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Digital Reading Rulers

This simple implementation of 4 digital reading rulers - Grey Bar, Lightbox, Shade, and Underline is motivated from our published work (publish date April 2023 at SIGCHI).

Origial cursor contribution comes from custom-cursor for this implemenation. We did not use these exact rulers in our study, as we implemented them in our reading interface directly using HMTL/CSS/JavaScript. However, we highly recommend you fork this repository as these rulers can be easily used in any react project since this implementation relies on hooks and context.

Building

Run the following commands. The server will start up on localhost:3000.

yarn install
yarn start

Use it in your project

In order to use these rulers in your react project, you simply wrap your app in index.tsx/js with our MouseContextProvider after importing our components, context, and hooks into your project and App itself. See App.tsx as an example where we use the Menu component from React-Spectrum in order to switch between different rulers.

<React.StrictMode>
    <MouseContextProvider>
      <App />
    </MouseContextProvider>
  </React.StrictMode>

Happy reading!

About

Digital Reading Rulers were developed as part of a publication presented at SIGCHI 2023

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published