VisionDefectSimulation icon indicating copy to clipboard operation
VisionDefectSimulation copied to clipboard

VisionDefectSimulation

This project contains the code used to do vision simulations in xScope. The VisionDefectSimulation class creates a Core Image filter which can be used to simulate color blindness and Presbyopia.

A sample project, Retination, is included to show how this filter can be used to modify a CGImageRef or NSImage. (Look at the VisionView class for details.)

The code does not use ARC, as I wanted the code to work in as many different development environments as possible.

It is my hope that by making this code public, more tools will provide designers and developers with the information to make better visual choices.