I would like to create a code which creates a sentence(s) and when you click on every word in the sentence this word is expanding organically (you know, bouncing) and creates a line (bézier curve or straight line) and a box with another sentence. Something similar to the Jared Tarbell's Levitated | Fungii Architecture | Macromedia Flash open source in mechanics but based on words.

Something like this:


Is it possible to do this in CSS (and JavaScript), and if so, where to start, maybe there is something similar I could based on. I have checked many experimental CSS tricks but unfortunately haven't found anything.