the final product of my this project is to create an application to simulate the traffic condition on the road.. the user will sketch out the road using GUI done by the other programmer, my task is to come out with an algorithm to smoothen these road to ensure the vehicles are able to run on these road smoothly.. the road would have straight ones and curve/bends.. any guide to help jump start would be much appreciated..

thanks for any help render