Help with smoothly connecting two circles

You might be able to get some help by reading this thread: Shape generator help (Armin Hofmann's 'rubber band' shape generator)