Text this: Magnetic Modeling and Simulation for Computer Graphics.