Getting Started

One day, it occurred to me that novolac oligomers might be able to form hydrophobic pockets. I wanted to find out whether such three-dimensional arrangements were actually possible, but I soon realized there was no easy way to do it. What I wanted, in simple terms, was a dynamic 3D molecular modeler that would let me reach in and move things around effortlessly with a mouse or touchscreen.

So I thought, "Fine. I’ll just build one myself." And that was how this project began.

At first, I figured it would be simple enough: grab an atom, move it around, and continuously solve and display the resulting structure using something like IK, or inverse kinematics. Easy, right?

Not quite.

As the molecules grew larger, everything started to stutter. Ring structures went wild. Collision detection froze the whole thing. It stubbornly refused to work the way I wanted it to.

In 3D action games and computer animation, a technique called XPBD, or Extended Position-Based Dynamics, is used to rapidly approximate motion such as hair blowing in the wind or the hem of a dancer’s costume rippling gracefully through the air. When I looked into it, I found that XPBD was actually a surprisingly good match for molecular models, so I decided to build it into ChemPose’s computational engine.

That means the molecules in ChemPose are calculated much like hair dancing in the wind or fabric flowing with a dancer’s movements.

What Building ChemPose Taught Me

Computational chemistry allows us to explore stable conformations with low potential energy in great detail. I had vaguely imagined molecules drifting through a sea of solvent while remaining in their lowest-energy conformations.

But that picture was far too static and far too simple.

Reach into ChemPose and touch a molecule, and it may swing its highly flexible functional groups around or make its skeleton tremble as if slightly uneasy. Of course, ChemPose is not intended to reproduce the actual thermal motion of molecules as it occurs in nature. But building and using it made me realize that molecules are not rigid, motionless objects. They are soft, flexible entities with many degrees of freedom.

That flexibility and motion are deeply connected to biological phenomena, the structures of living systems, the behavior of all kinds of chemical materials, and the design of pharmaceuticals.

I would be delighted if ChemPose could spark inspiration in people from many different fields, each in their own way.