New player? Sign Up Here
Level 5: 640 points
Last Logged In: May 11th, 2017
TEAM: United Kingdom BART Psychogeographical Association Rank 2: Trafficker EquivalenZ Rank 2: Human Googlebot The University of Aesthematics Rank 2: Dealer Biome Rank 2: Ecologist Society For Nihilistic Intent And Disruptive Efforts Rank 1: Anti

15 + 53 points

World of Snorecraft by Squirmelia

July 21st, 2013 1:26 AM

INSTRUCTIONS: Enable a sleeping person to create a work of art.

For this task, I took inspiration from the Sleep Time app, which tracks your sleep cycles and can wake you up while in your lightest sleep phase. It does this by using the accelerometer in your phone, to track how much you are moving while you sleep.

I decided to create an app that would let you draw while you were asleep, by reading an accelerometer in a similar way.

I toyed with getting an Apple developer license and using Xcode to read the accelerometer on an iPhone, or using an Arduino with an accelerometer, but in the end I decided upon using Processing and a phone. I then learnt how to use Processing and to read an accelerometer by signing up for a Coursera course on Creative Programming for Digital Media & Mobile Apps.

This is what the app does:

1. For periods where you are not moving much, the app will draw a circle. The bigger the circle, the longer the amount of time you were not moving much. You may have been sleeping quite deeply or were in REM sleep.

2. For periods where you are moving more, the app will draw a square. The bigger the square, the more you were moving. You may have been awake.

3. The screen is divided into 4 sections, each lasting 2 hours.

You can run the app yourself from here:

I've only tried it on an iPhone 4S, so can't guarantee it will work on other phones.

How to make it work on an iPhone 4S:

1. Go to Settings and in the General section, turn Auto-Lock to "Never".
2. Go to
3. Plug the phone in to charge.
4. Put the phone on your bed. (I put mine under my pillow.)
5. Press the screen, so the text goes away.
6. Leave the phone alone.
7. Sleep.
8. Wake up and touch the screen again.
9. The image that has been created will then open in a new tab in the web browser, so you can save it.

Note: Obviously just because you were not moving much doesn't mean you were definitely asleep, but you might have been asleep.

Future development:
Make it delete the picture when you wake up, so the picture only exists when you're sleeping.

From 16th July:

From 21st July:

From 22nd July:

11 vote(s)

Favorite of:


(none yet)

6 comment(s)

(no subject) +2
posted by Ty Ødin on July 21st, 2013 5:13 PM

Killer completion! Alas, I am vested with a android, and so am unable to make art while I sleep.

(no subject) +3
posted by Squirmelia on July 21st, 2013 11:38 PM


I'm going to try it out on an Android soon. It should just be a case of tweaking a few parameters (accelerometer values might be different, and screen size obviously is).

(no subject)
posted by Casimeria on July 23rd, 2013 10:12 AM


(no subject)
posted by Robert Warren on July 23rd, 2013 10:44 PM

First off, thank you for introducing me to Sleep Time. I am eager to try the app and see how it works. This is a super-cool completion! I look forward to an Android app, so that I may join the creative unconscious hivemind.

(no subject)
posted by Squirmelia on July 23rd, 2013 11:38 PM

I also tried Sleep Talk Recorder (iPhone, Android), which supposedly records you talking in your sleep. I only tried it once though, but no words were picked up that time.

I ended up with a million ideas for this task in the end, and for other sleep related apps, but as I was new to reading accelerometers and using Processing, etc, for now decided to just go with a simple version.

(no subject)
posted by Samantha on July 27th, 2013 3:13 AM

This is fascinating!