So i saw remme or how ever you spell it with the lights that flash into your eyelids when your dreaming and i was like what if there was an app with those same lights. well i kinda thought about it and here it is.

Make an app that does the flashing lights. (control brightness with the ipods settings)
put padding where it needs to be.
put a strap on it and maybe it could work.
for the whole detecting rem state thing maybe you could put a setting on the app to flash the lights at a certain time. all you would need to do would be figure out your sleep cycle.

Let me know what you guys think and if anyone would want to help em with this project?