swipe pattern StopIteration fixes

Signed-off-by: Paul Brook <paul@nowt.org>
Fix double buffering issues

Signed-off-by: Paul Brook <paul@nowt.org>

Conflicts:
	patterns/cubefill.py
	patterns/worm.py
Tweak worm pattern timing code.

Signed-off-by: Paul Brook <paul@nowt.org>
Tweak boxflip pattern timing code.

Signed-off-by: Paul Brook <paul@nowt.org>
Tweal fireworks pattern StopIteration logic

Signed-off-by: Paul Brook <paul@nowt.org>
Fix fills appearing from only 4 of 8 corners. Prevent fills coming from same corner twice
Merge pull request #20 from ultrafez/cubefill-rewrite-fixes

Cubefill tweaks
Add the start of a new GravityBlocks pattern. Only shows touched pixels in a random colour at the moment.

This pattern connected to a Node.js daemon which manages inputs from
multiple connected web clients. Currently, these web clients can touch
a square on an 8x8 grid, and these touches will be displayed on the
front face of the cube in a random colour.

Colour data is transmitted along with each touch, but it isn't used yet.

The pattern is currently single buffered, but conversion to double
buffered would be preferred.
Display incoming touches in the user's allocated colour
GravityBlocks server host:port should be passed in as an argument
Coloured dots on the front face of the cube leave trails going towards the back of the cube
Receive touch data aimed at different cube faces. Currently just displays the front face and ignored the rest
Show lights from all faces on cube. Currently just adds colours (need to make this smarter)
Prevent colour mixing from creating an RGB value that is out of bounds (greater than 255)
Improve comments
Bug fixes
temp
Fixed coordinate translation. All viewpoints work properly
Change definition of "bottom" view; remove debug print statements
Reimplement dot movement with a particle system. Add trails