Monthly Archives: November 2011

Bus Route Video

After playing around with the code I now have a suitable video of the bus route map being created. Time and file size savings were made by experimenting with the processing MovieMaker class, and also using it more wisely. Firstly it was changed to only add a frame every other time a new stop is added – there are a lot of stops and it runs quite quickly so this is hardly noticed. I also played around with different MovieMaker settings, in the end I found that using ANIMATION (type) and HIGH (quality) gave the best compromise between file size and quality.

The video has a marker that shows where it is currently drawing, which is handy towards the end when the map gets quite crowded. Because of the way I added it in though, it meant that I was re-drawing the whole map each time up to the point of the current stop. This is a very uneconomical way of getting what I was trying to achieve, but as video frames are grabbed only at the end of each draw of the map it made no difference to the video size. What it meant was that it took hours to create. Since making the video I’ve looked more into using buffered windows. A far better way to make the video would have been to build up the map on a buffer and then on each call of draw: clear the screen, add the buffer image, and then place the current position circle. The end result would have been the same though:

Advertisements

TIMEMAPS

An interesting map made by Dutch design school graduate Vincent Meertens. A map of the Netherlands based on how long it takes to get from one place to another by train. The map will change shape and size depending on where you are travelling from, and also on the time of day, due to the number of available trains.

The web app didn’t seem that easy to use, not entirely due to my not knowing any Dutch, but it’s a nice idea. When travelling somewhere physical distances can seem less important than the time it will take to get there.

Have a play here – timemaps.nl