Skip to content

srih4ri/custom_color_blindness_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Color Blind Messages

Try at : http://srih4ri.github.io/custom_color_blindness_test

Draw a pattern similar to ishihara's color blindness text. User can enter the text using a tiny text box at the top too.

How?

  • onColors and offColors look same to color blinds, but not for others.
  • Draw the text on canvas.
  • Capture this text as bitmap.
  • Iterate over this bitmap mapped as x,y co-ordinates on canvas and draw them using off colors.
  • Fill the rest of the area with on colors.
  • Use a dumb collision detection so we don't overlap circles.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published