Showing posts with label little computers. Show all posts
Showing posts with label little computers. Show all posts

Thursday, February 25, 2010

Little Computers: Fun With Drawing


This week for Little Computers, we were asked to use iPhone drawing techniques to create an app that utilized them in an interesting or animated way.  Given the weather, I decided to use precipitation for inspiration, and made an app based around rain.  

The app starts out (as above) with some clouds and a low lying body of water.  As you shake your iPhone, the accelerometer detects the movement, and the app generates water drops in response.  As the drops reach the body of water, it rises accordingly.

Once the body of water has risen to the edge of the clouds, it detects this, and holds off creating rain so it can have a moment to recede.  After that, you can start all over again!

The shapes in the application were rendered in Quartz, the 2D rendering engine native to Mac OS.

Saturday, January 30, 2010

Little Computers: Some Interesting Flags For gcc

This week in Little Computers, I was asked to put together a presentation on some "interesting flags" to gcc.  You can check out the pdf of the presentation below!

pdf: "Some Interesting Flags For gcc"