6 Aug 2003 wiggly   » (Observer)

London Tube

Hmm, well I've been looking into how to make bezier curves to connect up the stations but there are a few things that I can't quite work out in my head yet. (quite possibly I just need to do some experiments but the weather over here is forcing me to visit the park)

So, one idea is to create a bezier between three stations, using the middle station as the control point. The problem I can see with this is that when this is done for all of the stations that the lines will probably not join up to form a smooth spline.

This leads me to think that maybe I need to connect every point in the line and use every station but the first and last as control points but figuring out an entire line in the london underground could be quite tricky programmaticaly. And I'm not even sure it would work either.

If anyone has experience with this kind of thing then I'd welcome any ideas. Maybe I need to do some more research into graphics (never done any) to find a different algorithm for creating smooth splines between points.


London is pretty much baking, lucky I don't mind the heat I guess.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!